Re: [Mesa-dev] [PATCH 1/2] nouveau: always align buffers to 0x100

2015-07-14 Thread Ilia Mirkin
Actually any buffer can be bound as a constbuf, not just TFB. Reviewed-by: Ilia Mirkin On Tue, Jul 14, 2015 at 6:57 AM, Samuel Pitoiset wrote: > Only constbufs must be aligned to 0x100, but since a TFB buffer can be > rebinded as a constant buffer it must be also aligned. > > This patch prevent

[Mesa-dev] [PATCH 1/2] nouveau: always align buffers to 0x100

2015-07-14 Thread Samuel Pitoiset
Only constbufs must be aligned to 0x100, but since a TFB buffer can be rebinded as a constant buffer it must be also aligned. This patch prevents this behaviour by aligning everything to 256-byte increments at buffer creation. This fixes dmesg fails for the following piglit test: ext_transform_