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);