summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-07Fix nv50_screen_create()Victor Stinner1-17/+18
Setup screen->pipe before using it (screen->constbuf = screen->pipe.buffer_create(...))
2009-03-07Fix nouveau_pipe_create() / nouveau_context_init(): raise an error if the ↵Victor Stinner2-3/+10
screen/pipe creation failed
2009-03-06Add Solaris to OS'es using PROT_EXEC mmap() to get executable heap spaceAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-06r300-gallium: Fix masking on vertex formats.Corbin Simpson1-2/+2
Gah, what a simple yet terrible mistake.
2009-03-06r300-gallium: Remove unknown regs.Corbin Simpson1-11/+0
Leftovers from fglrx traces, probably.
2009-03-06r300-gallium: Actually do framebuffer setup.Corbin Simpson1-1/+6
Can't believe this wasn't wired up.
2009-03-06r300-gallium: Make sure registers are inside BEGIN/END CS.Corbin Simpson1-1/+2
2009-03-06r300-gallium: Separate out fog block.Corbin Simpson2-9/+9
We'll never actually use fog block. (I hope.)
2009-03-06glsl: call the program optimizerBrian Paul1-0/+5
This still needs more testing bug glean and Mesa GLSL tests seem OK.
2009-03-06i965: check if we run out of GRF/temp registersBrian Paul1-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.
2009-03-06mesa: added _mesa_read_shader() function to read shaders from filesBrian Paul1-0/+51
Useful for debugging to override an application's shader.
2009-03-06i965: bump up BRW_EU_MAX_INSNBrian Paul1-1/+1
This is the size of the intermediate instruction buffer.
2009-03-06mesa: add new program optimizer codeBrian Paul4-0/+462
This is pretty simplistic for now, but helps with certain shaders.
2009-03-06i965: commentsBrian Paul1-0/+2
2009-03-06i965: comments and minor clean-upsBrian Paul1-3/+43
2009-03-06i965: avoid unnecessary calls to brw_wm_is_glsl()Brian Paul4-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.
2009-03-06r300: fix depth write regression (found by Nicolai Haehnle)Maciej Cencora1-3/+10
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: enable EXT_fog_coord extensionMaciej Cencora2-161/+20
Remove fixed function fog setup. Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: route fog coord and W pos correctlyMaciej Cencora2-42/+106
Also cleanup sw tcl vertex buffer setup Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: rewrite and hopefully simplify RS setupMaciej Cencora3-213/+225
Testing and regression fixes by Markus Amsler Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: add few macros for RS setupMaciej Cencora1-0/+6
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: silence valgrindMaciej Cencora1-1/+1
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06r300: Print reg address when debugging is enabledMaciej Cencora1-4/+14
Signed-off-by: Nicolai Haehnle <nhaehnle@gmail.com>
2009-03-06fp: add some more texture, position and kill testsKeith Whitwell4-1/+36
2009-03-06fp: new kill + position testKeith Whitwell1-0/+9
2009-03-06fp: dont reference fragment.position.zwKeith Whitwell1-1/+2
2009-03-06engine: also print fps data to stdoutKeith Whitwell1-0/+22
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 Cencora1-2/+2
2009-03-06r300-gallium: GA enhancements.Corbin Simpson2-3/+14
Basically an errata fixup register.
2009-03-06r300-gallium: Flat/smooth shading state.Corbin Simpson6-17/+32
2009-03-06r300-gallium: Pick up a few more bits of rs_state.Corbin Simpson5-14/+23
Including two registers that already should have been covered...huh...
2009-03-06wgl: Check support for all other depth/stencil formats.José Fonseca1-7/+18
2009-03-06wgl: Choose a supported S8Z24/Z24S8/X8Z24/Z24X8.José Fonseca1-2/+24
2009-03-06Updated darwin config for when X11 is not in the same location as we're ↵Jeremy Huddleston1-6/+8
installing to
2009-03-06mesa: Reads must also be done with lock held.José Fonseca1-3/+5
Otherwise two threads might think each made the refcount go zero.
2009-03-06mesa: Fix typo.José Fonseca1-1/+1
Windows threads block if one over-unlocks them.
2009-03-05intel: Fix bpp setting of blits to 8bpp targets.Eric Anholt1-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.
2009-03-05i965: fix 3DPRIMITIVE batch decode of the vertex count field.Eric Anholt1-1/+1
2009-03-05i965: Stop dumping programs after the first all-zeroes entry.Eric Anholt1-0/+8
2009-03-05intel: Add always_flush_batch driconf option for making small batchbuffers.Eric Anholt6-1/+25
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 Anholt7-2/+42
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 Anholt1-0/+5
2009-03-05intel: Remove a gratuitous MI_FLUSH after clearing with a blit.Eric Anholt1-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.
2009-03-05i965: Remove dead flushing code.Eric Anholt4-23/+0
2009-03-06st/xorg: Install to XORG_DRIVER_INSTALL_DIRJoel Bosveld5-2/+17
2009-03-05i965: comments and formatting fixesBrian Paul1-4/+14
2009-03-05i965: fix emit_math1() function used for scalar instructionsBrian Paul1-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).
2009-03-05mesa: added some assertionsBrian Paul1-0/+2
2009-03-05mesa: when printing src regs, use |reg| for absolute valueBrian Paul1-7/+16
And check opcode number to avoid crashing on driver-private opcodes.
2009-03-05i965: fix screen depth test in intel_validate_framebuffer)_Brian Paul1-1/+2
front_region may be null.