summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-16 08:57:10 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-16 09:16:25 +0100
commitc135317de106c59b0c326395ce15b901f2d4595d (patch)
tree078b4d8296ed4ef83d4d1ef12dc8a1cadf1ac7c2 /src/video_core/command_processor.cpp
parentRemove unnecessary cast (diff)
downloadyuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar
yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.gz
yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.bz2
yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.lz
yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.xz
yuzu-c135317de106c59b0c326395ce15b901f2d4595d.tar.zst
yuzu-c135317de106c59b0c326395ce15b901f2d4595d.zip
Diffstat (limited to 'src/video_core/command_processor.cpp')
-rw-r--r--src/video_core/command_processor.cpp4
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) {