Skip to content

Commit

Permalink
[D3D12] DXBC: Don't skip invariant driver optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
Triang3l committed Dec 4, 2018
1 parent 9e6df2e commit 132af3e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xenia/gpu/dxbc_shader_translator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13819,7 +13819,6 @@ void DxbcShaderTranslator::WriteShaderCode() {
// invariance (needed even in pixel shaders for oDepth invariance).
shader_object_.push_back(
ENCODE_D3D10_SB_OPCODE_TYPE(D3D10_SB_OPCODE_DCL_GLOBAL_FLAGS) |
D3D11_1_SB_GLOBAL_FLAG_SKIP_OPTIMIZATION |
ENCODE_D3D10_SB_TOKENIZED_INSTRUCTION_LENGTH(1));

// Constant buffers, from most frequenly accessed to least frequently accessed
Expand Down

0 comments on commit 132af3e

Please sign in to comment.