Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nouveau: allow pipe driver to define which buffers should start in sysmem | Ben Skeggs | 2011-03-03 | 1 | -3/+2 |
| | | | | | | | PIPE_BIND_CONSTANT_BUFFER alone was OK for nv50/nvc0, but nv30 will need to be able to set others on certain chipsets. Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nvc0: fix a crash on context destruction | Ben Skeggs | 2011-03-01 | 1 | -2/+6 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nouveau: ensure vbo_dirty is set when buffer write transfer complete | Ben Skeggs | 2011-03-01 | 11 | -102/+111 |
| | | | | | | This introduces a shared nouveau_context struct to track such things. Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nvc0: port to common fence/mm/buffer code | Ben Skeggs | 2011-03-01 | 21 | -1347/+128 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nv50-nvc0: set cur_ctx during init if none currently bound | Ben Skeggs | 2011-03-01 | 1 | -0/+2 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> | ||||
* | nvc0: fix PointCoord enable in FP header | Christoph Bumiller | 2011-02-24 | 1 | -2/+5 |
| | |||||
* | nvc0: change TGSI CMP translation to use slct | Christoph Bumiller | 2011-02-24 | 3 | -8/+15 |
| | | | | Saves us the explicit compare instruction needed with selp. | ||||
* | nvc0: sprite coord enable is per GENERIC, not overall index | Christoph Bumiller | 2011-02-24 | 1 | -5/+3 |
| | |||||
* | nvc0: fix new_value calls using type instead of size | Christoph Bumiller | 2011-02-24 | 1 | -3/+3 |
| | |||||
* | nvc0: set local memory usage info in shader header | Christoph Bumiller | 2011-02-24 | 6 | -3/+34 |
| | | | | Before this, l[] access was a no-op. | ||||
* | nvc0: don't fold loads from local memory | Christoph Bumiller | 2011-02-24 | 1 | -0/+5 |
| | |||||
* | nvc0: presin and preex2 can load from const space | Christoph Bumiller | 2011-02-24 | 1 | -2/+2 |
| | |||||
* | nvc0: kick out empty live ranges | Christoph Bumiller | 2011-02-24 | 1 | -0/+3 |
| | | | | They affect overlap tests even though they're actually empty. | ||||
* | nvc0: preemptively insert branch at ENDIF | Christoph Bumiller | 2011-02-24 | 2 | -1/+9 |
| | | | | | | | Might be necessary if a block sneaks in somewhere, like a common block for moves of phi sources after a loop break. This is harmless and normally will be removed before emission. | ||||
* | nvc0: correct allocation of constrained registers | Christoph Bumiller | 2011-02-24 | 1 | -67/+154 |
| | | | | | | | In linear scan we can't allocate multiple values with different live ranges at the same time to assign them consecutive regs. Maybe we should just switch to graph coloring for all values ... | ||||
* | nvc0: sync textures with render targets ourselves | Christoph Bumiller | 2011-02-24 | 6 | -6/+35 |
| | | | | Fixes for example piglit/fbo-flushing and nexuiz' bloom effect. | ||||
* | nvc0: improve userspace fencing | Christoph Bumiller | 2011-02-24 | 6 | -26/+46 |
| | | | | | | Before, there were situations in which we never checked the fences for completion (some loading screens for example) and thus never released memory. | ||||
* | nvc0: values for undefined outputs must have file GPR | Christoph Bumiller | 2011-02-24 | 1 | -7/+4 |
| | |||||
* | nvc0: multiply polygon offset units by 2 | Christoph Bumiller | 2011-02-24 | 1 | -1/+1 |
| | | | | | Wasn't sure if this still was necessary because the piglit test started to fail at some point on nv50 where we already do this. | ||||
* | nvc0: fix SSG | Christoph Bumiller | 2011-02-24 | 1 | -5/+5 |
| | |||||
* | nvc0: don't visit target blocks of a loop break multiple times | Christoph Bumiller | 2011-02-24 | 1 | -1/+4 |
| | |||||
* | nvc0: don't overwrite phi sources at the end of a loop | Christoph Bumiller | 2011-02-24 | 1 | -1/+5 |
| | | | | Except the reference to its own result. | ||||
* | nvc0: fix blend factor mapping | Christoph Bumiller | 2011-02-16 | 1 | -31/+26 |
| | |||||
* | nvc0: fix emit_dfdx,dfdy | Christoph Bumiller | 2011-02-16 | 1 | -0/+2 |
| | |||||
* | nvc0: don't swap sources if either value is not in a GPR | Christoph Bumiller | 2011-02-16 | 1 | -0/+3 |
| | | | | | The memory / immediate source should already be in the only valid position. | ||||
* | nvc0: add missing break statements in constant_operand | Christoph Bumiller | 2011-02-16 | 1 | -0/+2 |
| | |||||
* | nvc0: fix clipping and use VIEWPORT instead of SCISSOR | Christoph Bumiller | 2011-02-16 | 5 | -70/+58 |
| | |||||
* | nvc0: demagic the clear flags and fix region clears | Christoph Bumiller | 2011-02-16 | 3 | -32/+62 |
| | | | | | The CLIP_RECTs always affect dedicated clears, and it's nicer than having to mark the viewport or scissor state dirty after it. | ||||
* | nvc0: front stencil mask and func mask methods are swapped | Christoph Bumiller | 2011-02-16 | 2 | -8/+10 |
| | |||||
* | nvc0: clone memory values with multiple refs before modifying them | Christoph Bumiller | 2011-02-16 | 1 | -2/+5 |
| | |||||
* | nvc0: disable early fragment tests if KIL is used | Christoph Bumiller | 2011-02-16 | 1 | -1/+1 |
| | | | | Early-Z pass raises the occlusion counter. | ||||
* | nvc0: force vertex data through FIFO if we need to convert it | Christoph Bumiller | 2011-02-16 | 2 | -1/+9 |
| | | | | | We may want to put the converted vertex buffer in persistent storage instead, but these are rare corner cases. | ||||
* | nvc0: use format from the template on surface creation | Christoph Bumiller | 2011-02-16 | 1 | -1/+1 |
| | | | | Fixes piglit/fbo-srgb. | ||||
* | nvc0: update the set of formats supported by the 2D engine | Christoph Bumiller | 2011-02-16 | 1 | -16/+10 |
| | |||||
* | nvc0: fix user vertex buffer updates | Christoph Bumiller | 2011-02-16 | 4 | -11/+42 |
| | |||||
* | nvc0: Fix uninitialized variable warning. | Vinson Lee | 2011-02-15 | 1 | -1/+1 |
| | | | | | | Fixes this GCC warning. nvc0_tgsi_to_nc.c: In function 'bld_tex': nvc0_tgsi_to_nc.c:1392: warning: 'dim' may be used uninitialized in this function | ||||
* | gallium: notify drivers about possible changes in user buffer contents | Marek Olšák | 2011-02-14 | 1 | -0/+3 |
| | | | | Also implement the redefine_user_buffer hook in the drivers. | ||||
* | gallium: remove pipe_vertex_buffer::max_index | Marek Olšák | 2011-02-14 | 1 | -1/+1 |
| | | | | | This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan. | ||||
* | nvc0: serialize on PIPE_FLUSH_RENDER_CACHE as well | Christoph Bumiller | 2011-02-09 | 1 | -0/+4 |
| | | | | Effects were easily visible in piglit/fbo-generatemipmap-formats. | ||||
* | nvc0: fix stride of NVC0_3D_RT methods | Christoph Bumiller | 2011-02-09 | 1 | -8/+8 |
| | |||||
* | nvc0: correct storage type for 16 bit surface formats | Christoph Bumiller | 2011-02-09 | 1 | -2/+2 |
| | |||||
* | nvc0: make CSE work for ops with multiple results | Christoph Bumiller | 2011-02-09 | 1 | -13/+72 |
| | |||||
* | nvc0: replace branching with predicated insns where feasible | Christoph Bumiller | 2011-02-09 | 5 | -46/+123 |
| | |||||
* | nvc0: implement local memory load and store ops | Christoph Bumiller | 2011-02-09 | 3 | -12/+38 |
| | |||||
* | nvc0: make sure phi-ops really have one source per in-block | Christoph Bumiller | 2011-02-09 | 2 | -19/+40 |
| | |||||
* | nv50,nvc0: do not forget to apply sign mode to saved TGSI inputs | Christoph Bumiller | 2011-02-09 | 1 | -10/+2 |
| | |||||
* | nvc0: do not generate a backwards jump if a loop ends with BRK | Christoph Bumiller | 2011-02-09 | 1 | -2/+4 |
| | |||||
* | nvc0: store only one value per basic block for TGSI regs | Christoph Bumiller | 2011-02-09 | 1 | -1/+7 |
| | |||||
* | nv50,nvc0: fix condition code change when commuting SET sources | Christoph Bumiller | 2011-02-09 | 1 | -2/+2 |
| | |||||
* | nvc0: set basic block on manual instruction insertion | Christoph Bumiller | 2011-02-09 | 1 | -0/+2 |
| |