summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/glsl/ir_set_program_inouts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/glsl/ir_set_program_inouts.cpp')
-rw-r--r--dist/Mesa/src/glsl/ir_set_program_inouts.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/dist/Mesa/src/glsl/ir_set_program_inouts.cpp b/dist/Mesa/src/glsl/ir_set_program_inouts.cpp
index 97ead750a..5163eb215 100644
--- a/dist/Mesa/src/glsl/ir_set_program_inouts.cpp
+++ b/dist/Mesa/src/glsl/ir_set_program_inouts.cpp
@@ -306,9 +306,7 @@ ir_visitor_status
ir_set_program_inouts_visitor::visit_enter(ir_expression *ir)
{
if (this->shader_stage == MESA_SHADER_FRAGMENT &&
- (ir->operation == ir_unop_dFdy ||
- ir->operation == ir_unop_dFdy_coarse ||
- ir->operation == ir_unop_dFdy_fine)) {
+ ir->operation == ir_unop_dFdy) {
gl_fragment_program *fprog = (gl_fragment_program *) prog;
fprog->UsesDFdy = true;
}