[Mesa-dev] [PATCH 00/13] RadeonSI: Reduce user SGPR usage

Marek Olšák maraeo at gmail.com
Sat Feb 17 19:43:15 UTC 2018


Hi,

This series has the following effect on user SGPRs:

64-bit pointers:
    TCS:    14 -> 12
    Merged VS-TCS: 24 -> 20
    Merged VS-GS:  18 -> 16
    Merged TES-GS: 18 -> 14

32-bit pointers:
    TCS:    10 -> 8
    Merged VS-TCS: 16 -> 12
    Merged VS-GS:  11 -> 9
    Merged TES-GS: 11 -> 6

I tested both monolithic and non-monolithic shaders, and both 64-bit
and 32-bit pointers. (4 combinations)

This series is a prerequisite for VBO descriptors in user SGPRs.

Note that merged LS-HS and ES-GS don't even use s[6:7] input SGPRs
yet. Those only provide 40 bits of scalar data (not 64 bits like
s[0:1]).

Please review.

Thanks,
Marek


More information about the mesa-dev mailing list