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:
Jason Ekstrand 2015-08-26 17:55:45 -07:00
parent 33cabeab01
commit efc2cce01f

View file

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