mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
iris: maybe slightly less boats uniforms
This commit is contained in:
parent
a6dd9caf0d
commit
201a4d923c
1 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,9 @@ iris_create_shader_state(struct pipe_context *ctx,
|
|||
type_size_scalar_bytes);
|
||||
nir_lower_io(nir, nir_var_uniform, type_size_scalar_bytes, 0);
|
||||
#endif
|
||||
nir_foreach_variable(var, &nir->uniforms) {
|
||||
var->data.driver_location *= 4;
|
||||
}
|
||||
nir_lower_io(nir, nir_var_uniform, type_size_vec4_bytes, 0);
|
||||
|
||||
ish->program_id = get_new_program_id(screen);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue