summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-02-26 19:37:31 -0500
committerRob Clark <[email protected]>2015-03-03 10:41:00 -0500
commit8e67fd798e750fde213c6c401964e065e7dbe5e5 (patch)
tree5fadc6636415e0ff02bdec2098409025bd6516c7 /src/gallium/drivers/freedreno
parente9f2abe349886ae5423c7c31d201e7d587a3695a (diff)
freedreno/a4xx: re-enable int (conditional on glsl130)
Re-enable integer, now that we can handle flat varyings. Still, ofc, conditional on FD_MESA_DEBUG=glsl130, until we can deprecate _old compiler.. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 29734585c0a..3e9a3f3b2f9 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -372,7 +372,7 @@ fd_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
* TODO looks like a4xx will require some additional
* work for integer varying fetch..
*/
- return (is_a3xx(screen) && glsl130) ? 1 : 0;
+ return ((is_a3xx(screen) || is_a4xx(screen)) && glsl130) ? 1 : 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
case PIPE_SHADER_CAP_MAX_SAMPLER_VIEWS:
return 16;