ac: implement nir_intrinsic_image_samples
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 13 Feb 2018 06:00:40 +0000 (17:00 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 14 Feb 2018 22:02:41 +0000 (09:02 +1100)
commit9740c8a8aa5497d02a589ccaca3783056199fbe0
tree28c35c338b0fb66d1212d3380c7e4d0b74a372d5
parentc6b70a0eaea63e824e3733b16cb90e1595b01c1d
ac: implement nir_intrinsic_image_samples

Fixes cts test:
KHR-GL45.shader_texture_image_samples_tests.image_functional_test

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c