wined3d: Remove some code that doesn't make a whole lot of sense.
The "instr" parameter to shader_glsl_gen_modifier() is actually a source parameter, so comparing against WINED3DSIO_TEXKILL is just silly.
This commit is contained in:
parent
4902dd9801
commit
c697bdc3a1
|
@ -942,9 +942,6 @@ static void shader_glsl_gen_modifier (
|
|||
|
||||
out_str[0] = 0;
|
||||
|
||||
if (instr == WINED3DSIO_TEXKILL)
|
||||
return;
|
||||
|
||||
switch (instr & WINED3DSP_SRCMOD_MASK) {
|
||||
case WINED3DSPSM_DZ: /* Need to handle this in the instructions itself (texld & texcrd). */
|
||||
case WINED3DSPSM_DW:
|
||||
|
|
Loading…
Reference in New Issue