shader: actually emit barrier opcode.

This was missing the emit line.

Tested-by: Elie Tournier <elie.tournier@collabora.com>
Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
Tested-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Dave Airlie 7 years ago
parent dfcb6344d4
commit fa1c570af3
  1. 1
      src/vrend_shader.c

@ -2889,6 +2889,7 @@ iter_instruction(struct tgsi_iterate_context *iter,
break; break;
case TGSI_OPCODE_BARRIER: case TGSI_OPCODE_BARRIER:
snprintf(buf, 255, "barrier();\n"); snprintf(buf, 255, "barrier();\n");
EMIT_BUF_WITH_RET(ctx, buf);
break; break;
default: default:
fprintf(stderr,"failed to convert opcode %d\n", inst->Instruction.Opcode); fprintf(stderr,"failed to convert opcode %d\n", inst->Instruction.Opcode);

Loading…
Cancel
Save