summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_nir.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-04-07 17:13:45 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-04-11 11:39:48 -0700
commitb3e286c4575bf6af343c1a03471fd876cdfb5c43 (patch)
tree4934c1751fae5ca735d359eeaf573a749c5b784e /src/mesa/drivers/dri/i965/brw_nir.c
parentf41f07f685e7f585e433b5fd1fadf602e74f0f1e (diff)
downloadexternal_mesa3d-b3e286c4575bf6af343c1a03471fd876cdfb5c43.zip
external_mesa3d-b3e286c4575bf6af343c1a03471fd876cdfb5c43.tar.gz
external_mesa3d-b3e286c4575bf6af343c1a03471fd876cdfb5c43.tar.bz2
nir: Store num_direct_uniforms in the nir_shader.
Storing this here is pretty sketchy - I don't know if any driver other than i965 will want to use it. But this will make it a lot easier to generate NIR code at link time. We'll probably rework it anyway. (Ian suggested making nir_assign_var_locations_scalar_direct_first simply modify the nir_shader's fields, rather than passing pointers to them. If this stays long term, we should do that. But Jason and I suspect we'll be reworking this area again in the near future.) Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_nir.c')
0 files changed, 0 insertions, 0 deletions