diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index 7ec3b570c8b..c11aa798638 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -949,7 +949,17 @@ void CodeEmitterGK110::emitTEXBAR(const Instruction *i) void CodeEmitterGK110::emitTEXCSAA(const TexInstruction *i) { - emitNOP(i); // TODO + code[0] = 0x00000002; + code[1] = 0x76c00000; + + // code[1] |= i->tex.r << 9; + // code[1] |= i->tex.s << (9 + 8); + + if (i->tex.liveOnly) + code[0] |= 0x80000000; + + defId(i->def(0), 2); + srcId(i->src(0), 10); } static inline bool |