Age | Commit message (Collapse) | Author |
|
|
|
This fixes an out of bounds array write that was causing the glsl/bump demo to render incorrectly.
|
|
tgsi_translate_mesa_program().
|
|
|
|
|
|
|
|
|
|
Previously, output[0] was always Z and output[1] was color. Now output[0]
will be color if Z is not written.
In shade_quad() use the semantic info to determine which quantity is in
which output slot.
|
|
|
|
|
|
|
|
|
|
are needed.
|
|
|
|
|
|
fragment shader writes Z.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The code generated for the glxgears vertex shader didn't fit, causing a crash.
|
|
Unfortunately, the generated fragment shader code is effectively unusable until
it handles quad->mask.
|
|
It was decided after all to stick to 'pipes' here, even though the actual
meaning is now 'planes'.
|
|
structure so allocate a private copy of it.
|
|
location.
|
|
the clipping code.
(really done by Keith)
|
|
which is being hit all the time. Done by Keith really.
|
|
|
|
in the state functions.
|
|
|
|
|
|
|
|
These correspond to the NV and ARB-style fragment program KIL instructions.
The former is really supposed to examine the NV condition codes but Mesa's
GLSL compiler always emits unconditional KIL instructions.
|
|
|
|
|
|
GLSL fragment shader.
This allows Glean glsl1 test to get pretty far.
|
|
Still need to handle conditional RET statements...
|
|
|
|
|
|
|
|
|
|
GLSL output variables (such as vertex varyings) can be read (they're not
write-only).
|
|
The glsl/brick.c shader demo runs now.
|
|
Halt program execution when we get to END instruction. The GLSL compiler
puts subroutines after the end instruction so we have to stop before then.
|
|
|
|
|