Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-10 | r600: dont bswap rgba FLOAT formats | Andre Maasikas | |
fixes at least some readback tests in piglit | |||
2010-09-09 | i965: Add switch cases for ir_unop_noise, which should have been lowered. | Eric Anholt | |
Fixes compiler warnings. | |||
2010-09-09 | Revert "glapi: Implement optional dispatch logging" | Kristian Høgsberg | |
This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds. | |||
2010-09-09 | glsl2: Add EmitNoNoise flag, use it to remove noise opcodes | Ian Romanick | |
2010-09-09 | glapi: Implement optional dispatch logging | Kristian Høgsberg | |
There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch. | |||
2010-09-09 | dri/nouveau: Expose EXT_texture_env_combine. | Francisco Jerez | |
2010-09-09 | dri/nv10-nv20: Add support for NV_texture_env_combine4. | Francisco Jerez | |
2010-09-09 | dri/nv04: Add support for NV_texture_env_combine4. | Francisco Jerez | |
2010-09-09 | dri/nouveau: Minor cleanup. | Francisco Jerez | |
2010-09-09 | r600: add TXL instruction and note about TXB | Andre Maasikas | |
2010-09-09 | r600: remove depth exports move, just set to output x <- z in the export ↵ | Andre Maasikas | |
intruction | |||
2010-09-09 | r600: protect cleanup instructions from double free | Andre Maasikas | |
We might get the cleanup when we have not translated the shader yet e.g 2 programstringnotifys in a row | |||
2010-09-09 | r600: remove mask from output intructions | Andre Maasikas | |
in case of relative addressing we never get to know which comps were really written. | |||
2010-09-09 | r600: allow relative addressing of temps, inputs, outputs | Andre Maasikas | |
2010-09-09 | r600: handle LIT writemask | Andre Maasikas | |
2010-09-09 | r600: fix rsq from negative input | Andre Maasikas | |
arbfp specifies rsq of abs value | |||
2010-09-08 | glsl: add several EmitNo* options, and MaxUnrollIterations | Luca Barbieri | |
This increases the chance that GLSL programs will actually work. Note that continues and returns are not yet lowered, so linking will just fail if not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-09-08 | glsl: make compiler options per-target | Luca Barbieri | |
This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-09-08 | dri: Unset current context and dispatch table when unbinding | Kristian Høgsberg | |
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 <krh@bitplanet.net> | |||
2010-09-07 | i965: Enable EXT_framebuffer_blit internally. | Kenneth Graunke | |
Otherwise, ES2's BindFramebuffer entrypoint hits this assertion: main/fbobject.c:1323: _mesa_BindFramebufferEXT: Assertion `ctx->Extensions.EXT_framebuffer_blit' failed. | |||
2010-09-07 | i965: Store the byte address in the VS constant buffer as an integer. | Eric Anholt | |
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. | |||
2010-09-07 | i965: Make pixel_xy results UW. | Eric Anholt | |
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. | |||
2010-09-07 | i965: Don't bother with RNDZ for f2i. | Eric Anholt | |
The default type conversion for MOV should be fine, and RNDZ actually requires two instructions. | |||
2010-09-07 | i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments. | Eric Anholt | |
Now that we're playing with other types in brw_fs.cpp, it's easy to trip over issues like these. | |||
2010-09-07 | i965: Add assertion for another requirement about types. | Eric Anholt | |
This catches a failure in the FS backend. | |||
2010-09-07 | i965: Align the start of attribute interp coefficients in FS to use PLN. | Eric Anholt | |
2010-09-07 | i965: Just assert when we flagged a compile error in the FS for now. | Eric Anholt | |
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. | |||
2010-09-07 | i965: Clean up fs_reg setup by using a helper for constructors. | Eric Anholt | |
2010-09-07 | i965: When using the new FS backend, don't validate the Mesa IR version. | Eric Anholt | |
2010-09-07 | i965: Add a bit of validation for some ISA restrictions in the docs. | Eric Anholt | |
2010-09-07 | i965: set the source width/stride when handling reladdr dests in the VS. | Eric Anholt | |
This is a requirement specified in the docs. No behavior change in glsl-vs-varying-array.shader_test that violated these requirements. | |||
2010-09-07 | dri: Make it a little clearer that we're not dereferencing a NULL pointer | nobled | |
2010-09-07 | dri: Use the right type for the API token | nobled | |
Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized. | |||
2010-09-07 | nouveau: restore nouveau_class.h for nv04-nv20 | Luca Barbieri | |
Sorry, I deleted the Gallium copy without realizing that the DRI one was just a symlink to it. | |||
2010-09-05 | radeon: Add radeon_buffer_objects.c. | Henri Verbeet | |
2010-09-05 | r200: Add radeon_buffer_objects.c. | Henri Verbeet | |
2010-09-05 | radeon: Make do_blit_readpixels() into a PBO work. | Henri Verbeet | |
2010-09-05 | r300g,r300c: memset the compiler struct to zeros | Marek Olšák | |
This should fix bogus reports "Too many temporaries." and maybe some others. | |||
2010-09-04 | r300/compiler: Remove stray break statement | Tom Stellard | |
This fixes glsl-fs-loop-nested. | |||
2010-09-05 | r300/compiler: fix the instruction limit in vertex shaders | Marek Olšák | |
Broken with commit d774b0c710bb7d833d17bd12f5151a0176baad96. Reported by Chris Rankin. | |||
2010-09-04 | r300/compiler: indent printed instructions according to the branch depth | Marek Olšák | |
2010-09-04 | r300/compiler: use limits from the compiler input instead of inline constants | Marek Olšák | |
2010-09-04 | r300/compiler: improve register allocation with indexable temporaries for VS | Marek Olšák | |
Register allocation can now reallocate temporaries right after the last indexed source operand, instead of being disabled for the whole shader. | |||
2010-09-04 | r300/compiler: fix handling of indexed temporaries in peephole | Marek Olšák | |
2010-09-04 | r300/compiler: disable deadcode elimination for indexed dst operands | Marek Olšák | |
2010-09-04 | r300/compiler: allocate at least FS inputs if register allocation is disabled | Marek Olšák | |
2010-09-04 | r300g: add a new debug option which disables compiler optimizations | Marek Olšák | |
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. | |||
2010-09-04 | r300/compiler: compute the final number of temporaries during translation | Marek Olšák | |
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. | |||
2010-09-04 | r300/compiler: make optimizations not use 0.5 swizzles in vertex shaders | Marek Olšák | |
2010-09-04 | r300/compiler: use peephole and constant folding for vertex shaders too | Marek Olšák | |