diff options
author | Chris Forbes <[email protected]> | 2013-11-10 19:13:54 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-07-12 11:20:00 +1200 |
commit | 1d5b06664fdd31a9447a1d10ec0615245aa46563 (patch) | |
tree | ad81df42b513412a254283f18df9c065d10f4e6b /src/mesa/program | |
parent | 8b7a323596992a2a2127f40d2d4cae1e9fb0a94d (diff) |
glsl: add new expression types for interpolateAt*
Will be used to implement interpolateAt*() from ARB_gpu_shader5
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 1109051e986..8aefcf7e2b3 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1456,6 +1456,9 @@ ir_to_mesa_visitor::visit(ir_expression *ir) case ir_binop_carry: case ir_binop_borrow: case ir_binop_imul_high: + case ir_unop_interpolate_at_centroid: + case ir_binop_interpolate_at_offset: + case ir_binop_interpolate_at_sample: assert(!"not supported"); break; |