r600: enable SB for geom shaders on pre-evergreen
authorDave Airlie <airlied@redhat.com>
Fri, 30 Oct 2015 00:39:13 +0000 (10:39 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 30 Oct 2015 00:40:59 +0000 (10:40 +1000)
I've checked with piglit and one tests fails, but it fails
on evergreen as well, so will get fixed later.

Otherwise SB seems to be working fine for geom shaders on my
rv635.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c

index 50c0329..fc6335a 100644 (file)
@@ -162,10 +162,6 @@ int r600_pipe_shader_create(struct pipe_context *ctx,
                goto error;
        }
 
-    /* disable SB for geom shaders on R6xx/R7xx due to some mysterious gs piglit regressions with it enabled. */
-    if (rctx->b.chip_class <= R700) {
-           use_sb &= (shader->shader.processor_type != TGSI_PROCESSOR_GEOMETRY);
-    }
        /* disable SB for shaders using doubles */
        use_sb &= !shader->shader.uses_doubles;