mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
nv50/ir/gk110: add pfetch support
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
15b1f420d0
commit
c17f7247ec
1 changed files with 9 additions and 1 deletions
|
|
@ -1175,7 +1175,15 @@ CodeEmitterGK110::emitFlow(const Instruction *i)
|
|||
void
|
||||
CodeEmitterGK110::emitPFETCH(const Instruction *i)
|
||||
{
|
||||
emitNOP(i); // TODO
|
||||
uint32_t prim = i->src(0).get()->reg.data.u32;
|
||||
|
||||
code[0] = 0x00000002 | ((prim & 0xff) << 23);
|
||||
code[1] = 0x7f800000;
|
||||
|
||||
emitPredicate(i);
|
||||
|
||||
defId(i->def(0), 2);
|
||||
srcId(i->src(1), 10);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue