Maciej Cencora
005ad1a71d
r300: don't crash on sw tcl hw if point size vertex attrib is sent
2009-03-06 21:55:12 +01:00
Corbin Simpson
9c3796417f
r300-gallium: GA enhancements.
...
Basically an errata fixup register.
2009-03-06 11:28:08 -08:00
Corbin Simpson
17331a77f6
r300-gallium: Flat/smooth shading state.
2009-03-06 11:17:55 -08:00
Corbin Simpson
d965c15777
r300-gallium: Pick up a few more bits of rs_state.
...
Including two registers that already should have been covered...huh...
2009-03-06 10:30:15 -08:00
José Fonseca
0bbcb47901
wgl: Check support for all other depth/stencil formats.
2009-03-06 18:04:25 +00:00
José Fonseca
78071fe767
wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.
2009-03-06 18:04:25 +00:00
Jeremy Huddleston
7817fea0b6
Updated darwin config for when X11 is not in the same location as we're installing to
2009-03-06 11:21:45 -05:00
José Fonseca
8bbb6b352a
mesa: Reads must also be done with lock held.
...
Otherwise two threads might think each made the refcount go zero.
2009-03-06 14:03:04 +00:00
José Fonseca
f6159ba4d5
mesa: Fix typo.
...
Windows threads block if one over-unlocks them.
2009-03-06 14:03:04 +00:00
Eric Anholt
19e134051c
intel: Fix bpp setting of blits to 8bpp targets.
...
This was causing hangs in cairogears, as we would blit to the 8bpp target
(A8 texture) as 16bpp, and stomp over state objects.
2009-03-05 23:43:43 -08:00
Eric Anholt
d0ec7c109c
i965: fix 3DPRIMITIVE batch decode of the vertex count field.
2009-03-05 19:42:19 -08:00
Eric Anholt
cade74e3f4
i965: Stop dumping programs after the first all-zeroes entry.
2009-03-05 19:42:18 -08:00
Eric Anholt
40bc2748c2
intel: Add always_flush_batch driconf option for making small batchbuffers.
...
This can improve debugging with INTEL_DEBUG=batch,sync by giving smaller
batchbuffers.
2009-03-05 19:42:18 -08:00
Eric Anholt
f3687284c1
intel: Add always_flush_cache driconf option for debugging cache flush failure.
...
I keep wanting to hack this knob in as a one-time thing, so it seemed useful
to have all the time.
2009-03-05 19:42:17 -08:00
Eric Anholt
9882695052
i965: Add a note about why the _NEW_STENCIL is required in draw_buffers.
2009-03-05 19:42:17 -08:00
Eric Anholt
f085147258
intel: Remove a gratuitous MI_FLUSH after clearing with a blit.
...
The 3D destination shares the same cache so we don't have any trouble with
the later commands needing the writes flushed inside of the same batchbuffer.
2009-03-05 19:42:16 -08:00
Eric Anholt
0d31e340f8
i965: Remove dead flushing code.
2009-03-05 19:42:16 -08:00
Joel Bosveld
8acca48cd5
st/xorg: Install to XORG_DRIVER_INSTALL_DIR
2009-03-06 01:31:49 +01:00
Brian Paul
9ffc1784b4
i965: comments and formatting fixes
2009-03-05 17:25:25 -07:00
Brian Paul
3485801978
i965: fix emit_math1() function used for scalar instructions
...
Instructions such as RCP, RSQ, LOG must smear the result of the function
across the dest register's X, Y, Z and W channels (subject to write masking).
Before this change, only the X component was getting written.
Among other things, this fixes cube map texture sampling in GLSL shaders
(since cube lookups involve normalizing the texcoord).
2009-03-05 17:25:25 -07:00
Brian Paul
be8c0b25ea
mesa: added some assertions
2009-03-05 17:25:25 -07:00
Brian Paul
f787baff80
mesa: when printing src regs, use |reg| for absolute value
...
And check opcode number to avoid crashing on driver-private opcodes.
2009-03-05 17:25:25 -07:00
Brian Paul
ee41bb2ed0
i965: fix screen depth test in intel_validate_framebuffer)_
...
front_region may be null.
2009-03-05 17:25:25 -07:00
Brian Paul
20f49252e1
i965: init dest reg CondMask = COND_TR (the proper default)
...
Plus fix up a debug printf.
2009-03-05 17:25:25 -07:00
Corbin Simpson
0b723b8b89
r300-gallium: Move RS block setup to CSO.
2009-03-05 12:41:54 -08:00
Corbin Simpson
ac2acda036
r300-gallium: Move scissor state.
...
Keep it grouped with all the other parameterized state.
2009-03-05 12:41:54 -08:00
Corbin Simpson
626ac95335
r300-gallium: Fix up vertex count.
2009-03-05 12:41:53 -08:00
Corbin Simpson
a3b168df48
r300-gallium: Use only one CS section for vertex_format.
2009-03-05 12:41:53 -08:00
Brian Paul
9d9a7edfbc
Revert "softpipe: added null ptr check for align_free() call in vbuf code"
...
This reverts commit 6db24f449d
.
With a null ptr check in align_free() this is no longer needed.
2009-03-05 10:01:53 -07:00
Brian Paul
ca640ca959
gallium: added null ptr check in align_free()
2009-03-05 10:01:28 -07:00
Brian Paul
3ba370ad7f
mesa: add wglext.h to tarball list
2009-03-05 10:01:28 -07:00
Brian Paul
493b69a0c8
gl: added include/GL/wglext.h
2009-03-05 10:01:28 -07:00
Brian Paul
6db24f449d
softpipe: added null ptr check for align_free() call in vbuf code
...
Fixes GALLIUM_NOCELL path. See bug 20475.
2009-03-05 09:49:27 -07:00
Corbin Simpson
df8755edbe
r300-gallium: C++ compat fix.
...
Oops. :3
2009-03-05 08:41:30 -08:00
Joakim Sindholt
dc527de95e
radeon-gallium: fix dri2 build
2009-03-05 08:41:30 -08:00
Brian Paul
8d5b8a4615
gl: update glext.h to version 46
2009-03-05 08:25:37 -07:00
Corbin Simpson
86a06f0674
radeon-gallium: Add Xorg state tracker Radeon winsys stub.
2009-03-04 20:52:45 -08:00
Corbin Simpson
fc1859c264
radeon-gallium: Only build drivers for state trackers that are enabled.
2009-03-04 20:46:10 -08:00
Brian Paul
b5d3c17427
tests: add new mapbufrange.c test to test GL_ARB_map_buffer_range
...
This only tests the most basic functionality for now.
2009-03-04 21:03:29 -07:00
Brian Paul
5c18ff2bf8
fix incorrect prototype for glMapBufferRange() in glext.h
...
Needs to return void *
2009-03-04 20:26:23 -07:00
Robert Ellison
3468315087
i965: add software fallback for conformant 3D textures and GL_CLAMP
...
The i965 hardware cannot do GL_CLAMP behavior on textures; an earlier
commit forced a software fallback if strict conformance was required
(i.e. the INTEL_STRICT_CONFORMANCE environment variable was set) and
2D textures were used, but it was somewhat flawed - it could trigger
the software fallback even if 2D textures weren't enabled, as long
as one texture unit was enabled.
This fixes that, and adds software fallback for GL_CLAMP behavior with
1D and 3D textures.
It also adds support for a particular setting of the INTEL_STRICT_CONFORMANCE
environment variable, which forces software fallbacks to be taken *all*
the time. This is helpful with debugging. The value is:
export INTEL_STRICT_CONFORMANCE=2
2009-03-04 16:59:00 -07:00
Corbin Simpson
1281bac3ba
radeon-gallium: Enable EGL and Xorg state trackers.
...
Compile-tested only, but I have high hopes.
2009-03-04 15:50:01 -08:00
Corbin Simpson
07ffb00d30
radeon-gallium: DRI2 state tracker, part 3.
...
Properly setup the build process for adding in xorg and egl trackers,
and finally put radeon_context and radeon_screen to bed.
2009-03-04 15:50:00 -08:00
Corbin Simpson
04ae9c3fdd
r300-gallium: Add unaccelerated surface_copy.
2009-03-04 15:50:00 -08:00
Brian Paul
bed3a8e1f6
mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string
2009-03-04 16:48:05 -07:00
Brian Paul
7979c6024c
mesa: call _mesa_get_cpu_features() during one-time-init
2009-03-04 16:43:39 -07:00
Brian Paul
2cbc4655a8
mesa: new cpuinfo.c file to init/query cpu info and extensions
2009-03-04 16:43:39 -07:00
Brian Paul
16d72437ea
mesa: _mesa_get_x86_features() only needs to do its thing once
2009-03-04 16:43:39 -07:00
Jakob Bornecrantz
b417c978a9
st/xorg: Clean up xorg_exa.c a bit
2009-03-05 00:10:12 +01:00
Jakob Bornecrantz
b611f81477
st/xorg: Change format function a bit
2009-03-05 00:10:12 +01:00