Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-22 | i965: Add support for pull constants to the new FS backend. | Eric Anholt | |
Fixes glsl-fs-uniform-array-5, but not 6 which fails in ir_to_mesa. | |||
2010-10-22 | i965: Move the FS disasm/annotation printout to codegen time. | Eric Anholt | |
This makes it a lot easier to track down where we failed when some code emit triggers an assert. Plus, less memory allocation for codegen. | |||
2010-10-22 | mesa: move declaration before code | Brian Paul | |
2010-10-22 | dri/nouveau: Force a "slow" Z clear if we're getting a new depth buffer. | Francisco Jerez | |
2010-10-21 | Merge branch 'primitive-restart-cleanup' | Brian Paul | |
Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out. | |||
2010-10-21 | st/mesa: support for primitive restart | Brian Paul | |
2010-10-21 | vbo: support for primitive restart | Brian Paul | |
We handle splitting of glDrawArrays() calls into two primitives here so that drivers don't have to worry about it. | |||
2010-10-21 | mesa: plug in primitive restart function | Brian Paul | |
2010-10-21 | mesa: regenerated files with primitive restart | Brian Paul | |
2010-10-21 | mesa: set/get primitive restart state | Brian Paul | |
2010-10-21 | mesa: driver hook for primitive restart | Brian Paul | |
2010-10-21 | i965: Be more aggressive in tracking live/dead intervals within loops. | Eric Anholt | |
Fixes glsl-fs-convolution-2, which was blowing up due to the array access insanity getting at the uniform values within the loop. Each temporary was considered live across the whole loop. | |||
2010-10-21 | st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format() | Brian Paul | |
2010-10-21 | mesa: add missing cases for packing red/green images | Brian Paul | |
2010-10-21 | mesa: add GL_RG case to _mesa_source_buffer_exists() | Brian Paul | |
Fixes failure with glReadPixels(format=GL_RG) | |||
2010-10-21 | i965: Correct scratch space allocation. | Eric Anholt | |
One, it was allocating increments of 1kb, but per thread scratch space is a power of two. Two, the new FS wasn't getting total_scratch set at all, so everyone thought they had 1kb and writes beyond 1kb would go stomping on a neighbor thread. With this plus the previous register spilling for the new FS, glsl-fs-convolution-1 passes. | |||
2010-10-21 | i965: Don't emit register spill offsets directly into g0. | Eric Anholt | |
g0 is used by others, and is expected to be left exactly as it was dispatched to us. So manually move g0 into our message reg when spilling/unspilling and update the offset in the MRF. Fixes failures in texture sampling after having spilled a register. | |||
2010-10-21 | i965: Add support for register spilling. | Eric Anholt | |
It can be tested with if (0) replaced with if (1) to force spilling for all virtual GRFs. Some simple tests work, but large texturing tests fail. | |||
2010-10-21 | i965: Fix gl_FrontFacing emit on pre-gen6. | Eric Anholt | |
It's amazing this code worked. Basically, we would get lucky in register allocation and the tests using frontfacing would happen to allocate gl_FrontFacing storage and the instructions generating gl_FrontFacing but pointing at another register to the same hardware register. Noticed during register spilling debug, when suddenly they didn't get allocatd the same storage. | |||
2010-10-21 | i965: Split register allocation out of the ever-growing brw_fs.cpp. | Eric Anholt | |
2010-10-21 | mesa: Remove unused vtxfmt_tmp.h. | Chia-I Wu | |
It was used by the "neutral" tnl module that was dropped in 81ccb3e2ce708619f4c23537a237d61bdffdd35f. | |||
2010-10-20 | swrast: Print out format on unexpected failure in _swrast_DrawPixels. | Vinson Lee | |
2010-10-20 | mesa: Remove FEATURE_ARB_shading_language_120 macro. | Kenneth Graunke | |
Everything should be able to support 1.20 at this point. | |||
2010-10-20 | osmesa: link against libtalloc | Orion Poplawski | |
Otherwise consumers have to, and that's lame. Signed-off-by: Adam Jackson <ajax@redhat.com> | |||
2010-10-19 | i965: Use the new style of IF statement with embedded comparison on gen6. | Eric Anholt | |
"Everyone else" does it this way, so follow suit. It's fewer instructions, anyway. | |||
2010-10-19 | i965: Set the source operand types for gen6 if/else/endif to integer. | Eric Anholt | |
I don't think this should matter, but I'm not sure, and it's recommended by a kernel checker in fulsim. | |||
2010-10-19 | i965: Add EU emit support for gen6's new IF instruction with comparison. | Eric Anholt | |
2010-10-19 | i965: Disable thread dispatch when the FS doesn't do any work. | Eric Anholt | |
This should reduce the cost of generating shadow maps, for example. No performance difference measured in nexuiz, though it does trigger this path. | |||
2010-10-19 | i965: Remove the gen6 emit_mi_flushes I sprinkled around the driver. | Eric Anholt | |
These were for debugging in bringup. Now that relatively complicated apps are working, they haven't helped debug anything in quite a while. | |||
2010-10-19 | i965: Tell the shader compiler when we expect depth writes for gen6. | Eric Anholt | |
This fixes hangs in some Z-writes-in-shaders tests, though other pieces don't come out correctly. Bug #30392: hang in fbo-fblit-d24s8. (still fails with bad color drawn to some targets) | |||
2010-10-19 | mesa: fix mesa version string construction | Brian Paul | |
Now that MESA_MINOR=10, we no longer need the extra '0' in the version string. | |||
2010-10-19 | mesa: Make sure we have the talloc cflags when using the talloc headers | Thomas Hellstrom | |
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2010-10-19 | r300/compiler: Remove unused variable. | Vinson Lee | |
2010-10-18 | r300g: Add new debug option for logging vertex/fragment program stats | Tom Stellard | |
2010-10-18 | r300/compiler: Add a new function for more efficient dataflow analysis | Tom Stellard | |
rc_get_readers_normal() supplies a list of readers for a given instruction. This function is now being used by the copy propagate optimization and will eventually be used by most other optimization passes as well. | |||
2010-10-18 | r300/compiler: Clear empty registers after constant folding | Tom Stellard | |
2010-10-18 | r300/compiler: Fix incorrect assumption | Tom Stellard | |
It is possible for a single pair instruction arg to select from both an RGB and an Alpha source. | |||
2010-10-18 | r300/compiler: Create a helper function for merging presubtract sources | Tom Stellard | |
2010-10-18 | i965: Remove unused variable. | Kenneth Graunke | |
2010-10-18 | i965: Avoid blits in BufferCopySubdata on gen6. | Eric Anholt | |
Fixes glean/bufferObject. | |||
2010-10-18 | i965: Fix scissor-offscreen on gen6 like we did pre-gen6. | Eric Anholt | |
2010-10-18 | i965: Assert out on gen6 VS constant buffer reads that hang the GPU for now. | Eric Anholt | |
2010-10-18 | i965: Fix assertion failure on gen6 BufferSubData to busy BO. | Eric Anholt | |
Fixes fbo-blit and probably several other tests. | |||
2010-10-18 | i965: Fix a weirdness in NOT handling. | Eric Anholt | |
XOR makes much more sense. Note that the previous code would have failed for not(not(x)), but that gets optimized out. | |||
2010-10-18 | i965: Disable the debug printf I added for FS disasm. | Eric Anholt | |
2010-10-18 | i965: Add missing "break" statement. | Kenneth Graunke | |
Otherwise, it would try to handle arrays as structures, use uninitialized memory, and crash. | |||
2010-10-18 | mesa: Add missing else in do_row_3D | Brian Rogers | |
This fixes erroneous "bad format in do_row()" messages Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-10-15 | st/mesa: update function name, comments | Brian Paul | |
2010-10-15 | st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32 | Brian Paul | |
2010-10-15 | st/mesa: reformatting in st_cb_drawpixels.c | Brian Paul | |