Skip to content
Snippets Groups Projects
Commit 2621fc95 authored by Francisco Casas's avatar Francisco Casas Committed by Alexandre Julliard
Browse files

vkd3d-shader/ir: Add missing src swizzle in vsir_program_lower_texkills().

parent 808ec288
No related branches found
No related tags found
1 merge request!744vkd3d-shader/hlsl: Improve SM1 support for non-float operations, part 5.
......@@ -127,6 +127,7 @@ static enum vkd3d_result vsir_program_lower_texkills(struct vsir_program *progra
ins->dst[0].write_mask = VKD3DSP_WRITEMASK_ALL;
ins->src[0].reg = texkill_ins->dst[0].reg;
ins->src[0].swizzle = VKD3D_SHADER_NO_SWIZZLE;
vsir_register_init(&ins->src[1].reg, VKD3DSPR_IMMCONST, VKD3D_DATA_FLOAT, 0);
ins->src[1].reg.dimension = VSIR_DIMENSION_VEC4;
ins->src[1].reg.u.immconst_f32[0] = 0.0f;
......
......@@ -22,7 +22,7 @@ todo(glsl) draw quad
probe all rgba (9, 0, 7, 6)
uniform 0 float4 3 -8 3 0
todo(glsl) draw quad
todo(sm<4) probe all rgba (9, 0, 7, 6)
probe all rgba (9, 0, 7, 6)
uniform 0 float4 3 3 3 -1
todo(glsl) draw quad
todo(sm<4) probe all rgba (9, 0, 7, 6)
probe all rgba (9, 0, 7, 6)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment