diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-16 20:45:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-16 20:45:57 -0800 |
| commit | 2ca548bbe52bb72cdd269893571b92ad185107a5 (patch) | |
| tree | 3200dcfb8b0f3afe4010a141f33f7693b9f7c938 /src/video_core/command_processor.cpp | |
| parent | d30d6f81aa2ef14a690d483c5b7e7487c71d1971 (diff) | |
| parent | c135317de106c59b0c326395ce15b901f2d4595d (diff) | |
Merge pull request #2335 from yuriks/shader-refactor
Misc. Shader refactors
Diffstat (limited to 'src/video_core/command_processor.cpp')
| -rw-r--r-- | src/video_core/command_processor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 8a5d8533c..04de3e6b1 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -138,7 +138,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) { if (immediate_attribute_id >= regs.vs.num_input_attributes + 1) { immediate_attribute_id = 0; - Shader::UnitState<false> shader_unit; + Shader::UnitState shader_unit; g_state.vs.Setup(); // Send to vertex shader @@ -237,7 +237,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) { unsigned int vertex_cache_pos = 0; vertex_cache_ids.fill(-1); - Shader::UnitState<false> shader_unit; + Shader::UnitState shader_unit; g_state.vs.Setup(); for (unsigned int index = 0; index < regs.num_vertices; ++index) { |
