nv2a/psh: Remove unused arguments in string format

This commit is contained in:
Matt Borgerson 2025-01-07 00:49:42 -07:00
parent d76898f63b
commit 6c389194b6

View File

@ -967,8 +967,7 @@ static MString* psh_convert(struct PixelShader *ps)
i, ps->input_tex[i], ps->input_tex[i]);
}
mstring_append_fmt(vars, "dsdt%d = bumpMat%d * dsdt%d;\n",
i, i, i, i);
mstring_append_fmt(vars, "dsdt%d = bumpMat%d * dsdt%d;\n", i, i, i);
if (ps->state.dim_tex[i] == 2) {
mstring_append_fmt(vars, "vec4 t%d = texture(texSamp%d, %s(pT%d.xy + dsdt%d));\n",
@ -995,7 +994,7 @@ static MString* psh_convert(struct PixelShader *ps)
}
mstring_append_fmt(vars, "dsdtl%d.st = bumpMat%d * dsdtl%d.st;\n",
i, i, i, i);
i, i, i);
if (ps->state.dim_tex[i] == 2) {
mstring_append_fmt(vars, "vec4 t%d = texture(texSamp%d, %s(pT%d.xy + dsdtl%d.st));\n",