Re: [Mesa-dev] [PATCH 1/4] gallivm, llvmpipe, draw: Support multiple constant buffers.

2012-12-06 Thread Dave Airlie
On Fri, Dec 7, 2012 at 3:35 AM, wrote: > From: José Fonseca > > Support 4 (defined in LP_MAX_TGSI_CONST_BUFFERS) as opposed to 32 (as > defined by PIPE_MAX_CONSTANT_BUFFERS) because that would make the jit > context become unnecessarily large. For GL ARB_uniform_buffer_object, we need at least

Re: [Mesa-dev] [PATCH 1/4] gallivm, llvmpipe, draw: Support multiple constant buffers.

2012-12-06 Thread Brian Paul
On 12/06/2012 10:35 AM, jfons...@vmware.com wrote: From: José Fonseca Support 4 (defined in LP_MAX_TGSI_CONST_BUFFERS) as opposed to 32 (as defined by PIPE_MAX_CONSTANT_BUFFERS) because that would make the jit context become unnecessarily large. --- src/gallium/auxiliary/draw/draw_llvm.c

[Mesa-dev] [PATCH 1/4] gallivm, llvmpipe, draw: Support multiple constant buffers.

2012-12-06 Thread jfonseca
From: José Fonseca Support 4 (defined in LP_MAX_TGSI_CONST_BUFFERS) as opposed to 32 (as defined by PIPE_MAX_CONSTANT_BUFFERS) because that would make the jit context become unnecessarily large. --- src/gallium/auxiliary/draw/draw_llvm.c |5 +- src/gallium/auxiliary/draw/draw_llv