Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dri: Unset current context and dispatch table when unbinding | Kristian Høgsberg | 2010-09-08 | 4 | -0/+13 |
| | | | | | | | | Otherwise, when we switch to an indirect glx context and then back, it looks like we're still current. https://bugs.freedesktop.org/show_bug.cgi?id=29977#c7 Signed-off-by: Kristian Høgsberg <[email protected]> | ||||
* | i965: Enable EXT_framebuffer_blit internally. | Kenneth Graunke | 2010-09-07 | 1 | -0/+1 |
| | | | | | | Otherwise, ES2's BindFramebuffer entrypoint hits this assertion: main/fbobject.c:1323: _mesa_BindFramebufferEXT: Assertion `ctx->Extensions.EXT_framebuffer_blit' failed. | ||||
* | i965: Store the byte address in the VS constant buffer as an integer. | Eric Anholt | 2010-09-07 | 1 | -1/+1 |
| | | | | | | | We carefully multiplied our two ints (since we want to be precise after all) then stored them in a float, which is not specced to really work, in addition to wasting precision. Fixes vp-arl-constant-array-huge-* things since the assertions were added. | ||||
* | i965: Make pixel_xy results UW. | Eric Anholt | 2010-09-07 | 1 | -0/+2 |
| | | | | | | | There is a restriction on the destination of an operation involving a vector immediate being 128-bit aligned and the destination horizontal stride being equivalent to 2 bytes. Fixes bad pixel_x results from gl_FragCoord, where each pair had the same value. | ||||
* | i965: Don't bother with RNDZ for f2i. | Eric Anholt | 2010-09-07 | 1 | -1/+1 |
| | | | | | The default type conversion for MOV should be fine, and RNDZ actually requires two instructions. | ||||
* | i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments. | Eric Anholt | 2010-09-07 | 1 | -2/+57 |
| | | | | | Now that we're playing with other types in brw_fs.cpp, it's easy to trip over issues like these. | ||||
* | i965: Add assertion for another requirement about types. | Eric Anholt | 2010-09-07 | 1 | -1/+13 |
| | | | | This catches a failure in the FS backend. | ||||
* | i965: Align the start of attribute interp coefficients in FS to use PLN. | Eric Anholt | 2010-09-07 | 1 | -0/+8 |
| | |||||
* | i965: Just assert when we flagged a compile error in the FS for now. | Eric Anholt | 2010-09-07 | 1 | -3/+5 |
| | | | | | | Dumping back to potentially 16-wide dispatch doesn't really work out at the moment, and hopefully I'll just be able to resolve all the failures so we never have to do this at all. | ||||
* | i965: Clean up fs_reg setup by using a helper for constructors. | Eric Anholt | 2010-09-07 | 1 | -27/+16 |
| | |||||
* | i965: When using the new FS backend, don't validate the Mesa IR version. | Eric Anholt | 2010-09-07 | 1 | -0/+16 |
| | |||||
* | i965: Add a bit of validation for some ISA restrictions in the docs. | Eric Anholt | 2010-09-07 | 1 | -0/+70 |
| | |||||
* | i965: set the source width/stride when handling reladdr dests in the VS. | Eric Anholt | 2010-09-07 | 1 | -0/+6 |
| | | | | | This is a requirement specified in the docs. No behavior change in glsl-vs-varying-array.shader_test that violated these requirements. | ||||
* | dri: Make it a little clearer that we're not dereferencing a NULL pointer | nobled | 2010-09-07 | 1 | -1/+2 |
| | |||||
* | dri: Use the right type for the API token | nobled | 2010-09-07 | 1 | -1/+3 |
| | | | | | Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized. | ||||
* | nouveau: restore nouveau_class.h for nv04-nv20 | Luca Barbieri | 2010-09-07 | 1 | -1/+4953 |
| | | | | | Sorry, I deleted the Gallium copy without realizing that the DRI one was just a symlink to it. | ||||
* | radeon: Add radeon_buffer_objects.c. | Henri Verbeet | 2010-09-05 | 1 | -0/+1 |
| | |||||
* | r200: Add radeon_buffer_objects.c. | Henri Verbeet | 2010-09-05 | 3 | -0/+3 |
| | |||||
* | radeon: Make do_blit_readpixels() into a PBO work. | Henri Verbeet | 2010-09-05 | 1 | -11/+31 |
| | |||||
* | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | 2010-09-05 | 3 | -0/+3 |
| | | | | This should fix bogus reports "Too many temporaries." and maybe some others. | ||||
* | r300/compiler: Remove stray break statement | Tom Stellard | 2010-09-04 | 1 | -1/+0 |
| | | | | This fixes glsl-fs-loop-nested. | ||||
* | r300/compiler: fix the instruction limit in vertex shaders | Marek Olšák | 2010-09-05 | 1 | -1/+1 |
| | | | | | | Broken with commit d774b0c710bb7d833d17bd12f5151a0176baad96. Reported by Chris Rankin. | ||||
* | r300/compiler: indent printed instructions according to the branch depth | Marek Olšák | 2010-09-04 | 1 | -4/+44 |
| | |||||
* | r300/compiler: use limits from the compiler input instead of inline constants | Marek Olšák | 2010-09-04 | 1 | -5/+4 |
| | |||||
* | r300/compiler: improve register allocation with indexable temporaries for VS | Marek Olšák | 2010-09-04 | 1 | -17/+46 |
| | | | | | Register allocation can now reallocate temporaries right after the last indexed source operand, instead of being disabled for the whole shader. | ||||
* | r300/compiler: fix handling of indexed temporaries in peephole | Marek Olšák | 2010-09-04 | 1 | -1/+9 |
| | |||||
* | r300/compiler: disable deadcode elimination for indexed dst operands | Marek Olšák | 2010-09-04 | 1 | -0/+14 |
| | |||||
* | r300/compiler: allocate at least FS inputs if register allocation is disabled | Marek Olšák | 2010-09-04 | 3 | -9/+52 |
| | |||||
* | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | 2010-09-04 | 6 | -6/+13 |
| | | | | | | | | | | | | Those are: - dead-code elimination - constant folding - peephole (mainly copy propagation) - register allocation There are some bugs which I need to track down. Also fix up the descriptions of all the debug options. | ||||
* | r300/compiler: compute the final number of temporaries during translation | Marek Olšák | 2010-09-04 | 1 | -7/+23 |
| | | | | | And not during the register allocation, which may be skipped for debugging purposes. Also the predicate register is now added to the number of temps. | ||||
* | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | 2010-09-04 | 5 | -1/+6 |
| | |||||
* | r300/compiler: use peephole and constant folding for vertex shaders too | Marek Olšák | 2010-09-04 | 1 | -1/+3 |
| | |||||
* | r300/compiler: remove unused enum OPCODE_REPL_ALPHA | Marek Olšák | 2010-09-04 | 1 | -5/+0 |
| | | | | We use RC_OPCODE_REPL_ALPHA instead. | ||||
* | r300/compiler: refactor fragment shader compilation | Marek Olšák | 2010-09-04 | 19 | -165/+85 |
| | | | | This cleans up the mess in r3xx_compile_fragment_program. | ||||
* | r300/compiler: add new compiler parameter max_constants | Marek Olšák | 2010-09-04 | 6 | -10/+16 |
| | |||||
* | r300/compiler: refactor vertex shader compilation | Marek Olšák | 2010-09-04 | 18 | -161/+140 |
| | | | | | | First list compiler passes in an array, then run the new function rc_run_compiler. Every backend may need a different set of passes. This cleans up the mess in r3xx_compile_vertex_program. | ||||
* | r300/compiler: remove a redundant parameter in rc_pair_regalloc | Marek Olšák | 2010-09-04 | 3 | -3/+4 |
| | |||||
* | r300/compiler: remove a redundant parameter in rc_dataflow_deadcode | Marek Olšák | 2010-09-04 | 4 | -5/+5 |
| | | | | &c->Base == c. | ||||
* | r300/compiler: use null-terminated array of transformation functions | Marek Olšák | 2010-09-04 | 4 | -15/+20 |
| | | | | | I need to reduce the number of parameters of each compiler pass function. This is part of a larger cleanup. | ||||
* | r300/compiler: add new compiler parameter max_alu_insts | Marek Olšák | 2010-09-04 | 10 | -35/+36 |
| | |||||
* | r300/compiler: put emulate_loop_state in radeon_compiler | Marek Olšák | 2010-09-04 | 7 | -24/+20 |
| | |||||
* | r600c: add proper returns for some evergreen functions | Alex Deucher | 2010-09-03 | 2 | -2/+8 |
| | | | | | | | these weren't checked anyway. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29999 | ||||
* | r600c: emit DB_HTILE_DATA_BASE on evergreen | Alex Deucher | 2010-09-03 | 1 | -4/+11 |
| | | | | Make the hw happy. | ||||
* | i965: DP2 produces a scalar result like DP3, DP4, etc. | Eric Anholt | 2010-09-01 | 1 | -0/+1 |
| | | | | Fixes glsl-fs-dot-vec2-2. | ||||
* | r600: cube mipmap levels are aligned to 8 faces only starting from r7xx | Andre Maasikas | 2010-09-01 | 1 | -3/+3 |
| | |||||
* | i965: fix depth test on sandybridge | Zhenyu Wang | 2010-08-31 | 3 | -3/+3 |
| | | | | | | | | | This includes several corrections for fixing depth test on sandybridge. Fix wrong bits definition in depth stencil state. Fix wrong order of state buffer offset in 3DSTATE_CC_STATE_POINTERS command. Correctly use buffer width parameter in depth buffer setting. Signed-off-by: Zhenyu Wang <[email protected]> | ||||
* | Add talloc to osmesa library dependencies | Jon TURNEY | 2010-08-30 | 1 | -2/+2 |
| | | | | | | also link osmesa with C++ standard libraries, as it now contains C++ code Signed-off-by: Jon TURNEY <[email protected]> | ||||
* | i965: Clear the cached constant buffer entry in the VS at control flow. | Eric Anholt | 2010-08-30 | 1 | -1/+21 |
| | | | | | Fixes the 7 regressions with constant buffers forced on with piglit -t glsl (glsl-vs-if-*). | ||||
* | i965: Align the number of payload regs to 2 again in 16-wide mode. | Eric Anholt | 2010-08-30 | 1 | -1/+1 |
| | | | | | Fixes a regression in point-line-no-cull and glean/paths tests since 501c9dc62774a73c080d500a1eab773b0da9577e. | ||||
* | i965: Apply the rest of the old-libdrm guard patch. | Cedric Vivier | 2010-08-30 | 1 | -0/+13 |
| | | | | Bug #29855 |