Dave Airlie
0acd5a8e8f
vrend: make sure gl_PerVertex is consistent even if GS has no clip inputs
...
This fixes:
clip-distance-vs-gs-out.shader_test
Signed-off-by: Dave Airlie <airlied@redhat.com>
7 years ago
Dave Airlie
d413cba1e9
renderer: handle gaps in vertex shader inputs
...
We are seeing shaders with 0 and 2 inputs, but no 1, so we need
to handle gaps properly.
This fixes some regressions in drawpixels after some mesa changes
on the guest.
9 years ago
Dave Airlie
bd64c81fc2
renderer: handle rendering to A8 surfaces.
...
I'm not sure this is 100% complete, piglit fbo-alpha now passes.
This was a guess as to why gnome-shell was broken, but I don't think
it was the correct one.
9 years ago
Dave Airlie
92b00c978b
renderer: CLEANUP - remove TABs
...
I didn't do a good enough job last time at purging these.
9 years ago
Dave Airlie
38f01a3daf
renderer: reorder some structs to remove holes
10 years ago
Dave Airlie
7e85c2f114
renderer: CLEANUP: whitespace and reindent
...
this uses the mesa coding style, pray I never have to do
this again.
strip all trailing whitespace as much as possible
10 years ago
Dave Airlie
aca150b35b
renderer: move explicit locations hack into shader cfg
10 years ago
Dave Airlie
ca23e98b22
renderer: CLEANUP: boolean/GLboolean -> bool
...
use stdbool.h as much as possible
some of the gallium code imported uses boolean
so leave it alone for now
10 years ago
Dave Airlie
03e3116a75
import latest renderer code
10 years ago