From 8e67fd798e750fde213c6c401964e065e7dbe5e5 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 26 Feb 2015 19:37:31 -0500 Subject: [PATCH] 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 --- src/gallium/drivers/freedreno/freedreno_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2