nvc0/ir: Implement TGSI_OPCODE_BALLOT and TGSI_OPCODE_READ_*
authorBoyan Ding <boyan.j.ding@gmail.com>
Mon, 10 Apr 2017 14:56:04 +0000 (22:56 +0800)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 13 Apr 2017 06:25:14 +0000 (02:25 -0400)
commit59f6aa80968afe3df96531d951ab05e2230b8c2a
tree8ae0c54e00f3687ec96902975607318ac2b03647
parent48d00779d00d64b46bea44a26e736455ff801d3a
nvc0/ir: Implement TGSI_OPCODE_BALLOT and TGSI_OPCODE_READ_*

v2: Check if each channel is masked in TGSI_OPCODE_BALLOT (Ilia Mirkin)

Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp