mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 00:00:22 +01:00
HACK: Don't call nir_setup_uniforms
We're doing our own uniform setup and we don't need to call into the entire GL stack to mess with things.
This commit is contained in:
parent
33cabeab01
commit
efc2cce01f
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ fs_visitor::emit_nir_code()
|
|||
*/
|
||||
nir_setup_inputs(nir);
|
||||
nir_setup_outputs(nir);
|
||||
nir_setup_uniforms(nir);
|
||||
uniforms = nir->num_uniforms;
|
||||
//nir_setup_uniforms(nir);
|
||||
nir_emit_system_values(nir);
|
||||
|
||||
/* get the main function and emit it */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue