diff options
author | Paul Berry <[email protected]> | 2013-09-12 09:11:37 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-09-13 14:59:06 -0700 |
commit | 71ffac691b8423d823a4637a0542ccb4005cc996 (patch) | |
tree | 0b7e14ac608ca0f263c9c71365f33bbacb24102d /src/gallium/drivers/freedreno/freedreno_util.h | |
parent | 4b3c0a797f89830fd5ba0943b061abf4fc38337e (diff) |
glsl/builtins: Fix {texture1D,texture2D,shadow1D}ArrayLod availibility.
These functions are defined in EXT_texture_array, which makes no
mention of what shader types they should be allowed in. At the time
EXT_texture_array was introduced, functions ending in "Lod" were
available only in vertex shaders, however this restriction was lifted
in later spec versions and extensions.
We already have the function lod_exists_in_stage() for figuring out
whether functions ending in "Lod" should be available, so just re-use
that.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_util.h')
0 files changed, 0 insertions, 0 deletions