- 25 Jan, 2012 1 commit
-
-
Marek Olšák authored
-
- 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 3 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>
-
Marek Olšák authored
There are 3 changes: 1) stride is specified for each buffer, not just one, so that drivers don't have to derive it from the outputs 2) new per-output property dst_offset, which specifies the offset into the buffer in dwords where the output should be stored, so that drivers don't have to compute the offsets manually; this will also be useful for gl_SkipComponents from ARB_transform_feedback3 3) register_mask is removed, instead, there is start_component and num_components; register_mask with non-consecutive 1s doesn't make much sense (some hardware cannot do packing of components) Christoph Bumiller: fixed nvc0. v2: resolve merge conflicts in Draw and clean it up
-
- 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>
-
- 05 Jan, 2012 1 commit
-
-
Marek Olšák authored
Improves performance from cca 1 fps to 23 fps in Cogs. This new codepath is not always used, instead, there is a heuristic which determines whether to use it. Using translate for uploads is generally slower than what we have had already, it's a win only in a few cases.
-
- 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.
-
- 06 Dec, 2011 1 commit
-
-
Vadim Girlin authored
This patch should prevent the crashes when some shaders are absent, see https://bugs.freedesktop.org/show_bug.cgi?id=43341 Note this is a candidate for the stable branch. Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 20 Nov, 2011 2 commits
-
-
Marek Olšák authored
-
Marek Olšák authored
The CS checker doesn't check the regs and the state-tracker-provided values are not to be trusted. This also removes the hack for non-zero index bias.
-
- 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>
-
- 27 Oct, 2011 1 commit
-
-
Marek Olšák authored
-
- 26 Oct, 2011 2 commits
-
-
Marek Olšák authored
-
Marek Olšák authored
-
- 25 Oct, 2011 3 commits
-
-
Marek Olšák authored
-
Marek Olšák authored
-
Marek Olšák authored
Also call r600_conv_pipe_prim earlier.
-
- 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>
-
- 26 Sep, 2011 3 commits
-
-
Marek Olšák authored
This fixes ARB_draw_elements_base_vertex with max_index != ~0. NOTE: This is a candidate for the 7.11 branch.
-
Marek Olšák authored
-
Marek Olšák authored
It can now override both buffer offsets and strides in additions to resources. Overriding buffer offsets was kinda hackish and could cause issues with non-native vertex formats.
-
- 12 Sep, 2011 1 commit
-
-
Marek Olšák authored
This subclass of r600_resource doesn't contain any useful members, so let's just use r600_resource.
-
- 10 Sep, 2011 1 commit
-
-
Marek Olšák authored
This fixes piglit/fbo-generatemipmap-array. It looks like SQ_TEX_SAMPLER_WORD0_0.TEX_ARRAY_OVERRIDE should be set for array textures in order to disable filtering between slices, which adds a dependency between sampler views and sampler states. This patch reworks sampler state updates such that they are postponed until draw time. TEX_ARRAY_OVERRIDE is updated according to bound sampler views. This also consolidates setting the texture state between vertex and pixel shaders.
-
- 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>
-
- 17 Aug, 2011 1 commit
-
-
Marek Olšák authored
Needed for GL3. v2: evergreen support I don't set PA_SU_SC_MODE_CNTL.MULTI_PRIM_IB_ENA. piglit/primitive-restart does pass though. Tested on RV730 and EG-REDWOOD.
-
- 16 Aug, 2011 2 commits
-
-
Marek Olšák authored
This takes advantage of the new GEM_WAIT ioctl when mapping buffers. Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
Marek Olšák authored
Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
-
- 02 Aug, 2011 1 commit
-
-
Marek Olšák authored
Always returned 0.
-
- 09 Jul, 2011 1 commit
-
-
Henri Verbeet authored
Signed-off-by:
Henri Verbeet <hverbeet@gmail.com>
-
- 24 Jun, 2011 4 commits
-
-
Alex Deucher authored
Signed-off-by:
Alex Deucher <alexdeucher@gmail.com>
-
Alex Deucher authored
Evergreen+ don't support multi-writes so we need to emulate it in the shader. Fixes the following piglit tests: fbo-drawbuffers-fragcolor ati_draw_buffers-arbfp-no-option Signed-off-by:
Alex Deucher <alexdeucher@gmail.com>
-
Vadim Girlin authored
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=38440 Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com>
-
Vadim Girlin authored
Signed-off-by:
Vadim Girlin <vadimgirlin@gmail.com>
-