From 80511d176a49e754a18ce585bab413db7af63bf7 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 21 Jul 2015 14:22:11 +1000 Subject: i965: add support for ARB_shader_subroutine This just adds some missing pieces to nir/i965, it is lightly tested on my Haswell. Reviewed-by: Kenneth Graunke Signed-off-by: Dave Airlie --- src/glsl/nir/glsl_to_nir.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/nir/glsl_to_nir.cpp') diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp index 66430f39995..77327b6c74f 100644 --- a/src/glsl/nir/glsl_to_nir.cpp +++ b/src/glsl/nir/glsl_to_nir.cpp @@ -1171,6 +1171,7 @@ nir_visitor::visit(ir_expression *ir) case ir_unop_bitcast_f2i: case ir_unop_bitcast_u2f: case ir_unop_bitcast_f2u: + case ir_unop_subroutine_to_int: /* no-op */ emit(nir_op_imov, dest_size, srcs); break; -- cgit v1.2.3