Re: [Mesa-dev] [PATCH] glsl: extend GLSLSkipStrictMaxUniformLimitCheck to uniform block size

2015-04-13 Thread Marcin Ślusarz
On Mon, Apr 13, 2015 at 02:17:24PM -0700, Ian Romanick wrote: On 04/11/2015 09:48 AM, Marcin Ślusarz wrote: ARB_uniform_buffer_object spec says: The total amount of buffer object storage available for any given uniform block is subject to an implementation-dependent limit; the maximum

Re: [Mesa-dev] [PATCH] glsl: extend GLSLSkipStrictMaxUniformLimitCheck to uniform block size

2015-04-13 Thread Roland Scheidegger
FWIW fsexceed crashes badly with llvmpipe (this is because we copy the constants into scene data, and the block size there is 64kB). I've actually wondered if it's the state tracker's job or that of the driver to ensure nothing bad happens. It is however happening due to the actual buffer being

Re: [Mesa-dev] [PATCH] glsl: extend GLSLSkipStrictMaxUniformLimitCheck to uniform block size

2015-04-13 Thread Ian Romanick
On 04/11/2015 09:48 AM, Marcin Ślusarz wrote: ARB_uniform_buffer_object spec says: The total amount of buffer object storage available for any given uniform block is subject to an implementation-dependent limit; the maximum amount of available space, in basic machine units, can be queried by

Re: [Mesa-dev] [PATCH] glsl: extend GLSLSkipStrictMaxUniformLimitCheck to uniform block size

2015-04-13 Thread Marcin Ślusarz
On Tue, Apr 14, 2015 at 12:05:25AM +0200, Roland Scheidegger wrote: FWIW fsexceed crashes badly with llvmpipe (this is because we copy the constants into scene data, and the block size there is 64kB). I've actually wondered if it's the state tracker's job or that of the driver to ensure

[Mesa-dev] [PATCH] glsl: extend GLSLSkipStrictMaxUniformLimitCheck to uniform block size

2015-04-11 Thread Marcin Ślusarz
ARB_uniform_buffer_object spec says: The total amount of buffer object storage available for any given uniform block is subject to an implementation-dependent limit; the maximum amount of available space, in basic machine units, can be queried by calling GetIntegerv with the constant