From 1d5b06664fdd31a9447a1d10ec0615245aa46563 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 10 Nov 2013 19:13:54 +1300 Subject: glsl: add new expression types for interpolateAt* Will be used to implement interpolateAt*() from ARB_gpu_shader5 Signed-off-by: Chris Forbes Reviewed-by: Ilia Mirkin --- src/glsl/ir_constant_expression.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/glsl/ir_constant_expression.cpp') diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp index 7f83eb134fa..5570ed46f8a 100644 --- a/src/glsl/ir_constant_expression.cpp +++ b/src/glsl/ir_constant_expression.cpp @@ -510,6 +510,8 @@ ir_expression::constant_expression_value(struct hash_table *variable_context) case ir_binop_lshift: case ir_binop_rshift: case ir_binop_ldexp: + case ir_binop_interpolate_at_offset: + case ir_binop_interpolate_at_sample: case ir_binop_vector_extract: case ir_triop_csel: case ir_triop_bitfield_extract: -- cgit v1.2.3