diff options
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_special.cpp')
| -rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_special.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp index 072a3b1bd..9e7eb3cb1 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp | |||
| @@ -131,7 +131,7 @@ void EmitEmitVertex(EmitContext& ctx, const IR::Value& stream) { | |||
| 131 | if (stream.IsImmediate()) { | 131 | if (stream.IsImmediate()) { |
| 132 | ctx.OpEmitStreamVertex(ctx.Def(stream)); | 132 | ctx.OpEmitStreamVertex(ctx.Def(stream)); |
| 133 | } else { | 133 | } else { |
| 134 | // LOG_WARNING(..., "EmitVertex's stream is not constant"); | 134 | LOG_WARNING(Shader_SPIRV, "Stream is not immediate"); |
| 135 | ctx.OpEmitStreamVertex(ctx.u32_zero_value); | 135 | ctx.OpEmitStreamVertex(ctx.u32_zero_value); |
| 136 | } | 136 | } |
| 137 | // Restore fixed pipeline point size after emitting the vertex | 137 | // Restore fixed pipeline point size after emitting the vertex |
| @@ -142,7 +142,7 @@ void EmitEndPrimitive(EmitContext& ctx, const IR::Value& stream) { | |||
| 142 | if (stream.IsImmediate()) { | 142 | if (stream.IsImmediate()) { |
| 143 | ctx.OpEndStreamPrimitive(ctx.Def(stream)); | 143 | ctx.OpEndStreamPrimitive(ctx.Def(stream)); |
| 144 | } else { | 144 | } else { |
| 145 | // LOG_WARNING(..., "EndPrimitive's stream is not constant"); | 145 | LOG_WARNING(Shader_SPIRV, "Stream is not immediate"); |
| 146 | ctx.OpEndStreamPrimitive(ctx.u32_zero_value); | 146 | ctx.OpEndStreamPrimitive(ctx.u32_zero_value); |
| 147 | } | 147 | } |
| 148 | } | 148 | } |