summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2010-08-16Merge branch 'glsl2'Ian Romanick
Conflicts: src/mesa/program/prog_optimize.c
2010-08-16r600c: blit emit updatesAlex Deucher
- set VGT_MAX_VTX_INDX to a larger value - emit PA_SC_AA_CONFIG. The command checker in 2.6.36+ requires this reg.
2010-08-16dri/nouveau: test for FEATURE definesnobled
'struct dd_function_table' only conditionally contains the function pointer NewFramebuffer and friends based on FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h) Fixes the build when the features are disabled and the vfuncs don't exist.
2010-08-16dri/radeon: test for FEATURE definesnobled
'struct dd_function_table' only conditionally contains the function pointer NewFramebuffer and friends based on FEATURE_EXT_framebuffer_* defines. (See src/mesa/main/dd.h) Fixes the build when the features are disabled and the vfuncs don't exist.
2010-08-16r300/compiler: implement DP2 opcodeMarek Olšák
2010-08-16r300/compiler: implement SSG opcodeMarek Olšák
2010-08-16r300/compiler: fix allocation of temporaries in radeonTransformTEXMarek Olšák
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-08-13mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.Eric Anholt
2010-08-13intel: Remove include of texmem.h, since we haven't used it in ages.Eric Anholt
2010-08-12r600: add support for draw_elements_base_vertexAndre Maasikas
use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was probably a wrong register for this
2010-08-12r300/compiler: remove an unused variableMarek Olšák
2010-08-11r300/compiler: Implement the CONT opcode.Tom Stellard
2010-08-11r300/compiler: Handle loops in the register allocator.Tom Stellard
2010-08-11r300g: implement gl_FrontFacingMarek Olšák
2010-08-10r300/compiler: Use predicate bit for IF statements in r500 vertex shadersTom Stellard
2010-08-10r300/compiler: Implement hardware assisted loops for vertex shaders.Tom Stellard
Single loops work, but nested loops do not.
2010-08-10r300/compiler: Correctly transform nested loops.Tom Stellard
2010-08-09i965: More s/stderr/stdout/ for program debug.Eric Anholt
2010-08-09radeon: Use MESA_FORMAT_SARGB8 for sRGB formatsHenri Verbeet
This can be supported on r600 without using the endian swapper, and is a better fit for (typical) uploads using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV anyway.
2010-08-09r600c: Disable alpha test during blitsHenri Verbeet
2010-08-09radeon: fix npot mipmap alignment on r600Andre Maasikas
seems it got lost in commit 0d383547 have no earlier radeons to test, but npot mipmaps were not supported there?
2010-08-09r600: bump glsl versionAndre Maasikas
from the tests i couldn't find any new driver faults
2010-08-07i810: Add missing header m_xform.h.Vinson Lee
This is another follow-up to commit f4511c4835879090ce7e6afe3ac26b98fb91899a.
2010-08-07dri: Add missing header m_xform.h.Vinson Lee
This is a follow-up patch to commit f4511c4835879090ce7e6afe3ac26b98fb91899a. Files that include tnl_dd/t_dd_dmatmp.h now need to also include m_xform.h as t_context.h no longer includes it.
2010-08-07r300c: do not advertise half float vertex on RV3xx, RS4xx, RC4xxMarek Olšák
Fixes a hardlock. NOTE: this is a candidate for the 7.8 branch, provided the half float vertex is really implemented there.
2010-08-05r600c: tiling require drm 2.6.0, not 2.5.0Alex Deucher
2010-08-05r600: add support for getting the tiling config via drm ioctl (v2)Alex Deucher
Needed for the the 2D tiling span functions. v2: rebase on new kernel, mesa changes Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-05r600: add new relocs for tiling supportAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-05r600: add span support for 2D tilingAlex Deucher
Requires tiling config ioctl support from the drm to use. kms only. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-05intel: Check for a NULL src buffer prior to bltChris Wilson
This can only happen along a malloc failure path, but check anyway. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-08-05intel: Check for region allocation failure.Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-08-04i965: Settle on printing our program debug to stdout.Eric Anholt
Mixing stderr (_mesa_print_program, _mesa_print_instruction, _mesa_print_alu) with stdout means that when writing both to a file, there isn't a consistent ordering between the two.
2010-08-05dri/nouveau: Don't try to validate uninitialized teximages.Francisco Jerez
2010-08-05dri/nv20: Fix some PGRAPH_ERRORs seen with DATA_CHECK enabled.Francisco Jerez
2010-08-05dri/nouveau: Fix up software mipmap generation.Francisco Jerez
2010-08-04r300/compiler: Remove unnecessary header.Vinson Lee
2010-08-04intel: Remove unnecessary header.Vinson Lee
2010-08-04r600: relax stride/alignment requirements for verticesAndre Maasikas
seems hw can do unaligned accesses and unaligned strides removes extra conversion when using vbo's however I needed to switch 3 component byte format to 4 component formats for tests to pass. Somewhat sililar to GL_SHORT fix done earlier removes assert and gains +2 piglit especially draw-vertices
2010-08-03r300/compiler: Always unroll loops when doing loop emulation.Tom Stellard
2010-08-03r300/compiler: r500 hw support for break and continue in loops.Tom Stellard
The BGNLOOP and ENDLOOP instructions are now being used correctly, which makes break and continue possible. The deadcode pass has been modified to handle breaks, and the compiler is more careful about which loops are unrolled.
2010-08-03r300/compiler: KILP may not always be inside an IF statement.Tom Stellard
2010-08-03r300/compiler: Don't unroll loops with continue or break.Tom Stellard
2010-08-02Initialize a couple of HasIndex2 fields on Mesa IR src regs.Eric Anholt
2010-08-02radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner
When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse
This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
2010-08-02radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner
When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02r600: fix sin,cos functions on r600Andre Maasikas
r600 doesnt need the same normalization as r700 - instead it requires range to be truncated to -pi..pi I left the range trunc also effective on r700 althouch according the docs it has sufficent range (-512*PI, +512*PI). The instructions seem to be used not too often to cause perf loss because of this Based on patches and testing by Conn Clark and Alain Perrot
2010-07-31mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee
mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
2010-07-30intel: Add missing header to intel_context.c.Vinson Lee
Fixes "implicit declaration of function _mesa_get_incomplete_framebuffer" warning.