[Piglit] [PATCH v2] glsl-1.30: add tests for using immediates in common operations

Ian Romanick idr at freedesktop.org
Thu May 3 21:58:10 UTC 2018


On 04/27/2018 04:56 PM, Ilia Mirkin wrote:
> On Fri, Apr 27, 2018 at 9:07 AM, Ian Romanick <idr at freedesktop.org> wrote:
>> On 04/27/2018 12:01 AM, Ilia Mirkin wrote:
>>> NVIDIA hardware has "short" immediates, and some instructions have both
>>> long and short immediate variants. Nouveau was picking the wrong one
>>> under certain conditions. This adds tests which are likely to cause
>>> these kinds of issues to surface in a backend.
>>
>> It might be worth putting a note about this in the test scripts.
>> Otherwise, someone may come along later, and, thinking the tests are
>> redundant, try to remove them.
> 
> Wouldn't that someone ideally check why the tests were added, pointing
> them at this commit?
> 
> Are you suggesting I reproduce the above quoted section at the top of
> each test as a comment?

It's just a suggestion. ;)



More information about the Piglit mailing list