- 25 Jan, 2012 1 commit
-
-
Marek Olšák authored
-
- 23 Jan, 2012 1 commit
-
-
Alex Deucher authored
- CP_INTERRUPT packet doesn't exist - remove lots of r6xx copy/paste remnants from evergreen reg header - fix some cayman specific registers Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 22 Jan, 2012 2 commits
-
-
Vadim Girlin authored
Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Vadim Girlin authored
Same fix as previously done by Dave Airlie for r600/r700 Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 21 Jan, 2012 1 commit
-
-
Vadim Girlin authored
Clip planes are uploaded as a constant buffer and used by the vertex shader to produce corresponding clip distances for hw clipping. Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 15 Jan, 2012 2 commits
-
-
Vadim Girlin authored
Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Vadim Girlin authored
v2: select the colors in the pixel shader v3: fix rs state creation for pre-evergreen Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 14 Jan, 2012 1 commit
-
-
Dave Airlie authored
Fixes the GL3 required formats test. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 13 Jan, 2012 1 commit
-
-
Jerome Glisse authored
Virtual address space put the userspace in charge of their GPU address space. It's up to userspace to bind bo into the virtual address space. Command stream can them be executed using the IB_VM chunck. This patch add support for this configuration. It doesn't remove the 64K ib size limit thought this limit can be extanded up to 1M for IB_VM chunk. v2: fix rendering v3: fix rendering when using index buffer v4: make vm conditional on kernel support add basic va management v5: catch the case when we already have va for a bo v6: agd5f: update on top of ioctl changes v7: agd5f: further ioctl updates v8: indentation cleanup + fix non cayman v9: rebase against lastest mesa + improvement from Marek & Michel v10: fix cut/paste bug v11: don't rely on updated radeon_drm.h Signed-off-by:
Jerome Glisse <jglisse@redhat.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 09 Jan, 2012 1 commit
-
-
Marek Olšák authored
Conflicts: src/gallium/auxiliary/tgsi/tgsi_strings.c src/mesa/state_tracker/st_atom_clip.c commit d919791f2742e913173d6b335128e7d4c63c0840 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 17:59:22 2012 +0100 d3d1x: adapt to new clip state commit cfec82bca3fefcdefafca3f4555285ec1d1ae421 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:16:51 2012 +0100 gallium/docs: update for clip state changes commit c02bfeb81ad9f62041a2285ea6373bbbd602912a Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 14:21:43 2012 +0100 tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS commit d4e0a785a6a23ad2f6819fd72e236acb9750028d Author: Brian Paul <brianp@vmware.com> Date: Thu Jan 5 08:30:00 2012 -0700 tgsi: consolidate TGSI string arrays in new tgsi_strings.h There was some duplication between the tgsi_dump.c and tgsi_text.c files. Also use some static assertions to help catch errors when adding new TGSI values. v2: put strings in tgsi_strings.c file instead of the .h file. Reviewed-by:
Dave Airlie <airlied@redhat.com> commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Fri Jan 6 12:48:09 2012 +0100 gallium: extend user_clip_plane_enable to apply to clip distances commit f1d5016c07f786229ed057effbe55fbfd160b019 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 02:39:09 2012 +0100 nvfx: adapt to new clip state commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24 Author: Marek Olšák <maraeo@gmail.com> Date: Fri Jan 6 01:41:39 2012 +0100 st/mesa: fix DrawPixels with GL_DEPTH_CLAMP commit c86ad730aa1c017788ae88a55f54071bf222be12 Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:51:30 2012 +0100 nv50: adapt to new clip state commit 3a8ae6ac243bae5970729dc4057fe02d992543dc Author: Christoph Bumiller <e0425955@student.tuwien.ac.at> Date: Tue Jan 3 23:32:36 2012 +0100 nvc0: adapt to new clip state commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11 Author: Marek Olšák <maraeo@gmail.com> Date: Thu Dec 29 01:32:51 2011 +0100 draw: initalize pt.user.planes in draw_init This fixes a crash in glean/fpexceptions. commit e3056524b19b56d473f4faff84ffa0eb41497408 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:26:55 2011 +0100 svga: adapt to new clip state commit c5bfa8b37d6d489271df457229081d6bbb51b4b7 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:11:51 2011 +0100 r600g: adapt to new clip state commit f11890905362f62627c4a28a8255b76eb7de7df2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 14:10:26 2011 +0100 r300g: adapt to new clip state commit e37465327c79a01112f15f6278d9accc5bf3103f Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:39:16 2011 +0100 draw: adapt to new clip state This adds a regression in the LLVM clipping path. Can anybody see anything wrong with the code? It works for every other case, just glean/fpexceptions crashes when doing the "Infinite clip plane test". commit b474d2b18c72d965eefae4e427c269cba5ce6ba2 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:14:59 2011 +0100 u_blitter: don't save/set/restore clip state commit 9dd240ea91f523a677af45e8d0adb9e661e28602 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 13:11:56 2011 +0100 gallium: don't cso_save/set/restore clip state The enable bits are in the rasterizer state. commit a4f7031179f5f4ad524b34b394214b984ac950f6 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 12:58:55 2011 +0100 gallium: default depth_clip to 1 depth_clip = !depth_clamp commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3 Author: Marek Olšák <maraeo@gmail.com> Date: Mon Dec 26 06:14:19 2011 +0100 trace,util: update state logging to new clip state Also dump the other missing flags. commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23 Author: Marek Olšák <maraeo@gmail.com> Date: Sun Dec 25 10:43:43 2011 +0100 st/mesa: adapt to new clip state commit b7b656a42fca19d7c85267f42649a206a85a2c72 Author: Marek Olšák <maraeo@gmail.com> Date: Sat Dec 17 15:45:19 2011 +0100 gallium: move state enable bits from clip_state to rasterizer_state
-
- 06 Jan, 2012 1 commit
-
-
Alex Deucher authored
fs writes all is implemented in the shader on eg+. Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 02 Jan, 2012 1 commit
-
-
Dave Airlie authored
fixes some warnings in GL3.0 tests. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 17 Dec, 2011 1 commit
-
-
Marek Olšák authored
r600: DONE. r700: MOSTLY (done but locks up). Evergreen: MOSTLY (done but doesn't work for an unknown reason). The kernel support will come soon.
-
- 27 Nov, 2011 1 commit
-
-
Dave Airlie authored
-
- 13 Nov, 2011 1 commit
-
-
Vadim Girlin authored
Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com>
-
- 06 Nov, 2011 1 commit
-
-
Dave Airlie authored
It seems line loop stipple in hardware needs something I don't know, it might need a proper geometry shader who knows. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 05 Nov, 2011 2 commits
-
-
Vadim Girlin authored
SPI semantic indices for PS/VS are now static, so we don't need to update spi config for every shaders combination. We can move the functionality of r600_spi_update to r600(evergreen)_pipe_shader_ps. Flatshade state is now controlled by the global FLAT_SHADE_ENA flag instead of updating FLAT_SHADE for all inputs. Sprite coord still requires the update of spi setup when sprite_coord_enable is first changed from zero (enabled), and then only when it's changed to other non-zero value (enabled for other input). Change to zero (disabling) and back to the same value is handled via global SPRITE_COORD_ENA. New field "sprite_coord_enable" added to "struct r600_pipe_shader" to track current state for the pixel shader. It's checked in the r600_update_derived_state. Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
Vadim Girlin authored
There is no need to duplicate semantic mapping which is done in hw, so get rid of r600_find_vs_semantic_index. TGSI name/sid pair is mapped to the 8-bit semantic index for SPI. Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 04 Nov, 2011 4 commits
-
-
Alex Deucher authored
This reverts commit c15f8569. This breaks r6xx.
-
Alex Deucher authored
This reverts commit 9804cf31. This breaks r6xx.
-
Vadim Girlin authored
SPI semantic indices for PS/VS are now static, so we don't need to update spi config for every shaders combination. We can move the functionality of r600_spi_update to r600(evergreen)_pipe_shader_ps. Flatshade state is now controlled by the global FLAT_SHADE_ENA flag instead of updating FLAT_SHADE for all inputs. Sprite coord still requires the update of spi setup when sprite_coord_enable is first changed from zero (enabled), and then only when it's changed to other non-zero value (enabled for other input). Change to zero (disabling) and back to the same value is handled via global SPRITE_COORD_ENA. New field "sprite_coord_enable" added to "struct r600_pipe_shader" to track current state for the pixel shader. It's checked in the r600_update_derived_state. Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com>
-
Vadim Girlin authored
There is no need to duplicate semantic mapping which is done in hw, so get rid of r600_find_vs_semantic_index. TGSI name/sid pair is mapped to the 8-bit semantic index for SPI. Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com>
-
- 24 Oct, 2011 1 commit
-
-
Marek Olšák authored
The kernel currently overwrites the flags, but if we stopped doing that, this would break badly.
-
- 11 Oct, 2011 1 commit
-
-
Dave Airlie authored
these are never USCALED, always UINT in reality. taken from some work by Christoph Bumiller v2: fixup formatting of table + tabs Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 10 Oct, 2011 1 commit
-
-
Dave Airlie authored
now that we have integer texture types I can drop this workaround so that copies of values is done properly (as floats would fail on some corner cases). Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 09 Oct, 2011 1 commit
-
-
Dave Airlie authored
adds handling for int texture/vertices to evergreen. TODO r600/700 support. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 30 Sep, 2011 1 commit
-
-
Marek Olšák authored
I have moved 'last_flush' and 'binding' from r600_bo to winsys/radeon. The other members are now part of r600_resource. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 28 Sep, 2011 1 commit
-
-
Christoph Bumiller authored
-
- 27 Sep, 2011 1 commit
-
-
Dave Airlie authored
EXT_texture_integer also specifies border color should be a color union, the values are used according to the texture sampler format. (update docs) Signed-off-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
- 16 Sep, 2011 3 commits
-
-
Dave Airlie authored
We could constant interpolated values now and set have_perspective if nothing else is set to avoid a GPU hang. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
If we get a scaled type assume its a real integer type (as textures are). Also fixup the blend bypass and blend clamp flags on evergreen as per the docs. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
just playing with EXT_texture_integer, and this was first bug. Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 14 Sep, 2011 1 commit
-
-
Michel Dänzer authored
Prevents lockups with piglit tests draw-elements and draw-vertices using large numbers of vertices. Signed-off-by:
Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Alex Deucher <alex.deucher@amd.com>
-
- 12 Sep, 2011 1 commit
-
-
Marek Olšák authored
-
- 10 Sep, 2011 1 commit
-
-
Marek Olšák authored
-
- 01 Sep, 2011 1 commit
-
-
Christian König authored
Sampling worked out of the box, but this make them work as surface as well. Signed-off-by:
Christian König <deathsimple@vodafone.de>
-
- 29 Aug, 2011 1 commit
-
-
Kai Wasserbäch authored
As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e > Signed-off-by:
Kai Wasserbäch <kai@dev.carbon-project.org> Signed-off-by:
Brian Paul <brianp@vmware.com>
-
- 19 Aug, 2011 3 commits
-
-
Marek Olšák authored
-
Marek Olšák authored
The sampler view is not a resource. Also remove the unused desc variable.
-
Marek Olšák authored
Such that it actually works in apps which use both. A separate buffer is allocated for stencil. The only exception is the window-system-provided depth-stencil buffer, where depth and stencil share the same buffer. This fixes: - fbo-depthstencil-GL_DEPTH24_STENCIL8-clear - fbo-depthstencil-GL_DEPTH24_STENCIL8-drawpixels-FLOAT-and-USHORT - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-24_8 - fbo-depthstencil-GL_DEPTH24_STENCIL8-readpixels-FLOAT-and-USHORT
-