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>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user