Module: Mesa
Branch: master
Commit: 744cc036b9734da13be85183e668536a69b7d224
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=744cc036b9734da13be85183e668536a69b7d224

Author: Dave Airlie <[email protected]>
Date:   Fri Oct 30 10:39:13 2015 +1000

r600: enable SB for geom shaders on pre-evergreen

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 <[email protected]>

---

 src/gallium/drivers/r600/r600_shader.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_shader.c 
b/src/gallium/drivers/r600/r600_shader.c
index 50c0329..fc6335a 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -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;
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to