From 0909df6711d4e39d496dd302f8bbbe209eaa1d99 Mon Sep 17 00:00:00 2001 From: Ivan Gyurdiev Date: Tue, 6 Jun 2006 02:41:46 -0400 Subject: [PATCH] wined3d: Rename vertex shader constants. From const%lu to C%lu for consistency (to match pshaders). --- 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 0c525a6d01..09d1f788cc 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -671,7 +671,7 @@ inline static void vshader_program_add_param(IWineD3DVertexShaderImpl *This, con if (param & D3DVS_ADDRMODE_RELATIVE) { FIXME("Relative addressing not expected for a named constant %lu\n", reg); } - sprintf(tmpReg, "const%lu", reg); + sprintf(tmpReg, "C%lu", reg); } else { sprintf(tmpReg, "C[%s%lu]", (param & D3DVS_ADDRMODE_RELATIVE) ? "A0.x + " : "", reg); } @@ -986,7 +986,7 @@ void vshader_hw_def(SHADER_OPCODE_ARG* arg) { DWORD reg = arg->dst; shader_addline(buffer, - "PARAM const%lu = { %f, %f, %f, %f };\n", reg & 0xFF, + "PARAM C%lu = { %f, %f, %f, %f };\n", reg & 0xFF, *((const float *)(arg->src + 0)), *((const float *)(arg->src + 1)), *((const float *)(arg->src + 2)), -- 2.32.0.93.g670b81a890