Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/mesa: unbind constant buffer when not in use | Keith Whitwell | 2010-11-02 | 1 | -0/+3 |
| | | | | | | | | | | | Important as more constant buffers per shader start to get used. Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers previously didn't see unbinds of constant buffers often or ever, so this isn't always dealt with cleanly. For r600 just return and keep the reference. Will try to do better in a followup change. | ||||
* | nv50: apply layout_mask to tile_flags | Xavier Chantry | 2010-10-15 | 3 | -6/+9 |
| | | | | The tile_flags now store more than just nv50 page table entry bits. | ||||
* | nv50: fix always true conditional in shader optimization | Nicolas Kaiser | 2010-10-05 | 1 | -1/+1 |
| | |||||
* | nv50: fix GP state bind and validate | Christoph Bumiller | 2010-09-28 | 2 | -1/+5 |
| | |||||
* | nv50: fix/handle a few more PIPE_CAPs | Christoph Bumiller | 2010-09-25 | 1 | -1/+6 |
| | |||||
* | nv50: use CLEAR_BUFFERS for surface fills | Christoph Bumiller | 2010-09-25 | 3 | -22/+94 |
| | | | | The 2D engine's fill doesn't seem suited for RGBA32F or ZS buffers. | ||||
* | nv50: use formats table in nv50_surface.c | Christoph Bumiller | 2010-09-25 | 2 | -52/+31 |
| | |||||
* | nv50: Remove dead initialization. | Vinson Lee | 2010-09-18 | 1 | -1/+1 |
| | |||||
* | nv50: Remove dead initialization. | Vinson Lee | 2010-09-18 | 1 | -1/+1 |
| | |||||
* | nv50: Silence missing initializer warning. | Vinson Lee | 2010-09-18 | 1 | -1/+1 |
| | | | | | | Fixes this GCC warning. nv50_state_validate.c:336: warning: missing initializer nv50_state_validate.c:336: error: (near initialization for 'validate_list[20].func') | ||||
* | nv50: fix typo in fifo packet length limit | Christoph Bumiller | 2010-09-18 | 1 | -2/+2 |
| | |||||
* | nv50: emit constbuf relocs before uploading constants | Christoph Bumiller | 2010-09-18 | 3 | -21/+56 |
| | |||||
* | nv50: add relocs for stack and local mem buffers | Christoph Bumiller | 2010-09-18 | 5 | -3/+31 |
| | |||||
* | nv50: get shader fixups/relocations into working state | Christoph Bumiller | 2010-09-16 | 4 | -54/+79 |
| | |||||
* | nv50: don't segfault on shaders with 0 instructions | Christoph Bumiller | 2010-09-16 | 1 | -1/+3 |
| | |||||
* | nv50: Fix 'control reaches end of non-void function' warning. | Vinson Lee | 2010-09-15 | 1 | -0/+1 |
| | |||||
* | nv50: Silence uninitialized variable warnings. | Vinson Lee | 2010-09-15 | 1 | -1/+2 |
| | |||||
* | nv50: Silence uninitialized variable warning. | Vinson Lee | 2010-09-15 | 1 | -1/+2 |
| | |||||
* | nv50: Silence uninitialized variable warning. | Vinson Lee | 2010-09-15 | 1 | -1/+1 |
| | |||||
* | nv50: Silence uninitialized variable warning. | Vinson Lee | 2010-09-15 | 1 | -0/+1 |
| | |||||
* | nv50: Remove unnecessary headers. | Vinson Lee | 2010-09-15 | 2 | -2/+0 |
| | |||||
* | nv50: Update files in SConscript to match Makefile. | Vinson Lee | 2010-09-15 | 1 | -1/+8 |
| | |||||
* | nv50: use unsigned int for bitfields to silence warnings | Brian Paul | 2010-09-15 | 2 | -16/+16 |
| | |||||
* | Merge remote branch 'origin/nv50-compiler' | Christoph Bumiller | 2010-09-15 | 23 | -5020/+9082 |
|\ | | | | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_class.h src/gallium/drivers/nv50/nv50_screen.c | ||||
| * | nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNT | Christoph Bumiller | 2010-09-15 | 2 | -2/+5 |
| | | |||||
| * | nv50: improve and fix modifier folding optimization | Christoph Bumiller | 2010-09-15 | 4 | -26/+46 |
| | | | | | | | | | | | | | | Execute before folding loads, because we don't check if it's legal in lower_mods. Ensure that a value's insn pointer is updated when transferring it to a different instruction. | ||||
| * | nv50: consider address register in reload elimination | Christoph Bumiller | 2010-09-15 | 1 | -7/+11 |
| | | |||||
| * | nv50: fix TXP depth comparison value | Christoph Bumiller | 2010-09-13 | 1 | -16/+22 |
| | | |||||
| * | nv50: fix indirect CONST access with large or negative offsets | Christoph Bumiller | 2010-09-13 | 2 | -3/+12 |
| | | |||||
| * | nv50: MOV TEMP[0], -CONST[0] must be float32 negation | Christoph Bumiller | 2010-09-13 | 1 | -2/+7 |
| | | |||||
| * | nv50: interp cannot write flags reg | Christoph Bumiller | 2010-09-13 | 3 | -7/+25 |
| | | |||||
| * | nv50: check for immediates when turning MUL ADD into MAD | Christoph Bumiller | 2010-09-13 | 1 | -0/+9 |
| | | |||||
| * | nv50: handle TGSI EXP and LOG again | Christoph Bumiller | 2010-09-13 | 2 | -3/+47 |
| | | |||||
| * | nv50: match TEMP limit with nv50 ir builder | Christoph Bumiller | 2010-09-12 | 1 | -1/+1 |
| | | | | | | | | | | Mesa doesn't respect it anyway, but this makes it assert rather than threads access areas of l[] that don't belong to them. | ||||
| * | nv50: newlines in shader bincode printing | Christoph Bumiller | 2010-09-12 | 1 | -2/+5 |
| | | |||||
| * | nv50: cannot move from local mem to output reg directly | Christoph Bumiller | 2010-09-12 | 3 | -3/+5 |
| | | |||||
| * | nv50: fix size of outputs_written array | Xavier Chantry | 2010-09-12 | 1 | -1/+1 |
| | | |||||
| * | nv50: minor compiler fixes and cleanups | Christoph Bumiller | 2010-09-12 | 4 | -8/+19 |
| | | |||||
| * | nv50: reduce bb_reachable_by runtime from pot to linear | Christoph Bumiller | 2010-09-12 | 3 | -21/+104 |
| | | | | | | | | As a by-product, remove the memory leak of nv_basic_blocks. | ||||
| * | nv50: fix can_load check for 3rd source | Christoph Bumiller | 2010-09-09 | 1 | -7/+5 |
| | | |||||
| * | nv50: address regs are 16 bit | Christoph Bumiller | 2010-09-09 | 2 | -1/+5 |
| | | |||||
| * | nv50: duplicate interps in load_proj_tex_coords | Christoph Bumiller | 2010-09-09 | 1 | -4/+35 |
| | | | | | | | | | | Otherwise we might clobber the origin interpolation result or use the result of the RCP before its definition. | ||||
| * | nv50: create value references with the right type | Christoph Bumiller | 2010-09-09 | 2 | -26/+29 |
| | | | | | | | | | | | | | | | | | | Since atm our OPs aren't typed but instead values are, we need to take care if they're used as different types (e.g. a load makes a value u32 by default). Maybe this should be changed (also to match TGSI), but it should work as well if done properly. | ||||
| * | nv50: use actual loads/stores if TEMPs are accessed indirectly | Christoph Bumiller | 2010-09-09 | 10 | -23/+122 |
| | | |||||
| * | nv50: don't parse again in tgsi_2_nc | Christoph Bumiller | 2010-09-09 | 1 | -15/+3 |
| | | |||||
| * | nv50: prepare for having multiple functions | Christoph Bumiller | 2010-09-09 | 8 | -52/+171 |
| | | | | | | | | | | | | | | | | | | At some point we'll want to support real subroutines instead of just inlining them into the main shader. Since recursive calls are forbidden, we can just save all used registers to a fixed local memory region and restore them on a return, no need for a stack pointer. | ||||
| * | nv50: save tgsi instructions | Christoph Bumiller | 2010-09-09 | 2 | -0/+6 |
| | | |||||
| * | nv50: load address register before using it, not after | Christoph Bumiller | 2010-09-03 | 1 | -5/+7 |
| | | |||||
| * | Merge remote branch 'origin/master' into nv50-compiler | Christoph Bumiller | 2010-09-02 | 3 | -3/+8 |
| |\ | | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv50/nv50_program.c | ||||
| * | | nv50: fix build-predicate function | Christoph Bumiller | 2010-09-02 | 4 | -13/+65 |
| | | |