From bcea3e00f1693b25ea11e622baff98a1fc0df61e Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 19 Jan 2014 16:41:52 -0800 Subject: [PATCH] Point size output from VS. --- src/xenia/gpu/d3d11/d3d11_shader.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xenia/gpu/d3d11/d3d11_shader.cc b/src/xenia/gpu/d3d11/d3d11_shader.cc index 557d00a7f..3b6598a69 100644 --- a/src/xenia/gpu/d3d11/d3d11_shader.cc +++ b/src/xenia/gpu/d3d11/d3d11_shader.cc @@ -425,6 +425,8 @@ const char* D3D11VertexShader::Translate(xe_gpu_program_cntl_t* program_cntl) { " float4 o[%d] : XE_O;\n", MAX_INTERPOLATORS); } + output->append( + " float4 oPointSize : PSIZE;\n"); output->append( "};\n"); @@ -684,7 +686,7 @@ void AppendDestRegName( ctx.output->append("o.oPos"); break; case 63: - ctx.output->append("o.point_size"); + ctx.output->append("o.oPointSize"); break; default: // Varying.