glsl: add texture builtin functions for EXT_gpu_shader4
authorMarek Olšák <marek.olsak@amd.com>
Wed, 8 Aug 2018 01:31:09 +0000 (21:31 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 25 Apr 2019 00:45:15 +0000 (20:45 -0400)
commit4ff3b8e18a968f557be1529ecb03a7df5da1890f
tree47a19923c522edb767412424f564707b66bd833f
parent8dbe23c8c69c1ad0f8914970b110bbd30ff76b0d
glsl: add texture builtin functions for EXT_gpu_shader4

v2: some fixes to texture functions thanks to piglit tests

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> (v1)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de> (v1)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/builtin_functions.cpp