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

2015-12-22 Thread Grazvydas Ignotas
On Tue, Dec 22, 2015 at 5:37 PM, Nicolai Hähnle 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

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

2015-12-22 Thread Nicolai Hähnle
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" Bugzilla: https:/

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

2015-12-21 Thread Grazvydas Ignotas
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" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92229 Sign