summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
AgeCommit message (Collapse)Author
2010-09-10r300/compiler: Replace asserts with error messagesTom Stellard
2010-09-10r300/compiler: Fix copy propigation for some presub instructionsTom Stellard
2010-09-10r300/compiler: Add peephole optimization for the 'sub' presubtract operationTom Stellard
2010-09-10r300/compiler: Add peephole optimization for the 'add' presubtract operationTom Stellard
2010-09-10r300/compiler: Clean up rc_pair_alloc_source()Tom Stellard
2010-09-10r300/compiler: Enable presubtract sourcesTom Stellard
The r300 compiler can now emit instructions that select from the presubtract source. A peephole optimization has been added to convert instructions like: ADD Temp[0].x, none.1, -Temp[1].x into the INV (1 - src0) presubtract operation.
2010-09-10intel: Remove noise opcode support from i915 and i965 driversIan Romanick
With recent changes to the GLSL compiler, these opcode should never be seen in these drivers.
2010-09-10r600c: add missing headerAlex Deucher
2010-09-10r600c: add OQ support for evergreenAlex Deucher
2010-09-10r600c: oq updatesAlex Deucher
2010-09-10r600c: add blit support for evergreenAlex Deucher
driver was previously calling the r600 blit code which won't work on evergreen.
2010-09-10r600c: emit start3d packet on evergreenAlex Deucher
2010-09-10r600c: fix some typosAlex Deucher
2010-09-10r600c: fix type in cb setup on evergreenAlex Deucher
2010-09-10r600c: add support for more rendering formats on evergreenAlex Deucher
2010-09-10r600: set correct initial point_minmax valuesAndre Maasikas
2010-09-10r600: dont bswap rgba FLOAT formatsAndre Maasikas
fixes at least some readback tests in piglit
2010-09-09i965: Add switch cases for ir_unop_noise, which should have been lowered.Eric Anholt
Fixes compiler warnings.
2010-09-09Revert "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-09glsl2: Add EmitNoNoise flag, use it to remove noise opcodesIan Romanick
2010-09-09glapi: Implement optional dispatch loggingKristian 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-09dri/nouveau: Expose EXT_texture_env_combine.Francisco Jerez
2010-09-09dri/nv10-nv20: Add support for NV_texture_env_combine4.Francisco Jerez
2010-09-09dri/nv04: Add support for NV_texture_env_combine4.Francisco Jerez
2010-09-09dri/nouveau: Minor cleanup.Francisco Jerez
2010-09-09r600: add TXL instruction and note about TXBAndre Maasikas
2010-09-09r600: remove depth exports move, just set to output x <- z in the export ↵Andre Maasikas
intruction
2010-09-09r600: protect cleanup instructions from double freeAndre Maasikas
We might get the cleanup when we have not translated the shader yet e.g 2 programstringnotifys in a row
2010-09-09r600: remove mask from output intructionsAndre Maasikas
in case of relative addressing we never get to know which comps were really written.
2010-09-09r600: allow relative addressing of temps, inputs, outputsAndre Maasikas
2010-09-09r600: handle LIT writemaskAndre Maasikas
2010-09-09r600: fix rsq from negative inputAndre Maasikas
arbfp specifies rsq of abs value
2010-09-08glsl: add several EmitNo* options, and MaxUnrollIterationsLuca 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-08glsl: make compiler options per-targetLuca 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-08dri: Unset current context and dispatch table when unbindingKristian 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-07i965: 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-07i965: 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-07i965: 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-07i965: 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-07i965: 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-07i965: Add assertion for another requirement about types.Eric Anholt
This catches a failure in the FS backend.
2010-09-07i965: Align the start of attribute interp coefficients in FS to use PLN.Eric Anholt
2010-09-07i965: 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-07i965: Clean up fs_reg setup by using a helper for constructors.Eric Anholt
2010-09-07i965: When using the new FS backend, don't validate the Mesa IR version.Eric Anholt
2010-09-07i965: Add a bit of validation for some ISA restrictions in the docs.Eric Anholt
2010-09-07i965: 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-07dri: Make it a little clearer that we're not dereferencing a NULL pointernobled
2010-09-07dri: Use the right type for the API tokennobled
Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized.
2010-09-07nouveau: restore nouveau_class.h for nv04-nv20Luca Barbieri
Sorry, I deleted the Gallium copy without realizing that the DRI one was just a symlink to it.