Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-07 | r600g: Set the fetch type in r600_bc_vtx_build(). | Henri Verbeet | |
2011-02-07 | r600g: Handle the ADD_INT instruction in r600_bc_get_num_operands(). | Henri Verbeet | |
2011-02-07 | r600g: Split r600_bc_alu_src. | Henri Verbeet | |
The r600_bc_alu_src structure is used in two different ways, as a vector and for the individual channels of that same vector. This is somewhat fragile, and probably confusing. | |||
2011-02-07 | r600g: use the new vertex buffer manager | Marek Olšák | |
2011-02-03 | r600g: Make some more things static. | Henri Verbeet | |
2011-02-03 | r600g: Get rid of the unused r600_cf_vtx_tc() function. | Henri Verbeet | |
2011-02-02 | r600g: use burst exports in shaders | Christian König | |
Join multiple exports into just one instruction instead of exporting each register separately. | |||
2011-01-31 | r600g: fix regression in cubemap tests since ↵ | Dave Airlie | |
eea1d8199b376f37027c14669e0bdf991a22872d Although CUBE is a reduction inst, it writes to more than just PV.X so we need to keep the dst channel. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2011-01-30 | r600g: fix vertex format fallback | Marek Olšák | |
This fixes: - piglit/draw-vertices - piglit/draw-vertices-half-float | |||
2011-01-25 | r600g: FLT_TO_INT* are vector instructions on Evergreen. | Henri Verbeet | |
FLT_TO_INT is a vector instruction, despite what the (current) documentation says. FLT_TO_INT_FLOOR and FLT_TO_INT_RPI aren't explicitly mentioned in the documentation, but those are vector instructions too. | |||
2011-01-21 | r600g: FLT_TO_INT_FLOOR is trans instruction | Alex Deucher | |
Add missing evergreen FLT_TO_INT_FLOOR instruction. | |||
2011-01-19 | r600g: fix reserve_cfile for R700+ | Christian König | |
According to R700 ISA we have only two channels for cfile constants. This patch makes piglit tests "glsl1-constant array with constant indexing" happy on RV710. | |||
2011-01-18 | r600g: Kill trailing whitespace. | Henri Verbeet | |
2011-01-16 | r600g: fix alu inst group merging for relative adressing | Christian König | |
2011-01-16 | r600d: fix some bugs added reworking literal handling | Christian König | |
If a literal slot isn't used it should be set to 0 instead of an uninitialized value. Also the channels for pre R700 trig functions were incorrect. And most important literals were not counted against ndw, resulting in an invalid force_add_cf detection. | |||
2011-01-14 | r600g: compiler helper opcode fixes for evergreen | Alex Deucher | |
Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2011-01-14 | r600g: pass r600_bc to some addition compiler helper functions | Alex Deucher | |
needed for asic specific opcodes Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2011-01-14 | r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case. | Vinson Lee | |
The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was introduced by commit 323ef3a1f07ba4333dadebab571ddcd49d95f45c but the macro is undefined. Disable this case to fix the build for now. | |||
2011-01-14 | r600g: add more missing instructions to r600_bc_get_num_operands | Christian König | |
2011-01-13 | r600g: Move declaration before code in r600_asm.c. | Vinson Lee | |
Fixes SCons build. | |||
2011-01-13 | r600g: rework literal handling | Christian König | |
2011-01-13 | r600g: merge alu groups | Christian König | |
2011-01-13 | r600g: implement replacing gpr with pv and ps | Christian König | |
2011-01-13 | r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operands | Christian König | |
2011-01-13 | r600g: rework bank swizzle code | Christian König | |
2011-01-13 | r600g: fix alu slot assignment | Christian König | |
2011-01-13 | r600g: optimize away CF ALU instructions even if type doesn't match | Christian König | |
2011-01-13 | r600g: Silence uninitialized variable warnings. | Vinson Lee | |
2011-01-12 | r600g: also look at tex inst when for maximum gpu count | Christian König | |
2011-01-12 | r600g: implement output modifiers and use them to further optimize LRP | Christian König | |
2011-01-12 | r600g: optimize away CF_INST_POP | Christian König | |
If last instruction is an CF_INST_ALU we don't need to emit an additional CF_INST_POP for stack clean up after an IF ELSE ENDIF. | |||
2011-01-12 | r600g: fix alu dumping | Christian König | |
2011-01-12 | r600g: improve r600_bc_dump | Christian König | |
2011-01-12 | r600g: fix tex and vtx joining | Christian König | |
2011-01-07 | r600g: Split ALU clauses based on used constant cache lines. | Henri Verbeet | |
2011-01-07 | r600g: Consistently use the copy of the alu instruction in ↵ | Henri Verbeet | |
r600_bc_add_alu_type(). | |||
2011-01-07 | r600g: Store kcache settings as an array. | Henri Verbeet | |
2011-01-06 | r600g: add support for NI (Northern Islands) GPUs | Alex Deucher | |
This adds support for Barts, Turks, and Caicos asics. | |||
2011-01-04 | r600g: support up to 64 shader constants | Alex Deucher | |
From the r600 ISA: Each ALU clause can lock up to four sets of constants into the constant cache. Each set (one cache line) is 16 128-bit constants. These are split into two groups. Each group can be from a different constant buffer (out of 16 buffers). Each group of two constants consists of either [Line] and [Line+1] or [line + loop_ctr] and [line + loop_ctr +1]. For supporting more than 64 constants, we need to break the code into multiple ALU clauses based on what sets of constants are needed in that clause. Note: This is a candidate for the 7.10 branch. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2010-12-07 | r600g: remove dead code | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-12-06 | r600g: build fetch shader from vertex elements | Jerome Glisse | |
Vertex elements change are less frequent than draw call, those to avoid rebuilding fetch shader to often build the fetch shader along vertex elements. This also allow to move vertex buffer setup out of draw path and make update to it less frequent. Shader update can still be improved to only update SPI regs (based on some rasterizer state like flat shading or point sprite ...). Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-12-03 | r600g: dump raw shader output for debugging | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-11-22 | r600g: add support for ontario APUs | Alex Deucher | |
Signed-off-by: Alex Deucher <alexdeucher@gmail.com> | |||
2010-11-19 | r600g: use meaningful defines for chiprev | Alex Deucher | |
Makes the code much clearer. | |||
2010-11-19 | r600g: add fetch shader capabilities | Jerome Glisse | |
Use fetch shader instead of having fetch instruction in the vertex shader. Allow to restrict shader update to a smaller part when vertex buffer input layout changes. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-11-17 | r600g: code cleanup (indent, trailing space, empty line ...) | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-10-27 | r600g: Silence uninitialized variable warnings. | Vinson Lee | |
2010-10-26 | r600g: add assembler support for all the kcache fields. | Dave Airlie | |
2010-10-24 | r600g: Also clear bc data when we're destroying a shader. | Tilman Sauerbeck | |
[airlied: remove unused vars] Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2010-10-05 | r600g: drop use_mem_constant. | Dave Airlie | |
since we plan on using dx10 constant buffers everywhere. |