nir: Add load_sampler_lod_paramaters_pan intrinsic
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 21 Nov 2019 13:41:22 +0000 (08:41 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>
Fri, 22 Nov 2019 05:07:19 +0000 (05:07 +0000)
commitdeaebc82a73ba3f34c4f2ecf97cedb7fc9b0b154
treebbe9c8651074c4d8e548403c410c230227941c93
parentb1156ecdf2f3a0488db6fbcb5e352634ebeece00
nir: Add load_sampler_lod_paramaters_pan intrinsic

This loads in the <min_lod, max_lod, lod_bias> settings for a given
sampler, which is necessary for lowering clamps/biases on certain
Midgard chips.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/compiler/nir/nir_intrinsics.py