diff options
author | Jason Ekstrand <[email protected]> | 2019-03-09 10:12:46 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-03-15 01:02:19 +0000 |
commit | 810dde2a6b8179780e145e5f30142ca1deed6e67 (patch) | |
tree | a9bb2b511ec3ac6c47a0346ca5e5a4f2bb074754 /src/compiler/glsl/gl_nir.h | |
parent | 77e5ec394e3eb63f8e92cd020e07f6fecd54f263 (diff) |
glsl/nir: Add a pass to lower UBO and SSBO access
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/glsl/gl_nir.h')
-rw-r--r-- | src/compiler/glsl/gl_nir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/glsl/gl_nir.h b/src/compiler/glsl/gl_nir.h index 59d5f65e659..dabfc328906 100644 --- a/src/compiler/glsl/gl_nir.h +++ b/src/compiler/glsl/gl_nir.h @@ -40,6 +40,9 @@ bool gl_nir_lower_samplers(nir_shader *shader, bool gl_nir_lower_samplers_as_deref(nir_shader *shader, const struct gl_shader_program *shader_program); +bool gl_nir_lower_buffers(nir_shader *shader, + const struct gl_shader_program *shader_program); + #ifdef __cplusplus } #endif |