st/nir/radeonsi: move nir_lower_uniforms_to_ubo() to the state tracker
This will only ever be used by gallium drivers so it probably doesn't belong in the nir toolkit. Also we want to pass it some non NIR things in the following patch. To avoid regressions we wrap the lowering calls that have been moved to st_glsl_to_nir with a quick hack so that they are only called for radeonsi, we will replace the hack with a check for uniform packing in a following patch. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -2712,7 +2712,6 @@ void nir_lower_bitmap(nir_shader *shader, const nir_lower_bitmap_options *option
|
||||
bool nir_lower_atomics(nir_shader *shader,
|
||||
const struct gl_shader_program *shader_program);
|
||||
bool nir_lower_atomics_to_ssbo(nir_shader *shader, unsigned ssbo_offset);
|
||||
bool nir_lower_uniforms_to_ubo(nir_shader *shader);
|
||||
bool nir_lower_to_source_mods(nir_shader *shader);
|
||||
|
||||
bool nir_lower_gs_intrinsics(nir_shader *shader);
|
||||
|
Reference in New Issue
Block a user