[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix uninitialized shiftAll*Bindings in Compiler::Options
Browse files Browse the repository at this point in the history
  • Loading branch information
Minmin Gong committed Aug 9, 2020
1 parent 557f539 commit 513d990
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Include/ShaderConductor/ShaderConductor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ namespace ShaderConductor
int optimizationLevel = 3; // 0 to 3, no optimization to most optimization
ShaderModel shaderModel = {6, 0};

int shiftAllTexturesBindings;
int shiftAllSamplersBindings;
int shiftAllCBuffersBindings;
int shiftAllUABuffersBindings;
int shiftAllTexturesBindings = 0;
int shiftAllSamplersBindings = 0;
int shiftAllCBuffersBindings = 0;
int shiftAllUABuffersBindings = 0;
};

struct TargetDesc
Expand Down

0 comments on commit 513d990

Please sign in to comment.