Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r600g: fix segfault if texture operand is a literal | Christian König | 2011-01-19 | 1 | -1/+3 |
| | | | | This fixes Bug 33262 | ||||
* | r600g: fix reserve_cfile for R700+ | Christian König | 2011-01-19 | 1 | -19/+17 |
| | | | | | | 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. | ||||
* | r600g: Kill trailing whitespace. | Henri Verbeet | 2011-01-18 | 5 | -25/+25 |
| | |||||
* | r600g: Remove the unused eg_states_inc.h and r600_states_inc.h. | Henri Verbeet | 2011-01-18 | 2 | -1001/+0 |
| | |||||
* | r600g: Simplify some r600_bc_add_alu_type() calls to r600_bc_add_alu(). | Henri Verbeet | 2011-01-18 | 1 | -3/+3 |
| | |||||
* | r600g: fix PIPE_CAP_INSTANCED_DRAWING warning | Christian König | 2011-01-16 | 1 | -0/+1 |
| | |||||
* | r600g: fix alu inst group merging for relative adressing | Christian König | 2011-01-16 | 1 | -1/+13 |
| | |||||
* | r600d: fix some bugs added reworking literal handling | Christian König | 2011-01-16 | 2 | -22/+33 |
| | | | | | | | | 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. | ||||
* | r600g: Fix some register value name typos. | Henri Verbeet | 2011-01-15 | 4 | -6/+6 |
| | | | | SFR -> SRF. | ||||
* | r600g: Get rid of r600_translate_vertex_data_type(). | Henri Verbeet | 2011-01-15 | 2 | -270/+0 |
| | | | | This has been replaced with r600_vertex_data_type(). | ||||
* | r600g: compiler helper opcode fixes for evergreen | Alex Deucher | 2011-01-14 | 2 | -120/+269 |
| | | | | Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600g: pass r600_bc to some addition compiler helper functions | Alex Deucher | 2011-01-14 | 1 | -55/+62 |
| | | | | | | needed for asic specific opcodes Signed-off-by: Alex Deucher <[email protected]> | ||||
* | r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case. | Vinson Lee | 2011-01-14 | 1 | -0/+2 |
| | | | | | | 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. | ||||
* | r600g: add more missing instructions to r600_bc_get_num_operands | Christian König | 2011-01-14 | 1 | -1/+5 |
| | |||||
* | r600g: Move declaration before code in r600_asm.c. | Vinson Lee | 2011-01-13 | 1 | -1/+3 |
| | | | | Fixes SCons build. | ||||
* | r600g: rework literal handling | Christian König | 2011-01-13 | 5 | -277/+151 |
| | |||||
* | r600g: merge alu groups | Christian König | 2011-01-13 | 2 | -37/+150 |
| | |||||
* | r600g: implement replacing gpr with pv and ps | Christian König | 2011-01-13 | 3 | -5/+63 |
| | |||||
* | r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operands | Christian König | 2011-01-13 | 1 | -0/+1 |
| | |||||
* | r600g: rework bank swizzle code | Christian König | 2011-01-13 | 2 | -183/+174 |
| | |||||
* | r600g: fix alu slot assignment | Christian König | 2011-01-13 | 1 | -15/+167 |
| | |||||
* | r600g: optimize away CF ALU instructions even if type doesn't match | Christian König | 2011-01-13 | 1 | -3/+16 |
| | |||||
* | r600g: Silence uninitialized variable warnings. | Vinson Lee | 2011-01-13 | 1 | -4/+4 |
| | |||||
* | r600g: also look at tex inst when for maximum gpu count | Christian König | 2011-01-12 | 1 | -1/+7 |
| | |||||
* | r600g: implement output modifiers and use them to further optimize LRP | Christian König | 2011-01-12 | 4 | -0/+33 |
| | |||||
* | r600g: use special constants for 0, 1, -1, 1.0f, 0.5f etc | Christian König | 2011-01-12 | 1 | -12/+44 |
| | |||||
* | r600g: optimize temp register handling for LRP | Christian König | 2011-01-12 | 1 | -34/+38 |
| | |||||
* | r600g: optimize away CF_INST_POP | Christian König | 2011-01-12 | 3 | -3/+29 |
| | | | | | 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. | ||||
* | r600g: make dumping of shaders an option | Christian König | 2011-01-12 | 1 | -4/+14 |
| | |||||
* | r600g: fix alu dumping | Christian König | 2011-01-12 | 1 | -19/+13 |
| | |||||
* | r600g: improve r600_bc_dump | Christian König | 2011-01-12 | 1 | -28/+131 |
| | |||||
* | r600g: texture instructions also work fine with TGSI_FILE_INPUT | Christian König | 2011-01-12 | 1 | -1/+3 |
| | |||||
* | r600g: DP4 also supports writemasking | Christian König | 2011-01-12 | 1 | -8/+6 |
| | |||||
* | r600g: Why all this fiddling with tgsi_helper_copy? | Christian König | 2011-01-12 | 1 | -21/+41 |
| | | | | | | | | tgsi_helper_copy is used on several occasions to copy a temporary result into the real destination register to emulate writemasks for OP3 and reduction operations. According to R600 ISA that's unnecessary. This patch fixes this use for MAD, CMP and DP4. | ||||
* | r600g: fix tex and vtx joining | Christian König | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | r600g: Fixed SIN/COS/SCS for the case where the operand is a literal. | Tilman Sauerbeck | 2011-01-11 | 1 | -2/+15 |
| | | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Reviewed-by: Alex Deucher <[email protected]> | ||||
* | r600g: move user fence into base radeon structure | Jerome Glisse | 2011-01-11 | 1 | -3/+0 |
| | | | | | | | This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse <[email protected]> | ||||
* | r600g: Also set const_offset if the buffer is not a user buffer in ↵ | Henri Verbeet | 2011-01-07 | 1 | -0/+2 |
| | | | | r600_upload_const_buffer(). | ||||
* | r600g: Update some comments for Evergreen. | Henri Verbeet | 2011-01-07 | 1 | -1/+3 |
| | |||||
* | r600g: Split ALU clauses based on used constant cache lines. | Henri Verbeet | 2011-01-07 | 2 | -21/+129 |
| | |||||
* | r600g: Consistently use the copy of the alu instruction in ↵ | Henri Verbeet | 2011-01-07 | 1 | -9/+9 |
| | | | | r600_bc_add_alu_type(). | ||||
* | r600g: Store kcache settings as an array. | Henri Verbeet | 2011-01-07 | 3 | -24/+25 |
| | |||||
* | r600g: allow constant buffers to be user buffers. | Dave Airlie | 2011-01-07 | 6 | -4/+44 |
| | | | | | | | | | This provides an upload facility for the constant buffers since Marek's constants in user buffers changes. gears at least work on my evergreen now. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: add support for NI (Northern Islands) GPUs | Alex Deucher | 2011-01-06 | 4 | -0/+76 |
| | | | | This adds support for Barts, Turks, and Caicos asics. | ||||
* | r600g: support up to 64 shader constants | Alex Deucher | 2011-01-04 | 2 | -1/+20 |
| | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
* | r600g: r600_blit_uncompress_depth() can't fail. | Henri Verbeet | 2010-12-24 | 2 | -5/+2 |
| | |||||
* | r600g: Get rid of r600_blit_uncompress_depth_ptr. | Henri Verbeet | 2010-12-24 | 3 | -6/+1 |
| | |||||
* | r600g: hack around property unknown issues. | Dave Airlie | 2010-12-24 | 1 | -0/+2 |
| | | | | | | | | should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r600g: Rearrange print order of outputs of R600_ERR. | Vinson Lee | 2010-12-23 | 1 | -1/+1 |
| | |||||
* | r600g: Remove the unused "pframebuffer" field from r600_pipe_context. | Henri Verbeet | 2010-12-22 | 3 | -5/+0 |
| |