aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600
Commit message (Collapse)AuthorAgeFilesLines
...
* r600: Remove unused variable.Vinson Lee2010-08-241-1/+0
| | | | | | Silences the following GCC warning. evergreen_state.c: In function 'evergreenSetBlendState': evergreen_state.c:341: warning: unused variable 'id'
* r600: Remove unused variable.Vinson Lee2010-08-241-1/+0
| | | | | | Fixes the following GCC warning. r600_emit.c In function 'r600AllocShaderConsts': r600_emit.c:59: warning: unused variable 'out'
* r600: Remove spaces between backslash and newline.Vinson Lee2010-08-241-2/+2
| | | | | | Fixes the following GCC warnings. r600_cmdbuf.h:201: warning: backslash and newline separated by space r600_cmdbuf.h:202: warning: backslash and newline separated by space
* evergreen : initial support driver code.richard2010-08-2038-248/+12321
|
* r600: implement SSG instructionAndre Maasikas2010-08-182-0/+67
|
* r600: implement DP2 opcodeAndre Maasikas2010-08-181-2/+10
|
* r600c: Handle reads from PROGRAM_OUTPUTHenri Verbeet2010-08-172-7/+20
| | | | with glsl2, reads from outputs are legal
* r600c: fix dword miscount in blit emit codeAlex Deucher2010-08-171-1/+1
|
* r600c: blit emit updatesAlex Deucher2010-08-161-3/+4
| | | | | | - set VGT_MAX_VTX_INDX to a larger value - emit PA_SC_AA_CONFIG. The command checker in 2.6.36+ requires this reg.
* r600: add support for draw_elements_base_vertexAndre Maasikas2010-08-123-26/+30
| | | | | use VTX_BASE_VTX_LOC for offset, last time using INDEX_OFFSET was probably a wrong register for this
* radeon: Use MESA_FORMAT_SARGB8 for sRGB formatsHenri Verbeet2010-08-094-16/+16
| | | | | | 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.
* r600c: Disable alpha test during blitsHenri Verbeet2010-08-091-3/+4
|
* r600: bump glsl versionAndre Maasikas2010-08-091-0/+2
| | | | from the tests i couldn't find any new driver faults
* r600: add new relocs for tiling supportAlex Deucher2010-08-052-18/+39
| | | | Signed-off-by: Alex Deucher <[email protected]>
* r600: relax stride/alignment requirements for verticesAndre Maasikas2010-08-043-20/+14
| | | | | | | | | | 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
* radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner2010-08-022-0/+7
| | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse2010-08-022-7/+0
| | | | This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
* radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner2010-08-022-0/+7
| | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Mario Kleiner <[email protected]>
* r600: fix sin,cos functions on r600Andre Maasikas2010-08-021-9/+133
| | | | | | | | | | | 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
* r600: since 8744c36e added asserts - use another random register for shader ↵Andre Maasikas2010-07-291-1/+1
| | | | with no output
* r600: Flip point sprite coordinates when rendering to an FBO.Henri Verbeet2010-07-221-1/+3
| | | | This supersedes http://lists.freedesktop.org/archives/mesa-dev/2010-July/001442.html.
* r600: fix typo in r700 assemblerAlex Deucher2010-07-151-1/+1
| | | | | | Noticed by Henri Verbeet on IRC. NOTE: This is a candidate for the 7.8 branch.
* r600: Fix include recursion.Vinson Lee2010-07-121-1/+1
| | | | | Fix r600_context.h -> r700_oglprog.h -> r600_context.h include recursion.
* r600: Remove unnecessary headers.Vinson Lee2010-07-112-2/+0
|
* r600: Fix GCC 'implication declaration of function' warnings.Vinson Lee2010-07-102-0/+2
| | | | | Fix GCC 'implicit declaration of function' compiler warnings resulting from commit 00fb58ed5d7104e675fe48d84e5049e5f7dbb9d7.
* r600: Remove unnecessary header.Vinson Lee2010-07-091-1/+0
| | | | Fixes r600_emit.h -> r600_cmdbuf.h -> r600_emit.h include recursion.
* r600: Fix include recursion.Vinson Lee2010-07-091-1/+3
| | | | | | | r700_chip.h included r600_context.h, which included r700_chip.h. Remove the unnecessary r600_context.h inclusion and add missing headers.
* r600: workaround 3 comp GL_SHORT vertex attribute format on r700Andre Maasikas2010-07-071-1/+3
| | | | guess it's a hw errata?
* Merge branch 'shader-file-reorg'Brian Paul2010-06-236-12/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Move all GL entrypoint functions and files into src/mesa/main/ This includes the ARB vp/vp, NV vp/fp, ATI fragshader and GLSL bits that were in src/mesa/shader/ 2. Move src/mesa/shader/slang/ to src/mesa/slang/ to reduce the tree depth 3. Rename src/mesa/shader/ to src/mesa/program/ since all the remaining files are concerned with GPU programs. 4. Misc code refactoring. In particular, I got rid of most of the GLSL-related ctx->Driver hook functions. None of the drivers used them. Conflicts: src/mesa/drivers/dri/i965/brw_context.c
| * mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-106-12/+12
| |
* | r600: GL_COORD_REPLACE state is only relevant when point sprites are enabled.Henri Verbeet2010-06-161-6/+11
| |
* | r600: fix warningsMarc2010-06-161-2/+2
|/
* r600: Make next_inst() static.Henri Verbeet2010-06-082-59/+61
|
* r600: Assert output registers have a valid export index.Henri Verbeet2010-06-081-0/+4
|
* r600: Process exports for all written fragment outputs.Henri Verbeet2010-06-081-26/+12
|
* r600: Fill uiFP_OutputMap for all written fragment outputs.Henri Verbeet2010-06-081-16/+17
|
* Merge branch 'gles2-2'Kristian Høgsberg2010-05-022-2/+4
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.h
| * dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg2010-04-282-2/+4
| |
* | r600: add support for more rendering formatsAlex Deucher2010-04-264-16/+295
| |
* | r600: avoid setting invalid bit on r7xx for blitsAlex Deucher2010-04-261-0/+4
| |
* | r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas2010-04-262-2/+29
| | | | | | | | | | | | | | | | doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
* | r600: adjust point sprites after 911fa4a4a1Andre Maasikas2010-04-261-10/+11
| | | | | | | | | | there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
* | Merge remote branch 'origin/7.8'Jerome Glisse2010-04-231-1/+4
|\ \ | |/ |/|
| * r600: don't enable depth test if there is no depth bufferJerome Glisse2010-04-231-1/+4
| | | | | | | | | | | | | | | | If there is no depth buffer bound to current context don't enable depth test. GL states that if depth test is enabled without depth buffer it's as if depth buffer always pass. Signed-off-by: Jerome Glisse <[email protected]>
* | r100/r200/r300/r600: enable accel for Copy/DrawPixels without kmsAlex Deucher2010-03-241-4/+3
| | | | | | | | meta ops should work ok without kms.
* | Merge branch '7.8' into masterPauli Nieminen2010-03-171-1/+1
|\| | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h
| * Correct GL_EQUIV code in r67/7xx.Matthew W. S. Bell2010-03-161-1/+1
| | | | | | | | | | | | | | From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001 These seem to be documented in <http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.
* | Merge branch '7.8'Michel Dänzer2010-03-121-1/+1
|\|
| * dri/r700: include shader/programopt.h instead of programopt.c.Luc Verhaegen2010-03-121-1/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | r100/r200/r300/r300: only enable accelerated pixel ops with kmsAlex Deucher2010-03-123-7/+8
| | | | | | | | fixes fdo bug 27043