From c15447d4b070060c65aa3c833aa8b6d06f62d80d Mon Sep 17 00:00:00 2001 From: Jason Green Date: Tue, 9 May 2006 22:31:44 -0400 Subject: [PATCH] wined3d: Rename the TEMP variables in vertexshader.c to R from T for consistency. --- dlls/wined3d/vertexshader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c index a0550958371..1b92652fb44 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -736,7 +736,7 @@ inline static void vshader_program_add_param(IWineD3DVertexShaderImpl *This, con switch (regtype) { case D3DSPR_TEMP: - sprintf(tmpReg, "T%lu", reg); + sprintf(tmpReg, "R%lu", reg); strcat(hwLine, tmpReg); break; case D3DSPR_INPUT: @@ -1175,7 +1175,7 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS /* Pre-declare registers */ for (i = 0; i < This->baseShader.limits.temporary; i++) { if (tempsUsed & (1 << i)) - shader_addline(&buffer, "TEMP T%lu;\n", i); + shader_addline(&buffer, "TEMP R%lu;\n", i); } for (i = 0; i < This->baseShader.limits.address; i++) {