Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: remove old comment | Brian Paul | 2009-03-07 | 1 | -2/+0 |
| | |||||
* | swrast: rename s_buffers.c -> s_clear.c | Brian Paul | 2009-03-07 | 2 | -1/+1 |
| | |||||
* | mesa: gl_register_file enum typedef | Brian Paul | 2009-03-07 | 15 | -64/+64 |
| | |||||
* | mesa: remove GL_MESA_program_debug extension | Brian Paul | 2009-03-07 | 22 | -515/+0 |
| | | | | This was never fully fleshed out and hasn't been used. | ||||
* | mesa: silence warning | Brian Paul | 2009-03-07 | 1 | -2/+2 |
| | |||||
* | mesa: remove last of _mesa_unreference_framebuffer() calls | Brian Paul | 2009-03-07 | 21 | -38/+19 |
| | |||||
* | r300: shut up valgrind | Maciej Cencora | 2009-03-07 | 2 | -2/+2 |
| | | | | | | It complained about uninitialized values Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap space | Alan Coopersmith | 2009-03-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Alan Coopersmith <[email protected]> | ||||
* | glsl: call the program optimizer | Brian Paul | 2009-03-06 | 1 | -0/+5 |
| | | | | This still needs more testing bug glean and Mesa GLSL tests seem OK. | ||||
* | i965: check if we run out of GRF/temp registers | Brian Paul | 2009-03-06 | 1 | -1/+25 |
| | | | | | | | Before this change we would up emitting instructions with invalid register numbers. This typically (but not always) hung the GPU. For now, just prevent emitting bad instructions to avoid hangs. Still need to do some kind of proper error recovery. | ||||
* | mesa: added _mesa_read_shader() function to read shaders from files | Brian Paul | 2009-03-06 | 1 | -0/+51 |
| | | | | Useful for debugging to override an application's shader. | ||||
* | i965: bump up BRW_EU_MAX_INSN | Brian Paul | 2009-03-06 | 1 | -1/+1 |
| | | | | This is the size of the intermediate instruction buffer. | ||||
* | mesa: add new program optimizer code | Brian Paul | 2009-03-06 | 4 | -0/+462 |
| | | | | This is pretty simplistic for now, but helps with certain shaders. | ||||
* | i965: comments | Brian Paul | 2009-03-06 | 1 | -0/+2 |
| | |||||
* | i965: comments and minor clean-ups | Brian Paul | 2009-03-06 | 1 | -3/+43 |
| | |||||
* | i965: avoid unnecessary calls to brw_wm_is_glsl() | Brian Paul | 2009-03-06 | 4 | -2/+12 |
| | | | | | | | | | 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. | ||||
* | r300: fix depth write regression (found by Nicolai Haehnle) | Maciej Cencora | 2009-03-06 | 1 | -3/+10 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: enable EXT_fog_coord extension | Maciej Cencora | 2009-03-06 | 2 | -161/+20 |
| | | | | | | Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: route fog coord and W pos correctly | Maciej Cencora | 2009-03-06 | 2 | -42/+106 |
| | | | | | | Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: rewrite and hopefully simplify RS setup | Maciej Cencora | 2009-03-06 | 3 | -213/+225 |
| | | | | | | Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: add few macros for RS setup | Maciej Cencora | 2009-03-06 | 1 | -0/+6 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: silence valgrind | Maciej Cencora | 2009-03-06 | 1 | -1/+1 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: Print reg address when debugging is enabled | Maciej Cencora | 2009-03-06 | 1 | -4/+14 |
| | | | | Signed-off-by: Nicolai Haehnle <[email protected]> | ||||
* | r300: don't crash on sw tcl hw if point size vertex attrib is sent | Maciej Cencora | 2009-03-06 | 1 | -2/+2 |
| | |||||
* | mesa: Reads must also be done with lock held. | José Fonseca | 2009-03-06 | 1 | -3/+5 |
| | | | | Otherwise two threads might think each made the refcount go zero. | ||||
* | mesa: Fix typo. | José Fonseca | 2009-03-06 | 1 | -1/+1 |
| | | | | Windows threads block if one over-unlocks them. | ||||
* | intel: Fix bpp setting of blits to 8bpp targets. | Eric Anholt | 2009-03-05 | 1 | -0/+2 |
| | | | | | This was causing hangs in cairogears, as we would blit to the 8bpp target (A8 texture) as 16bpp, and stomp over state objects. | ||||
* | i965: fix 3DPRIMITIVE batch decode of the vertex count field. | Eric Anholt | 2009-03-05 | 1 | -1/+1 |
| | |||||
* | i965: Stop dumping programs after the first all-zeroes entry. | Eric Anholt | 2009-03-05 | 1 | -0/+8 |
| | |||||
* | intel: Add always_flush_batch driconf option for making small batchbuffers. | Eric Anholt | 2009-03-05 | 6 | -1/+25 |
| | | | | | This can improve debugging with INTEL_DEBUG=batch,sync by giving smaller batchbuffers. | ||||
* | intel: Add always_flush_cache driconf option for debugging cache flush failure. | Eric Anholt | 2009-03-05 | 7 | -2/+42 |
| | | | | | I keep wanting to hack this knob in as a one-time thing, so it seemed useful to have all the time. | ||||
* | i965: Add a note about why the _NEW_STENCIL is required in draw_buffers. | Eric Anholt | 2009-03-05 | 1 | -0/+5 |
| | |||||
* | intel: Remove a gratuitous MI_FLUSH after clearing with a blit. | Eric Anholt | 2009-03-05 | 1 | -1/+0 |
| | | | | | 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. | ||||
* | i965: Remove dead flushing code. | Eric Anholt | 2009-03-05 | 4 | -23/+0 |
| | |||||
* | i965: comments and formatting fixes | Brian Paul | 2009-03-05 | 1 | -4/+14 |
| | |||||
* | i965: fix emit_math1() function used for scalar instructions | Brian Paul | 2009-03-05 | 1 | -9/+32 |
| | | | | | | | | | 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). | ||||
* | mesa: added some assertions | Brian Paul | 2009-03-05 | 1 | -0/+2 |
| | |||||
* | mesa: when printing src regs, use |reg| for absolute value | Brian Paul | 2009-03-05 | 1 | -7/+16 |
| | | | | And check opcode number to avoid crashing on driver-private opcodes. | ||||
* | i965: fix screen depth test in intel_validate_framebuffer)_ | Brian Paul | 2009-03-05 | 1 | -1/+2 |
| | | | | front_region may be null. | ||||
* | i965: init dest reg CondMask = COND_TR (the proper default) | Brian Paul | 2009-03-05 | 1 | -2/+2 |
| | | | | Plus fix up a debug printf. | ||||
* | i965: add software fallback for conformant 3D textures and GL_CLAMP | Robert Ellison | 2009-03-04 | 4 | -10/+40 |
| | | | | | | | | | | | | | | | | | 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 | ||||
* | mesa: call _mesa_get_cpu_string() to get CPU info for GL_RENDERER string | Brian Paul | 2009-03-04 | 1 | -66/+8 |
| | |||||
* | mesa: call _mesa_get_cpu_features() during one-time-init | Brian Paul | 2009-03-04 | 1 | -0/+3 |
| | |||||
* | mesa: new cpuinfo.c file to init/query cpu info and extensions | Brian Paul | 2009-03-04 | 4 | -0/+158 |
| | |||||
* | mesa: _mesa_get_x86_features() only needs to do its thing once | Brian Paul | 2009-03-04 | 1 | -0/+8 |
| | |||||
* | mesa: Add x86/common_x86.c to libmesagallium.a | Jakob Bornecrantz | 2009-03-05 | 1 | -0/+1 |
| | | | | Thanks to Brian for the refactor commit | ||||
* | mesa: move sse.h and 3dnow.h #includes | Brian Paul | 2009-03-04 | 3 | -44/+9 |
| | |||||
* | mesa: remove unneeded x86.h header | Brian Paul | 2009-03-04 | 2 | -2/+0 |
| | |||||
* | mesa: make _mesa_init_x86_transform_asm() static | Brian Paul | 2009-03-04 | 2 | -2/+2 |
| | |||||
* | mesa: rename common_x86_macros.h -> x86_xform.h | Brian Paul | 2009-03-04 | 5 | -6/+6 |
| |