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
Brian Paul
be293c14c6
mesa: remove commented-out #include
2011-04-29 18:40:56 -06:00
Thierry Vignaud
04bdb2f314
mesa: fix tarball creation
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2011-04-29 17:56:35 -06:00
Eric Anholt
6a02679f01
i965/gen6: Fix LogicOp handling for GL_COPY and/or floating-point RTs.
...
We were accidentally leaving blending enabled for LogicOp GL_COPY,
which ARB_color_buffer_float/GL_RGBA32F-render (and friends) caught.
Additionally, the GL spec says that no LogicOp should be done to
floating-point targets, and the GPU gets really angry even if you say
to LogicOp GL_COPY to float.
2011-04-29 15:27:02 -07:00
Eric Anholt
3032582d03
i965: Remove dead entrypoints to state cache, rename the one that's left.
...
As we expanded the usage of the state cache, it grew extra
functionality. However, with the recent state streaming rework, we're
back to the state cache being used only for shader kernels, which is
the piece of GPU state that's actually expensive to compute again from
scratch, since it involves compiling.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-04-29 15:27:02 -07:00
Eric Anholt
acb4d5cd96
i965/gen4: Move the GS state to state streaming.
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-04-29 15:26:56 -07:00
Eric Anholt
8ba0c025a4
i965/gen4: Move clip state to state streaming
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-04-29 15:26:50 -07:00
Eric Anholt
d6ba7b1603
i965: Drop the now unused brw_cache_data() function.
...
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-04-29 15:26:50 -07:00
Eric Anholt
bb7ff01deb
i965: Fix up state dumping for SF state.
...
It was moved to state streaming a while back and this was left over.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2011-04-29 15:26:50 -07:00