[virglrenderer-devel] [PATCH 01/21] shader: actually emit barrier opcode.

Dave Airlie airlied at gmail.com
Mon Jun 11 05:10:52 UTC 2018


From: Dave Airlie <airlied at redhat.com>

This was missing the emit line.
---
 src/vrend_shader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/vrend_shader.c b/src/vrend_shader.c
index 14afe57..9e58a26 100644
--- a/src/vrend_shader.c
+++ b/src/vrend_shader.c
@@ -2889,6 +2889,7 @@ iter_instruction(struct tgsi_iterate_context *iter,
       break;
    case TGSI_OPCODE_BARRIER:
       snprintf(buf, 255, "barrier();\n");
+      EMIT_BUF_WITH_RET(ctx, buf);
       break;
    default:
       fprintf(stderr,"failed to convert opcode %d\n", inst->Instruction.Opcode);
-- 
2.14.3



More information about the virglrenderer-devel mailing list