diff options
author | Dave Airlie <[email protected]> | 2015-07-21 14:22:11 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-07-24 10:25:08 +1000 |
commit | 80511d176a49e754a18ce585bab413db7af63bf7 (patch) | |
tree | 1fd0c8bb0ce74c687b003cd3a0ff5477196f7249 /src/glsl/nir/glsl_to_nir.cpp | |
parent | 17f71483698a4e134a0c85ef0aa3da80fdfdb180 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glsl/nir/glsl_to_nir.cpp')
-rw-r--r-- | src/glsl/nir/glsl_to_nir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |