[Mesa-dev] [PATCH] r600/sb: emit vertex clauses properly on all gpu classes.
Dave Airlie
airlied at gmail.com
Sun Aug 30 20:43:41 PDT 2015
From: Dave Airlie <airlied at redhat.com>
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 <airlied at redhat.com>
---
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
More information about the mesa-dev
mailing list