From: Ilia Mirkin Date: Tue, 11 Mar 2014 15:21:35 +0000 (-0400) Subject: nv50/ir/gk110: add texcsaa implementation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08505549ab938a6650024aab68f7713989c5c6fe;p=mesa.git nv50/ir/gk110: add texcsaa implementation Signed-off-by: Ilia Mirkin --- 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