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
|
@ -941,9 +941,6 @@ static void shader_glsl_gen_modifier (
|
||||||
char *out_str) {
|
char *out_str) {
|
||||||
|
|
||||||
out_str[0] = 0;
|
out_str[0] = 0;
|
||||||
|
|
||||||
if (instr == WINED3DSIO_TEXKILL)
|
|
||||||
return;
|
|
||||||
|
|
||||||
switch (instr & WINED3DSP_SRCMOD_MASK) {
|
switch (instr & WINED3DSP_SRCMOD_MASK) {
|
||||||
case WINED3DSPSM_DZ: /* Need to handle this in the instructions itself (texld & texcrd). */
|
case WINED3DSPSM_DZ: /* Need to handle this in the instructions itself (texld & texcrd). */
|
||||||
|
|
Loading…
Reference in New Issue