Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-06 | mesa: add new program optimizer code | Brian Paul | |
This is pretty simplistic for now, but helps with certain shaders. | |||
2009-03-06 | i965: comments | Brian Paul | |
2009-03-06 | i965: comments and minor clean-ups | Brian Paul | |
2009-03-06 | i965: avoid unnecessary calls to brw_wm_is_glsl() | Brian Paul | |
This function scans the shader to see if it has any GLSL features like conditionals and loops. Calling this during state validation is expensive. Just call it when the shader is given to the driver and save the result. There's some new/temporary assertions to be sure we don't get out of sync on this. | |||
2009-03-06 | r300: fix depth write regression (found by Nicolai Haehnle) | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: enable EXT_fog_coord extension | Maciej Cencora | |
Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: route fog coord and W pos correctly | Maciej Cencora | |
Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: rewrite and hopefully simplify RS setup | Maciej Cencora | |
Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: add few macros for RS setup | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: silence valgrind | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: Print reg address when debugging is enabled | Maciej Cencora | |
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com> | |||
2009-03-06 | r300: don't crash on sw tcl hw if point size vertex attrib is sent | Maciej Cencora | |
2009-03-06 | mesa: Reads must also be done with lock held. | José Fonseca | |
Otherwise two threads might think each made the refcount go zero. | |||
2009-03-06 | mesa: Fix typo. | José Fonseca | |
Windows threads block if one over-unlocks them. | |||
2009-03-05 | intel: Fix bpp setting of blits to 8bpp targets. | Eric Anholt | |
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 | i965: fix 3DPRIMITIVE batch decode of the vertex count field. | Eric Anholt | |
2009-03-05 | i965: Stop dumping programs after the first all-zeroes entry. | Eric Anholt | |
2009-03-05 | intel: Add always_flush_batch driconf option for making small batchbuffers. | Eric Anholt | |
This can improve debugging with INTEL_DEBUG=batch,sync by giving smaller batchbuffers. | |||
2009-03-05 | intel: Add always_flush_cache driconf option for debugging cache flush failure. | Eric Anholt | |
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 | i965: Add a note about why the _NEW_STENCIL is required in draw_buffers. | Eric Anholt | |
2009-03-05 | intel: Remove a gratuitous MI_FLUSH after clearing with a blit. | Eric Anholt | |
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 | i965: Remove dead flushing code. | Eric Anholt | |
2009-03-05 | i965: comments and formatting fixes | Brian Paul | |
2009-03-05 | i965: fix emit_math1() function used for scalar instructions | Brian Paul | |
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 | mesa: added some assertions | Brian Paul | |
2009-03-05 | mesa: when printing src regs, use |reg| for absolute value | Brian Paul | |
And check opcode number to avoid crashing on driver-private opcodes. | |||
2009-03-05 | i965: fix screen depth test in intel_validate_framebuffer)_ | Brian Paul | |
front_region may be null. | |||
2009-03-05 | i965: init dest reg CondMask = COND_TR (the proper default) | Brian Paul | |
Plus fix up a debug printf. | |||
2009-03-04 | i965: add software fallback for conformant 3D textures and GL_CLAMP | Robert Ellison | |
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 | mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string | Brian Paul | |
2009-03-04 | mesa: call _mesa_get_cpu_features() during one-time-init | Brian Paul | |
2009-03-04 | mesa: new cpuinfo.c file to init/query cpu info and extensions | Brian Paul | |
2009-03-04 | mesa: _mesa_get_x86_features() only needs to do its thing once | Brian Paul | |
2009-03-05 | mesa: Add x86/common_x86.c to libmesagallium.a | Jakob Bornecrantz | |
Thanks to Brian for the refactor commit | |||
2009-03-04 | mesa: move sse.h and 3dnow.h #includes | Brian Paul | |
2009-03-04 | mesa: remove unneeded x86.h header | Brian Paul | |
2009-03-04 | mesa: make _mesa_init_x86_transform_asm() static | Brian Paul | |
2009-03-04 | mesa: rename common_x86_macros.h -> x86_xform.h | Brian Paul | |
2009-03-04 | mesa: rename x86.c -> x86_xform.c | Brian Paul | |
2009-03-04 | mesa: refactor x86 code | Brian Paul | |
Move _mesa_init_all_x86_transform_asm() into x86.c so that common_x86.c has no dependencies on the vertex transformation code. Plus some comments and clean-ups. | |||
2009-03-04 | mesa: Follow ARB_map_buffer_range more stricly. | José Fonseca | |
Namelly, FlushMappedBufferRange takes a subrange relative to the original range. | |||
2009-03-04 | Merge commit 'origin/master' into gallium-map-range | José Fonseca | |
2009-03-04 | vbo: second attempt - avoid getting buffer_ptr and buffer_map out of sync | Keith Whitwell | |
2009-03-04 | mesa: Clear cache->trans after destroying the transfer. | José Fonseca | |
2009-03-04 | mesa: Clear cache->trans after destroying the transfer. | José Fonseca | |
2009-03-04 | Revert "vbo: avoid getting buffer_ptr and buffer_map out of sync" | Keith Whitwell | |
This fixed a minor bug but broke everything else. This reverts commit 579ef8ab1984d895867f547afa60b3bec4c4599a. | |||
2009-03-04 | vbo: avoid getting buffer_ptr and buffer_map out of sync | Keith Whitwell | |
2009-03-04 | Merge commit 'origin/master' into gallium-map-range | José Fonseca | |
2009-03-04 | vbo: use FLUSH_UPDATE_CURRENT flag to indicate whether the vbo module is active | Keith Whitwell | |
Add asserts for expected values on wakeup and flush. Remove cases where this flag is set or cleared except when waking up and flushing vbo module. | |||
2009-03-04 | mesa: include mfeatures.h | Brian Paul | |
See bug 20319. |