Marek Olšák
5ba2e7adf0
mesa: implement AMD_shader_stencil_export
...
It's just an alias of the ARB variant with some GLSL compiler changes.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-05-03 12:03:22 +02:00
Marek Olšák
93754d8499
r600g: reorder caps
2011-05-03 12:03:22 +02:00
Marek Olšák
320adb93a1
r600g: set correct PIPE_CAP_MAX_COMBINED_SAMPLERS
2011-05-03 12:03:22 +02:00
Marek Olšák
a677952e68
mesa: make AMD_draw_buffers_blend an alias of the ARB variant
...
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-05-03 00:35:50 +02:00
Marek Olšák
3be1c7f260
glapi: regenerate files for AMD_draw_buffers_blend
2011-05-03 00:35:50 +02:00
Marek Olšák
9ecb46f59e
glapi: add functions for AMD_draw_buffers_blend
...
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-05-03 00:35:50 +02:00
Marek Olšák
62aa51b78a
mesa: flush vertices before changing GL_RASTERIZER_DISCARD state, not after
...
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-05-03 00:35:50 +02:00
Marek Olšák
aafbaa9e6a
mesa: make _NEW_TEXTURE dirty when changing GL_TEXTURE_CUBE_MAP_SEAMLESS
...
Otherwise there would be no way to know whether the state has been changed.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2011-05-03 00:35:50 +02:00
Christoph Bumiller
220abb7adf
nv50,nvc0: advertise GL_FIXED vertex buffers as supported
...
We'll handle them like f64 vertex buffers, by falling back to
copying vertex data to the command buffer through translate.
2011-05-03 00:02:36 +02:00
Christoph Bumiller
f986a6560f
mesa,st/mesa: fix WPOS adjustment
...
Tested-by: Marek Olšák <maraeo@gmail.com>
2011-05-03 00:00:55 +02:00
Jon TURNEY
9cb800a97c
Default to --disable-gallium-r300 if not --with-driver=dri
...
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2011-05-02 17:34:42 +02:00
Marek Olšák
02b352e2ac
gallium: reorder fields of pipe_rasterizer_state to pack it more tightly
...
sizeof(struct pipe_rasterizer_state):
Before: 32 bytes
After: 28 bytes
Reviewed-by: Brian Paul <brianp@vmare.com>
2011-05-02 17:16:09 +02:00
Marek Olšák
ca6896ba14
r600g: document some new evergreen formats
2011-05-02 17:16:09 +02:00
Marek Olšák
929b3d8233
r600g: remove some more FIXME comments
2011-05-02 13:15:43 +02:00
Michel Dänzer
5815d06ac5
st/xorg: Fix two more instances of typo 'accle'.
2011-05-02 09:36:49 +02:00
Marcin Slusarz
951244c4cd
st/xorg: fix typos
2011-05-02 09:28:16 +02:00
Eric Anholt
484b51d484
i965/gen6: Align interleaved URB writes for overflow outputs as well.
...
Fixes glsl-max-varyings.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35614
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-05-01 20:13:10 -07:00
Marcin Slusarz
eb0a9e9a5a
targets/xorg-nouveau: load nouveau_dri.so instead of i915_dri.so
2011-05-02 02:39:44 +02:00
Marcin Slusarz
1654988562
targets/xorg-nouveau: add libnvc0.a to nouveau libs
2011-05-02 02:39:44 +02:00
Marek Olšák
0d5ceb5891
r600g: remove some FIXME comments
...
All texture LOD tests pass.
2011-05-02 01:43:33 +02:00
Marek Olšák
72c6a748b9
Revert "r600g: truncate point sampled texture coordinates"
...
This reverts commit 1dc204d145 .
MC_COORD_TRUNCATE is for MPEG and produces quite an interesting behavior
on regular textures. Anyway that commit broke filtering in demos/cubemap.
2011-05-02 01:20:22 +02:00
Marek Olšák
fb8786bda3
st/mesa: remove set-but-unused variables
2011-05-01 14:31:41 +02:00
Marek Olšák
08520bdea2
tgsi: remove set-but-unused variables
2011-05-01 14:13:09 +02:00
Marek Olšák
cacdc42e36
draw: remove set-but-unused variable
2011-05-01 14:12:47 +02:00
Marek Olšák
425cfa139b
rbug: remove set-but-unused variables
2011-05-01 14:07:31 +02:00
Marek Olšák
847d397b34
ir_to_mesa: remove set-but-unused variables
2011-05-01 14:02:36 +02:00
Marek Olšák
2032daced1
mesa: remove set-but-unused variables in texcompress_s3tc
2011-05-01 14:02:35 +02:00
Marek Olšák
2d2b546189
mesa: remove set-but-unused variable in bind_attrib_location
2011-05-01 14:02:35 +02:00
Marek Olšák
f507530d25
mesa: remove unused-but-set variable in extract_uint_rgba
2011-05-01 14:02:35 +02:00
Marek Olšák
97398d1d56
r300/compiler: remove set-but-unused variables
2011-05-01 14:02:35 +02:00
Marek Olšák
56e83b4aa2
r600g: remove set-but-unused variable
2011-05-01 13:25:52 +02:00
Marek Olšák
e9d2ef79de
r600g: remove FIXME comment
...
DONTBLOCK is correctly handled in r600_bo_map.
2011-05-01 01:54:29 +02:00
José Fonseca
dc9e5ed5e1
mesa: GL_PROVOKING_VERTEX_EXT is a GLenum, not GLboolean.
2011-04-30 22:38:00 +01:00
Tom Stellard
7679a4ddf4
r300/compiler: Cleanups from the regalloc merge
2011-04-30 13:15:29 -07:00
Tom Stellard
d7cf9833d7
r300/compiler: Add return statement to rc_list()
2011-04-30 12:57:09 -07:00
Tom Stellard
7edf7d1169
r300g: Fix scons build
...
Broken by the dependency on ralloc introduced by
fe622bac0c
2011-04-30 12:35:06 -07:00
Daniel Vetter
899b786b19
i915g: enable X-tiling for s3tc textures
...
Tested-by: Christopher Egert <cme3000@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-04-30 20:42:34 +02:00
Tom Stellard
d379e938f0
r300/compiler: Enable swizzle packing in the allocator for r300 and r400
2011-04-30 11:00:16 -07:00
Tom Stellard
1b75d48e84
r300/compiler: Handle loops in the register allocator
2011-04-30 11:00:16 -07:00
Tom Stellard
ac952a11df
r300/compiler: Handle loops in rc_get_readers()
2011-04-30 11:00:16 -07:00
Tom Stellard
fe622bac0c
r300/compiler: Rewrite register allocator
...
The new allocator uses ra and does swizzle packing.
Also, a data structure (struct rc_variable) and associated functions have
been added for generating UD and DU chains.
2011-04-30 11:00:15 -07:00
Tom Stellard
e4a765ae2d
ra: Add ra_set_node_reg()
...
This function can be used to avoid creating single register classes for
input/payload registers. This makes optimistic coloring less likely
to fail.
Reviewed-by: Eric Anholt <eric@anholt.net>
2011-04-30 11:00:15 -07:00
Tom Stellard
dbac75fa2f
r300/compiler: Use RC_MASK_W when converting RGB to Alpha instructions
2011-04-30 11:00:15 -07:00
Tom Stellard
4f4d1d06da
r300/compiler: rc_reader_data: Add ExitOnAbort flag
2011-04-30 11:00:15 -07:00
Tom Stellard
bbcee3268a
r300/compiler: Add more info to struct rc_reader
...
For pair instructions we need a reference to both the arg
and source.
2011-04-30 11:00:15 -07:00
Tom Stellard
6a6068e5e1
r300/compiler: Add remove dead sources pass
...
The instruction scheduler will sometimes leave orphaned sources when
converting instructions from RGB to Alpha. If one of these orphaned
sources has an index greater than the maximum temporary register index,
then the compiler will incorrectly report "Too many hardware temporaries
used". The dead sources pass cleans up these orphaned sources.
2011-04-30 11:00:15 -07:00
Marek Olšák
bd661a933b
docs: add ARB_ES2_compatibility in relnotes-7.11
2011-04-30 12:02:01 +02:00
Marek Olšák
fdff7e635b
st/mesa: expose ARB_ES2_compatibility if GL_FIXED vertex format is supported
...
Tested with softpipe and llvmpipe.
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-04-30 12:02:01 +02:00
Marek Olšák
0f1e59deac
mesa: accept GL_FIXED in glVertexAttribPointer (ARB_ES2_compatibility)
...
GL_FIXED should not be accepted in the other gl*Pointer calls in OpenGL.
There is a new piglit for this: arb_es2_compatibility-fixed-type.
Reviewed-by: Brian Paul <brianp@vmware.com>
2011-04-30 12:02:01 +02:00
Brian Paul
076bd11112
mesa: fix error string, remove out of date comment
2011-04-29 18:42:09 -06:00