i965: Call nir_lower_samplers for ARB programs.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Feb 2019 03:15:46 +0000 (19:15 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Feb 2019 05:34:30 +0000 (21:34 -0800)
commit243c11dc1687b1f3adf0c96dd174803885704c48
tree78f44b278c2e89ec4a583cd63c96a304866b9e1f
parent529a0711c1d07c109f83286583ed359a890f5a75
i965: Call nir_lower_samplers for ARB programs.

An upcoming patch will start building derefs in prog_to_nir, at which
point we'll need to lower them to indexes.

This gets both GLSL and non-GLSL shaders using the same paths.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_program.c