[Mesa-dev] [PATCH] mesa: change MAX_PROGRAM_ADDRESS_REGS to 1, clamp to it in state tracker
eric at anholt.net
Tue Jun 4 12:37:55 PDT 2013
Brian Paul <brianp at vmware.com> writes:
> We've never properly supported more than one address register. There
> isn't even a field in prog_src_register or prog_dst_Register to indicate
> which address register to use if RelAddr!=0.
> In the state tracker, clamp MaxAddressRegs against MAX_PROGRAM_ADDRESS_REGS
> since many gallium drivers do support more.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=65226
Looks like non-gallium had defaults of 1 or 0 from
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the mesa-dev