From: Dave Airlie <[email protected]>

I've no idea why this is restricted to r600 only, but we should
use vertex fetches anywhere the input shader would use them from
what I can see.

Signed-off-by: Dave Airlie <[email protected]>
---
 src/gallium/drivers/r600/sb/sb_shader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/r600/sb/sb_shader.cpp 
b/src/gallium/drivers/r600/sb/sb_shader.cpp
index 6f4f784..7121b64 100644
--- a/src/gallium/drivers/r600/sb/sb_shader.cpp
+++ b/src/gallium/drivers/r600/sb/sb_shader.cpp
@@ -601,7 +601,7 @@ sched_queue_id shader::get_queue_id(node* n) {
                        return SQ_ALU;
                case NST_FETCH_INST: {
                        fetch_node *f = static_cast<fetch_node*>(n);
-                       if (ctx.is_r600() && (f->bc.op_ptr->flags & FF_VTX))
+                       if ((f->bc.op_ptr->flags & FF_VTX))
                                return SQ_VTX;
                        return SQ_TEX;
                }
-- 
2.1.0

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

Reply via email to