Maciej Cencora
65faa27aa6
radeon: add tile size getter
2010-03-07 12:07:36 +01:00
Maciej Cencora
88a99bb305
radeon: added tiling functions
2010-03-07 12:07:29 +01:00
Maciej Cencora
9c0c6c26de
r300: don't enable EXT_packed_depth_stencil
...
R300 hw doesn't support sampling from Z24_S8 or S8_Z24 formats.
2010-03-07 12:07:06 +01:00
Maciej Cencora
78eb4a2ea5
radeon: no need to emit full state twice after flush
2010-03-07 12:05:38 +01:00
Maciej Cencora
ea3494b98c
r300: allow src and dst BOs to be placed in GTT during blit
...
Fixes some relocation failures
2010-03-07 12:05:01 +01:00
Maciej Cencora
c0a0a1933d
r300: reset bos when validating buffers during blit
2010-03-07 12:04:44 +01:00
Maciej Cencora
9543f7f05f
radeon: fallback to software in glCopyTexImage if blit isn't available
2010-03-07 12:04:30 +01:00
Maciej Cencora
042779dc85
r300: VAP flush is needed only when vertex program or constants are changed
2010-03-07 12:02:28 +01:00
Maciej Cencora
89ea402237
r300: recalculate point size, if point min/max size changes
...
Fixes two wine d3d9 unit tests
2010-03-07 12:00:48 +01:00
Maciej Cencora
e2d96b2bf8
r300: no need to flush on context init
2010-03-07 12:00:40 +01:00
Maciej Cencora
bbab68ae2d
r300: remove unnecessary code
...
_tnl_UpdateFixedFunctionProgram is already called in r300_draw.c
2010-03-07 12:00:26 +01:00
Marek Olšák
690ded32cd
r300g: disable emitting the HWTCL-related state when SWTCL is in use
...
Now SWTCL renders at least "something", we're close...
2010-03-07 03:41:00 +01:00
Marek Olšák
81992f37da
r300g: resurrect r300_emit_vertex_buffer for SWTCL
...
Taken over from c9928ac3ee .
2010-03-07 03:33:41 +01:00
Marek Olšák
b03b70f658
r300g: validate buffers when using SWTCL
2010-03-07 02:44:57 +01:00
Marek Olšák
4f541db80c
r300g: share the VS-output-mapping state with SWTCL
...
And associated cleanups.
2010-03-07 02:44:20 +01:00
Marek Olšák
6f4a19ca56
r300g: abort if FS compilation fails on non-debug builds
2010-03-07 01:12:57 +01:00
Marek Olšák
09653d65e9
r300g: minor cleanups after the no-rhw merge
2010-03-06 23:29:17 +01:00
Marek Olšák
c37a20416d
r300g: clamp vertex max index according to currently bound buffers
2010-03-06 21:27:02 +01:00
José Fonseca
45ae4434b5
util: Use bitshift arithmetic to unpack pixels.
...
All test cases pass now.
2010-03-06 14:36:51 +00:00
José Fonseca
b999e9c03d
progs/gallium/unit: Remove the test cases.
2010-03-06 14:36:51 +00:00
José Fonseca
212e7433db
util: Move the format tests cases here so that they can be easily shared.
2010-03-06 14:36:51 +00:00
George Sapountzis
323238864f
include/GL: drop more deprecated headers
2010-03-06 15:18:51 +02:00
José Fonseca
0869f0edf1
util: Several fixes to clamping and test.
...
All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to
apparently a gcc 4.4.3 bug.
2010-03-06 12:50:47 +00:00
José Fonseca
f342ceca38
util: Fix the maximum value computation for SSCALED channels.
2010-03-06 12:49:14 +00:00
José Fonseca
cfde6c50ae
util: Add a new flag, for formats that can be described as a bitmask.
2010-03-06 12:48:39 +00:00
José Fonseca
6718f03258
progs/gallium/unit: Skip test cases which cannot be represented in 4ub.
2010-03-06 12:47:49 +00:00
José Fonseca
709dffcd12
progs/gallium/unit: Use the shortened name to reconstruct the function being tested.
2010-03-06 12:47:01 +00:00
José Fonseca
4afae877e6
util: Add the shortened format name to the description.
2010-03-06 12:46:29 +00:00
José Fonseca
f133861a93
progs/gallium/unit: Cleanup/fix PIPE_FORMAT_R8SG8SB8UX8U_NORM test cases.
2010-03-06 12:45:36 +00:00
José Fonseca
69602b4dd3
gallivm: Add some notes about sampler static state construction.
...
Recover some logic to make state canonical, although it is admittedly very
shy compared with what could be done.
We really need an helper module to make state canonical.
2010-03-06 10:23:07 +00:00
José Fonseca
89258652b6
gallivm: Answer question/comment.
...
This reverts commit 71c0568952 .
2010-03-06 09:45:05 +00:00
José Fonseca
44703217f7
scons: Refuse to use LLVM 2.7 for now.
...
LLVM's trunk is totally broken, at least for x86_64.
See http://www.llvm.org/bugs/show_bug.cgi?id=6429
2010-03-06 09:34:31 +00:00
José Fonseca
19a633310f
scons: Fix version comparisons.
2010-03-06 09:34:31 +00:00
José Fonseca
ccf57af93f
gallivm: Add a placeholder for TGSI_FILE_PREDICATE registers.
2010-03-06 09:34:31 +00:00
José Fonseca
32631b69f5
gallivm: Integrate udis86 on scons builds.
2010-03-06 09:34:31 +00:00
José Fonseca
9af74a38c7
gallivm: Generate valid IR for LLVM 2.7.
...
The signatures for pack intrinsics were made more consistent in this
version.
2010-03-06 09:34:31 +00:00
José Fonseca
8edc6b0bfc
scons: Detect and support LLVM 2.7.
2010-03-06 09:34:31 +00:00
George Sapountzis
419f0f9d04
dri: drop MINIGLX_SOURCES (2)
2010-03-06 06:44:39 +02:00
George Sapountzis
8953bfce0e
dri: drop MINIGLX_SOURCES
2010-03-06 06:44:38 +02:00
George Sapountzis
9009a854d1
config: drop WINDOW_SYSTEM var
2010-03-06 06:44:36 +02:00
Brian Paul
67277a6d11
docs: skeleton for 7.9 release notes
2010-03-05 17:36:34 -07:00
Brian Paul
6ce4a85e0b
mesa: bump version to 7.9
...
Now that the 7.8 branch has been created Mesa/master will be version 7.9
2010-03-05 17:35:10 -07:00
Jon TURNEY
96ab4d2b84
glx: Move initialization of ext_list_first_time to where it's storage is allocated
...
Move the initialization of ext_list_first_time from all of the DRI loader's
CreateScreen routines, to where the storage for the screen config is
allocated.
It needs to get set in the screen-config even if DRI is forced off
using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized
correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE
Specifically, this causes a problem with an X server which advertises
GLX<=1.2, and the GLX_SGIX_fbconfig extension.
glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to
check if the GLX_SGIX_fbconfig extension is available, but that function
won't return correct information because that data has never been
initialized, because ext_list_first_time was never set...
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-05 17:11:23 -07:00
Ian Romanick
77fc3ef911
meta: Use the DrawBuffer's stencil size
...
Previously the code was erroneously using the stencil size of the
context instead of the stencil size of the DrawBuffer. With FBOs
these may be different. As a result, clearing the stencil buffer of
an FBO bound to a context that doesn't have stencil would fail.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05 16:04:59 -08:00
Ian Romanick
66c0abba6b
swrast: Remove redundant test of the visual's accumulation buffer size
...
If the visual doesn't have an accumulation buffer, the renderbuffer
passed into _swrast_clear_accum_buffer will be NULL anyway. There is
no reason the check the visual. Moreover, the test erroneously checks
the context's visual instead of the visual of the current DrawBuffer.
With FBOs these may be different.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05 16:04:59 -08:00
Ian Romanick
ebbec7e4e4
swrast: Adjust colors based on ReadBuffer visual, not context visual
...
In the presence of FBOs, the visual of the context may not match the,
possibly fake, visual of the current ReadBuffer. Note that the caller
of adjust_colors correctly uses the visual of the ReadBuffer.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05 16:04:59 -08:00
Ian Romanick
c67af0628b
swrast: Remove stray comment that mentions ctx->Visual
...
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05 16:04:59 -08:00
Brian Paul
1a0a2b64ca
gallivm: checkpoint: code gen for mipmap selection
2010-03-05 16:52:11 -07:00
Brian Paul
b5038fdd65
llvmpipe: added code to set texture depth, max mipmap levels info
2010-03-05 16:51:35 -07:00
Brian Paul
7f4b5c5387
gallivm: added methods for getting texture depth, num mipmap levels
2010-03-05 16:50:48 -07:00