Skip to content

Commit

Permalink
DXIL Debugger skip ignored PSInputs when calculating derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorro666 committed Nov 5, 2024
1 parent 0e9322e commit a888296
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions renderdoc/driver/shaders/dxil/dxil_debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,9 @@ void ApplyAllDerivatives(GlobalState &global, rdcarray<ThreadState> &quad, int d

for(const PSInputData &psInput : psInputs)
{
if(!psInput.included)
continue;

const int input = psInput.input;
const int numWords = psInput.numwords;
if(destIdx == 0)
Expand All @@ -1176,6 +1179,8 @@ void ApplyAllDerivatives(GlobalState &global, rdcarray<ThreadState> &quad, int d

for(const PSInputData &psInput : psInputs)
{
if(!psInput.included)
continue;
const int input = psInput.input;
const int numWords = psInput.numwords;
if(destIdx == 0)
Expand All @@ -1192,6 +1197,8 @@ void ApplyAllDerivatives(GlobalState &global, rdcarray<ThreadState> &quad, int d

for(const PSInputData &psInput : psInputs)
{
if(!psInput.included)
continue;
const int input = psInput.input;
const int numWords = psInput.numwords;

Expand All @@ -1207,6 +1214,8 @@ void ApplyAllDerivatives(GlobalState &global, rdcarray<ThreadState> &quad, int d

for(const PSInputData &psInput : psInputs)
{
if(!psInput.included)
continue;
const int input = psInput.input;
const int numWords = psInput.numwords;

Expand Down

0 comments on commit a888296

Please sign in to comment.