glsl/nir: Add a pass to lower UBO and SSBO access

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
Jason Ekstrand
2019-03-09 10:12:46 -06:00
committed by Jason Ekstrand
parent 77e5ec394e
commit 810dde2a6b
4 changed files with 305 additions and 0 deletions

View File

@@ -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