diff options
author | Francisco Jerez <currojerez@riseup.net> | 2015-06-28 21:15:28 +0300 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2015-07-29 14:12:50 +0300 |
commit | b5f1a48e234d47b24df38cb562cffb8941d43795 (patch) | |
tree | acae972bb6b93e4624e74778e2e8bd3c7ba3bd34 /src/getopt | |
parent | 3e5a90792d14aeb599dd236f830e6e344b35c905 (diff) |
i965/fs: Execute nir_setup_uniforms, _inputs and _outputs unconditionally.
Images take up zero uniform slots in the nir_shader::num_uniforms
calculation, but nir_setup_uniforms needs to be executed even if the
program has no non-image uniforms so the driver-specific image
parameters are uploaded. nir_setup_uniforms is a no-op if there are
really no uniforms, so checking the num_uniform count is useless in
any case.
The nir_setup_inputs and _outputs changes shouldn't lead to any
functional change, they are just meant to preserve the symmetry
between them and nir_setup_uniforms.
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions