mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 08:28:21 +02:00
Make ARB_vp backends happy with nv arl
This commit is contained in:
parent
af8d39861d
commit
ed4ab13cef
1 changed files with 5 additions and 0 deletions
|
|
@ -978,6 +978,11 @@ Parse_AddressInstruction(struct parse_state *parseState, struct prog_instruction
|
|||
inst->Opcode = OPCODE_ARL;
|
||||
inst->StringPos = parseState->curLine - parseState->start;
|
||||
|
||||
/* Make ARB_vp backends happy */
|
||||
inst->DstReg.File = PROGRAM_ADDRESS;
|
||||
inst->DstReg.WriteMask = WRITEMASK_X;
|
||||
inst->DstReg.Index = 0;
|
||||
|
||||
/* dest A0 reg */
|
||||
if (!Parse_AddrReg(parseState))
|
||||
RETURN_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue