mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 18:00:10 +01:00
HACK/i965: Disable assign_var_locations on uniforms
This conflicts with the way we're doing uniforms in Vulkan.
This commit is contained in:
parent
cd75ff5d17
commit
42b4417031
1 changed files with 3 additions and 3 deletions
|
|
@ -298,9 +298,9 @@ brw_lower_nir(nir_shader *nir,
|
|||
|
||||
OPT_V(brw_nir_lower_inputs, devinfo, is_scalar);
|
||||
OPT_V(brw_nir_lower_outputs, is_scalar);
|
||||
nir_assign_var_locations(&nir->uniforms,
|
||||
&nir->num_uniforms,
|
||||
is_scalar ? type_size_scalar : type_size_vec4);
|
||||
//nir_assign_var_locations(&nir->uniforms,
|
||||
// &nir->num_uniforms,
|
||||
// is_scalar ? type_size_scalar : type_size_vec4);
|
||||
OPT_V(nir_lower_io, nir_var_all, is_scalar ? type_size_scalar : type_size_vec4);
|
||||
|
||||
if (shader_prog) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue