diff options
author | Dave Airlie <[email protected]> | 2018-03-19 04:27:49 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-03-19 19:29:40 +0000 |
commit | e8d9b7ab02fc56cadffc7a2bb993b39cccde2b66 (patch) | |
tree | 8f2c34495e100ae1691708f21e59688667937d4b /CleanSpec.mk | |
parent | 032014ac01a2dfd6c8e689b3d59989eb6fa2396b (diff) |
radv: lower constant initializers on output variables earlier
If a shader only writes to an output via a constant initializer we
need to lower it before we call nir_remove_dead_variables so that
this pass sees the stores from the initializer and doesn't kill the
output.
Fixes test failures in new work-in-progress CTS tests:
dEQP-VK.spirv_assembly.instruction.graphics.variable_init.output.float
This is ported from anv:
99b57daf4a anv/pipeline: lower constant initializers on output variables earlier
from Iago Toral Quiroga <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions