From: Rob Clark Date: Fri, 27 Feb 2015 00:37:31 +0000 (-0500) Subject: freedreno/a4xx: re-enable int (conditional on glsl130) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e67fd798e750fde213c6c401964e065e7dbe5e5;p=mesa.git 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 --- 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;