PIPE_MAX_SHADER_INPUTS/OUTPUTS are currently set to 16 in p_state.h
That's actually not enough to accomodate OpenGL's needs. For example,
a Mesa vertex shader has these inputs:
typedef enum
{
VERT_ATTRIB_POS = 0,
VERT_ATTRIB_WEIGHT = 1,
VERT_ATTRIB_NORMAL = 2,
VERT_ATTRIB_COLOR0 =
On Thu, 2010-07-08 at 08:36 -0700, Brian Paul wrote:
> PIPE_MAX_SHADER_INPUTS/OUTPUTS are currently set to 16 in p_state.h
>
> That's actually not enough to accomodate OpenGL's needs. For example,
> a Mesa vertex shader has these inputs:
>
> typedef enum
> {
> VERT_ATTRIB_POS = 0,
> VER
On Thursday 08 July 2010 11:40:56 Keith Whitwell wrote:
> On Thu, 2010-07-08 at 08:36 -0700, Brian Paul wrote:
> > PIPE_MAX_SHADER_INPUTS/OUTPUTS are currently set to 16 in p_state.h
> >
> > That's actually not enough to accomodate OpenGL's needs. For example,
> > a Mesa vertex shader has these i
https://bugs.freedesktop.org/show_bug.cgi?id=10966
Andrey Melentyev changed:
What|Removed |Added
CC|r...@yandex.ru |
--
Configure bugmail: https://bugs.
On Thu, Jul 8, 2010 at 8:50 AM, Zack Rusin wrote:
> On Thursday 08 July 2010 11:40:56 Keith Whitwell wrote:
>> On Thu, 2010-07-08 at 08:36 -0700, Brian Paul wrote:
>> > PIPE_MAX_SHADER_INPUTS/OUTPUTS are currently set to 16 in p_state.h
>> >
>> > That's actually not enough to accomodate OpenGL's n
This patch and also
http://lists.freedesktop.org/archives/mesa-dev/2010-July/001252.html
should fix all the outstanding scheduler bugs.
This patch adds a register rename pass that converts the code into quasi-SSA
form, which makes it easier for the scheduler to schedule TEX blocks.
This fixes: ht
This pass renames register in order to make it easier for the pair
scheduler to group TEX instructions together.
---
src/mesa/drivers/dri/r300/compiler/Makefile|1 +
src/mesa/drivers/dri/r300/compiler/SConscript |1 +
src/mesa/drivers/dri/r300/compiler/r3xx_fragprog.c | 11 +
On Thu, Jul 8, 2010 at 7:01 PM, Tom Stellard wrote:
> This pass renames register in order to make it easier for the pair
> scheduler to group TEX instructions together.
> ---
> src/mesa/drivers/dri/r300/compiler/Makefile | 1 +
> src/mesa/drivers/dri/r300/compiler/SConscript | 1