Dave Airlie
|
803e90e76a
|
renderer: fix frontfacing conversion from TGSI->GLSL
TGSI expects -1.0, 1.0, GLSL is 0.0, 1.0 so convert.
Alternate fix to Marc-Andre's fix.
|
10 years ago |
Marc-André Lureau
|
fc7e0ef0fb
|
shader: add a check for number of imm and ubo
I think UBO limit is 32, but IMM is not, so we better had some checks to
avoid overflow
|
10 years ago |
Dave Airlie
|
9e5bd0dbf0
|
renderer: handle illegal so values better
This stops the guest from crashing the parser here,
if it gives us so entries that are invalid.
|
10 years ago |
Dave Airlie
|
c13ac6fcd5
|
renderer: limit immediates to a higher number
varying-packing-simple float separate was overflowing
the immediate pool, so add a limit, then increase
the limit so test passes.
|
10 years ago |
Dave Airlie
|
dac4578a37
|
renderer: make sure to get glsl 1.50 for interface blocks
we can't emit an interface block in glsl 1.40
|
10 years ago |
Dave Airlie
|
cba784dfaf
|
renderer: add arb_texture_gather support
This just adds support for the basic TG4 opcode,
the GS5 variant is a bit more work.
|
10 years ago |
Dave Airlie
|
c66f8b23d9
|
renderer: add support for ARB_texture_query_levels
|
10 years ago |
Dave Airlie
|
3f4e3e1cad
|
renderer: add support for ARB_viewport_array
|
10 years ago |
Dave Airlie
|
78370e879f
|
renderer: add initial texture_query_lod support
|
10 years ago |
Marc-André Lureau
|
b6971e08b8
|
shader: ignore empty color mask in emit_color_select()
Fixes piglit interpolation-flat-other-flat-none.shader_test
|
10 years ago |
Marc-André Lureau
|
dd954de6e0
|
shader: fix uniform buffer object size
Size of array is Range.Last+1, like other declarations
Fixes piglit spec/glsl-1.40/uniform_buffer/fs-basic
|
10 years ago |
Marc-André Lureau
|
e4880f6bd3
|
shader: fix UCMP translation
|
10 years ago |
Marc-André Lureau
|
ee78525252
|
shader: promote type for comparison with same type
Fixes some piglit test.
|
10 years ago |
Dave Airlie
|
57646ceb4e
|
gallium: import more bits
|
10 years ago |
Dave Airlie
|
03e3116a75
|
import latest renderer code
|
10 years ago |
Dave Airlie
|
a3a2c64cd6
|
initial import of standalone renderer
|
11 years ago |