summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-03-06mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul
Useful for debugging to override an application's shader.
2009-03-06i965: bump up BRW_EU_MAX_INSNBrian Paul
This is the size of the intermediate instruction buffer.
2009-03-06mesa: add new program optimizer codeBrian Paul
This is pretty simplistic for now, but helps with certain shaders.
2009-03-06i965: commentsBrian Paul
2009-03-06i965: comments and minor clean-upsBrian Paul
2009-03-06i965: 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-06r300: fix depth write regression (found by Nicolai Haehnle)Maciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: enable EXT_fog_coord extensionMaciej Cencora
Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: route fog coord and W pos correctlyMaciej Cencora
Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: rewrite and hopefully simplify RS setupMaciej Cencora
Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: add few macros for RS setupMaciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: silence valgrindMaciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: Print reg address when debugging is enabledMaciej Cencora
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06fp: add some more texture, position and kill testsKeith Whitwell
2009-03-06fp: new kill + position testKeith Whitwell
2009-03-06fp: dont reference fragment.position.zwKeith Whitwell
2009-03-06engine: also print fps data to stdoutKeith Whitwell
Useful for figuring out how much of a perf impact the glBitmap fps display has on a given driver.
2009-03-06r300: don't crash on sw tcl hw if point size vertex attrib is sentMaciej Cencora
2009-03-06r300-gallium: GA enhancements.Corbin Simpson
Basically an errata fixup register.
2009-03-06r300-gallium: Flat/smooth shading state.Corbin Simpson
2009-03-06r300-gallium: Pick up a few more bits of rs_state.Corbin Simpson
Including two registers that already should have been covered...huh...
2009-03-06wgl: Check support for all other depth/stencil formats.José Fonseca
2009-03-06wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.José Fonseca
2009-03-06Updated darwin config for when X11 is not in the same location as we're ↵Jeremy Huddleston
installing to
2009-03-06mesa: Reads must also be done with lock held.José Fonseca
Otherwise two threads might think each made the refcount go zero.
2009-03-06mesa: Fix typo.José Fonseca
Windows threads block if one over-unlocks them.
2009-03-05intel: 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-05i965: fix 3DPRIMITIVE batch decode of the vertex count field.Eric Anholt
2009-03-05i965: Stop dumping programs after the first all-zeroes entry.Eric Anholt
2009-03-05intel: 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-05intel: 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-05i965: Add a note about why the _NEW_STENCIL is required in draw_buffers.Eric Anholt
2009-03-05intel: 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-05i965: Remove dead flushing code.Eric Anholt
2009-03-06st/xorg: Install to XORG_DRIVER_INSTALL_DIRJoel Bosveld
2009-03-05i965: comments and formatting fixesBrian Paul
2009-03-05i965: fix emit_math1() function used for scalar instructionsBrian 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-05mesa: added some assertionsBrian Paul
2009-03-05mesa: when printing src regs, use |reg| for absolute valueBrian Paul
And check opcode number to avoid crashing on driver-private opcodes.
2009-03-05i965: fix screen depth test in intel_validate_framebuffer)_Brian Paul
front_region may be null.
2009-03-05i965: init dest reg CondMask = COND_TR (the proper default)Brian Paul
Plus fix up a debug printf.
2009-03-05r300-gallium: Move RS block setup to CSO.Corbin Simpson
2009-03-05r300-gallium: Move scissor state.Corbin Simpson
Keep it grouped with all the other parameterized state.
2009-03-05r300-gallium: Fix up vertex count.Corbin Simpson
2009-03-05r300-gallium: Use only one CS section for vertex_format.Corbin Simpson
2009-03-05Revert "softpipe: added null ptr check for align_free() call in vbuf code"Brian Paul
This reverts commit 6db24f449de9cc81e1f7bb2dde55a9819463d5e5. With a null ptr check in align_free() this is no longer needed.
2009-03-05gallium: added null ptr check in align_free()Brian Paul
2009-03-05mesa: add wglext.h to tarball listBrian Paul
2009-03-05gl: added include/GL/wglext.hBrian Paul
2009-03-05softpipe: added null ptr check for align_free() call in vbuf codeBrian Paul
Fixes GALLIUM_NOCELL path. See bug 20475.