mirror of
https://github.com/reactos/wine.git
synced 2024-11-30 07:00:30 +00:00
wined3d: Pass the correct mask to shader_glsl_add_src_param() in shader_glsl_rep().
This commit is contained in:
parent
2cb49c67db
commit
9f22df26ef
@ -1424,8 +1424,8 @@ void shader_glsl_rep(SHADER_OPCODE_ARG* arg) {
|
||||
char src0_reg[50];
|
||||
char src0_mask[6];
|
||||
|
||||
shader_glsl_add_src_param_old(arg, arg->src[0], arg->src_addr[0], src0_reg, src0_mask, src0_str);
|
||||
shader_addline(arg->buffer, "for (tmpInt = 0; tmpInt < %s.x; tmpInt++) {\n", src0_reg);
|
||||
shader_glsl_add_src_param(arg, arg->src[0], arg->src_addr[0], WINED3DSP_WRITEMASK_0, src0_reg, src0_mask, src0_str);
|
||||
shader_addline(arg->buffer, "for (tmpInt = 0; tmpInt < %s; tmpInt++) {\n", src0_str);
|
||||
}
|
||||
|
||||
void shader_glsl_if(SHADER_OPCODE_ARG* arg) {
|
||||
|
Loading…
Reference in New Issue
Block a user