mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader: Trace SM1 predefined registers.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b20e182da1
commit
0997d65589
@ -1073,7 +1073,13 @@ static void allocate_semantic_register(struct hlsl_ctx *ctx, struct hlsl_ir_var
|
||||
return;
|
||||
}
|
||||
|
||||
if (!sm1_register_from_semantic(ctx, &var->semantic, output, &type, ®))
|
||||
if (sm1_register_from_semantic(ctx, &var->semantic, output, &type, ®))
|
||||
{
|
||||
TRACE("%s %s semantic %s[%u] matches predefined register %#x[%u].\n",
|
||||
ctx->profile->type == VKD3D_SHADER_TYPE_PIXEL ? "Pixel" : "Vertex", output ? "output" : "input",
|
||||
var->semantic.name, var->semantic.index, type, reg);
|
||||
}
|
||||
else
|
||||
{
|
||||
var->reg.allocated = true;
|
||||
var->reg.id = (*counter)++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user