Re: [Mesa-dev] [PATCH] nvc0: serialize before updating some constant buffer bindings

2018-07-25 Thread Ilia Mirkin
On Wed, Jul 25, 2018 at 9:13 AM, Rhys Perry wrote: > To avoid serializing, this has the user constant buffer always be 65536 > bytes and enabled unless it's required that something else is used for > constant buffer 0. > > Fixes artifacts with at least XCOM: Enemy Within, 0 A.D. and Unigine > Vall

[Mesa-dev] [PATCH] nvc0: serialize before updating some constant buffer bindings

2018-07-25 Thread Rhys Perry
To avoid serializing, this has the user constant buffer always be 65536 bytes and enabled unless it's required that something else is used for constant buffer 0. Fixes artifacts with at least XCOM: Enemy Within, 0 A.D. and Unigine Valley, Heaven and Superposition. v2: changed uniform_buffer_bound

Re: [Mesa-dev] [PATCH] nvc0: serialize before updating some constant buffer bindings

2018-07-15 Thread Rhys Perry
Oops, it should still be a uint32_t. That was a change I forgot to revert. On Sun, Jul 15, 2018 at 11:38 PM, Ilia Mirkin wrote: > On Sun, Jul 15, 2018 at 6:14 PM, Rhys Perry wrote: >> To avoid serializing, this has the user constant buffer always be 65536 >> bytes and enabled unless it's require

Re: [Mesa-dev] [PATCH] nvc0: serialize before updating some constant buffer bindings

2018-07-15 Thread Ilia Mirkin
On Sun, Jul 15, 2018 at 6:14 PM, Rhys Perry wrote: > To avoid serializing, this has the user constant buffer always be 65536 > bytes and enabled unless it's required that something else is used for > constant buffer 0. > > Fixes artifacts with at least 0 A.D. and Unigine Valley, Heaven and > Super

[Mesa-dev] [PATCH] nvc0: serialize before updating some constant buffer bindings

2018-07-15 Thread Rhys Perry
To avoid serializing, this has the user constant buffer always be 65536 bytes and enabled unless it's required that something else is used for constant buffer 0. Fixes artifacts with at least 0 A.D. and Unigine Valley, Heaven and Superposition. This has only been tested on Pascal but the fix and