Commit 0909df67 authored by Ivan Gyurdiev's avatar Ivan Gyurdiev Committed by Alexandre Julliard

wined3d: Rename vertex shader constants.

From const%lu to C%lu for consistency (to match pshaders).
parent 79029c10
......@@ -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)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment