[Mesa-dev] [PATCH] mesa: change MAX_PROGRAM_ADDRESS_REGS to 1, clamp to it in state tracker
Eric Anholt
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
MAX_{VERTEX,FRAGMENT}_PROGRAM_ADDRESS_REGS.
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130604/2167d08f/attachment.pgp>
More information about the mesa-dev
mailing list