Skip to content

Commit

Permalink
[dxso] Add explicit dcls to oPtrs list
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Ashton committed Apr 15, 2019
1 parent 8773758 commit 2783306
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dxso/dxso_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1359,6 +1359,8 @@ namespace dxvk {
else {
m_oDecls[outputSlot = allocateSlot(false, id, semantic)] = decl;

m_oPtrs[outputSlot] = ptrId;

if (decl.semantic.usage == DxsoUsage::Position)
builtIn = spv::BuiltInPosition;
else if (decl.semantic.usage == DxsoUsage::PointSize)
Expand Down

0 comments on commit 2783306

Please sign in to comment.