diff options
author | Timothy Arceri <[email protected]> | 2019-03-31 20:30:12 +1100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-04-12 09:02:59 +0200 |
commit | d62d434fe9205915649ed52d53c88df0e16a0fa7 (patch) | |
tree | d29c5af7674d606ed0643153ec8288c9d54fb6dc /src/mesa/state_tracker | |
parent | 55fb93b586896cc34b168a83fc6c4a3825977a76 (diff) |
ac/nir_to_llvm: add image bindless support
With this all piglit bindless image tests pass on radeonsi.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index bb693dc70f7..21fba1c2998 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -410,6 +410,8 @@ st_glsl_to_nir(struct st_context *st, struct gl_program *prog, NIR_PASS_V(nir, nir_lower_alu_to_scalar); } + /* before buffers and vars_to_ssa */ + NIR_PASS_V(nir, gl_nir_lower_bindless_images); st_nir_opts(nir, is_scalar); NIR_PASS_V(nir, gl_nir_lower_buffers, shader_program); |