[Mesa-dev] [PATCH] r600: fix constant buffer size programming

Grazvydas Ignotas notasas at gmail.com
Tue Dec 22 10:37:12 PST 2015


On Tue, Dec 22, 2015 at 5:37 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> On 21.12.2015 21:12, Grazvydas Ignotas wrote:
>>
>> When buffer size is less than 16, zero ends up being programmed as
>> size, which prevents the hardware from fetching the correct values.
>> Fix it by combining shift and align so that the value is always
>> rounded up.
>>
>> Cc: "11.1 11.0 10.6" <mesa-stable at lists.freedesktop.org>
>> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92229
>> Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
>> ---
>>   Only tested on Juniper, but I guess others will need this too.
>
>
> Nice catch.
>
> Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Do you have commit access?

Nope, still haven't sent the "recommended" amount of patches.

Gražvydas


More information about the mesa-dev mailing list