summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2014-08-14 20:38:33 +1200
committerChris Forbes <chrisf@ijw.co.nz>2014-08-15 18:04:03 +1200
commit587e6e78984cd7490ac68b83d0b751bf23256595 (patch)
tree60db3821efbb681e9d6d4219e7bf216f9b0505a0 /src
parenteba0c54f6229868339ec80f799a6b7b9fb6a05ec (diff)
i965/vec4: Assert that fine/coarse derivative ops don't appear
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index ce64b301eeb..b17ef34f4b8 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@ -1350,7 +1350,11 @@ vec4_visitor::visit(ir_expression *ir)
break;
case ir_unop_dFdx:
+ case ir_unop_dFdx_coarse:
+ case ir_unop_dFdx_fine:
case ir_unop_dFdy:
+ case ir_unop_dFdy_coarse:
+ case ir_unop_dFdy_fine:
unreachable("derivatives not valid in vertex shader");
case ir_unop_bitfield_reverse: