[Mesa-dev] [PATCH v3 00/13] TGSI: improved live range tracking, also including arrays

Gert Wollny gw.fossdev at gmail.com
Sun Apr 29 19:44:32 UTC 2018


Hello Benedict,

thanks for all the testing!

On 29.04.2018 12:12, Benedikt Schemmer wrote:
>> Which are the names of these test? I'd like to check this on r600,
>> because here I didn't see any regressions last time I checked. 
>>
> might of course be different on r600 (is bindless available?),
> also shader-db is more sensitive to problems than piglit
>
> 1. tests/spec/arb_bindless_texture/compiler/images/arrays-of-struct.frag
> 2. tests/spec/arb_bindless_texture/compiler/samplers/arrays-of-struct.frag
Indeed, bindless testures are not available on r600, so it is quite
difficult for me to test this. I would guess that parameters related to
this might be stored in the TGSI declaration that I currently don't check.

If you have time for it, could you send me a TGSI dump of one of these
shaders?
With "ST_DEBUG=tgsi" this should be possible.
>
>> For radeonsi my guess would be that the llvm optimizer works better
>> when the registers are not yet merged, and that would be the reason why
>> register_merge is disabled. 
> well at least sometimes it doesn't, low hanging fruit maybe?
Unfortunately, I can't test on radeonsi

Best,
Gert


More information about the mesa-dev mailing list