diff options
Diffstat (limited to 'src/video_core/vertex_shader.cpp')
| -rw-r--r-- | src/video_core/vertex_shader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/vertex_shader.cpp b/src/video_core/vertex_shader.cpp index 0dff11a0f..477e78cfe 100644 --- a/src/video_core/vertex_shader.cpp +++ b/src/video_core/vertex_shader.cpp | |||
| @@ -206,7 +206,7 @@ static void ProcessShaderCode(VertexShaderState& state) { | |||
| 206 | case Instruction::OpCode::CALL: | 206 | case Instruction::OpCode::CALL: |
| 207 | increment_pc = false; | 207 | increment_pc = false; |
| 208 | 208 | ||
| 209 | _dbg_assert_(GPU, state.call_stack_pointer - state.call_stack < sizeof(state.call_stack)); | 209 | _dbg_assert_(HW_GPU, state.call_stack_pointer - state.call_stack < sizeof(state.call_stack)); |
| 210 | 210 | ||
| 211 | *++state.call_stack_pointer = state.program_counter - shader_memory; | 211 | *++state.call_stack_pointer = state.program_counter - shader_memory; |
| 212 | // TODO: Does this offset refer to the beginning of shader memory? | 212 | // TODO: Does this offset refer to the beginning of shader memory? |
| @@ -218,7 +218,7 @@ static void ProcessShaderCode(VertexShaderState& state) { | |||
| 218 | break; | 218 | break; |
| 219 | 219 | ||
| 220 | default: | 220 | default: |
| 221 | ERROR_LOG(GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x", | 221 | LOG_ERROR(HW_GPU, "Unhandled instruction: 0x%02x (%s): 0x%08x", |
| 222 | (int)instr.opcode.Value(), instr.GetOpCodeName().c_str(), instr.hex); | 222 | (int)instr.opcode.Value(), instr.GetOpCodeName().c_str(), instr.hex); |
| 223 | break; | 223 | break; |
| 224 | } | 224 | } |
| @@ -285,7 +285,7 @@ OutputVertex RunShader(const InputVertex& input, int num_attributes) | |||
| 285 | state.debug.max_opdesc_id, registers.vs_main_offset, | 285 | state.debug.max_opdesc_id, registers.vs_main_offset, |
| 286 | registers.vs_output_attributes); | 286 | registers.vs_output_attributes); |
| 287 | 287 | ||
| 288 | DEBUG_LOG(GPU, "Output vertex: pos (%.2f, %.2f, %.2f, %.2f), col(%.2f, %.2f, %.2f, %.2f), tc0(%.2f, %.2f)", | 288 | LOG_TRACE(Render_Software, "Output vertex: pos (%.2f, %.2f, %.2f, %.2f), col(%.2f, %.2f, %.2f, %.2f), tc0(%.2f, %.2f)", |
| 289 | ret.pos.x.ToFloat32(), ret.pos.y.ToFloat32(), ret.pos.z.ToFloat32(), ret.pos.w.ToFloat32(), | 289 | ret.pos.x.ToFloat32(), ret.pos.y.ToFloat32(), ret.pos.z.ToFloat32(), ret.pos.w.ToFloat32(), |
| 290 | ret.color.x.ToFloat32(), ret.color.y.ToFloat32(), ret.color.z.ToFloat32(), ret.color.w.ToFloat32(), | 290 | ret.color.x.ToFloat32(), ret.color.y.ToFloat32(), ret.color.z.ToFloat32(), ret.color.w.ToFloat32(), |
| 291 | ret.tc0.u().ToFloat32(), ret.tc0.v().ToFloat32()); | 291 | ret.tc0.u().ToFloat32(), ret.tc0.v().ToFloat32()); |