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
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_