Re: [Mesa-dev] [PATCH] mesa/st: fix number of ubos being declared in a shader

2014-05-14 Thread Roland Scheidegger
Am 14.05.2014 21:45, schrieb Brian Paul: > On 05/14/2014 01:07 PM, srol...@vmware.com wrote: >> From: Roland Scheidegger >> >> Previously the code used the total number of ubos being declared in the >> linked program (so the ubos of all shaders combined), use the number >> from the particular shad

Re: [Mesa-dev] [PATCH] mesa/st: fix number of ubos being declared in a shader

2014-05-14 Thread Brian Paul
On 05/14/2014 01:07 PM, srol...@vmware.com wrote: From: Roland Scheidegger Previously the code used the total number of ubos being declared in the linked program (so the ubos of all shaders combined), use the number from the particular shader instead. This fixes an assertion failure with piglit

[Mesa-dev] [PATCH] mesa/st: fix number of ubos being declared in a shader

2014-05-14 Thread sroland
From: Roland Scheidegger Previously the code used the total number of ubos being declared in the linked program (so the ubos of all shaders combined), use the number from the particular shader instead. This fixes an assertion failure with piglit arb_uniform_buffer_object-maxblocks seen in llvmpip