diff options
author | Chris Forbes <[email protected]> | 2014-08-14 20:38:33 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-08-15 18:04:03 +1200 |
commit | 587e6e78984cd7490ac68b83d0b751bf23256595 (patch) | |
tree | 60db3821efbb681e9d6d4219e7bf216f9b0505a0 /src/mesa | |
parent | eba0c54f6229868339ec80f799a6b7b9fb6a05ec (diff) |
i965/vec4: Assert that fine/coarse derivative ops don't appear
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 4 |
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: |