Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi: remove redundant name tables from tgsi_text, use those from tgsi_dump | Marek Olšák | 2011-01-06 | 3 | -56/+33 |
| | | | | | I also specified the array sizes in the header so that one can use the Elements macro on it. | ||||
* | gallium: drivers should reference vertex buffers | Marek Olšák | 2011-01-06 | 17 | -52/+89 |
| | | | | So that a state tracker can unreference them after set_vertex_buffers. | ||||
* | u_upload_mgr: new features | Marek Olšák | 2011-01-06 | 6 | -36/+115 |
| | | | | | | | | | | | | | | - Added a parameter to specify a minimum offset that should be returned. r300g needs this to better implement user buffer uploads. This weird requirement comes from the fact that the Radeon DRM doesn't support negative offsets. - Added a parameter to notify a driver that the upload flush occured. A driver may skip buffer validation if there was no flush, resulting in a better performance. - Added a new upload function that returns a pointer to the upload buffer directly, so that the buffer can be filled e.g. by the translate module. | ||||
* | u_upload_mgr: keep the upload buffer mapped until it is flushed | Marek Olšák | 2011-01-06 | 1 | -52/+14 |
| | | | | | | | The map/unmap overhead can be significant even though there is no waiting on busy buffers. There is simply a huge number of uploads. This is a performance optimization for Torcs, a car racing game. | ||||
* | nvc0: Fix typo of nvc0_mm.c in SConscript. | Vinson Lee | 2011-01-06 | 1 | -1/+1 |
| | |||||
* | st/xorg: Flesh out colour map support and support depth 8. | Michel Dänzer | 2011-01-05 | 3 | -1/+80 |
| | |||||
* | 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]> | ||||
* | Merge remote branch 'origin/nvc0' | Christoph Bumiller | 2011-01-04 | 48 | -11/+17358 |
|\ | |||||
| * | nvc0: fix index size method value for u8 indices | Christoph Bumiller | 2011-01-04 | 1 | -8/+2 |
| | | |||||
| * | nvc0: set the correct FP header bit for multiple colour outputs | Christoph Bumiller | 2011-01-04 | 1 | -1/+1 |
| | | |||||
| * | nvc0: delete memory caches and fence on screen destruction | Christoph Bumiller | 2011-01-04 | 4 | -0/+50 |
| | | |||||
| * | nvc0: use mov instead of ld for scalar const loads | Christoph Bumiller | 2011-01-04 | 1 | -1/+6 |
| | | |||||
| * | nvc0: fix resource unmap after vertex push | Christoph Bumiller | 2011-01-04 | 3 | -10/+8 |
| | | |||||
| * | nvc0: use the proper typed opcodes in constant folding | Christoph Bumiller | 2011-01-04 | 1 | -86/+92 |
| | | |||||
| * | nvc0: demagic GP invocation count bitfield | Christoph Bumiller | 2011-01-04 | 1 | -2/+16 |
| | | |||||
| * | nvc0: rewrite the 9097 GRAPH macros | Christoph Bumiller | 2011-01-04 | 2 | -177/+192 |
| | | |||||
| * | drm/nvc0: don't un-bind every subchannel on init | Ben Skeggs | 2010-12-30 | 1 | -5/+0 |
| | | | | | | | | | | | | | | The initial values in the grctx are 0x0000 anyway, and re-binding them all to 0x0000 destroys some init done by the nouveau drm. Signed-off-by: Ben Skeggs <[email protected]> | ||||
| * | nvc0: reference the vertex buffers | Christoph Bumiller | 2010-12-27 | 1 | -0/+6 |
| | | |||||
| * | nvc0: reenable some shader optimizations | Christoph Bumiller | 2010-12-27 | 2 | -51/+63 |
| | | | | | | | | CSE and constants folding. | ||||
| * | nvc0: use VTX_ATTR for stride 0 vertex attributes | Christoph Bumiller | 2010-12-27 | 1 | -30/+69 |
| | | |||||
| * | nvc0: implement VRAM buffer transfers with bounce buffers | Christoph Bumiller | 2010-12-27 | 12 | -116/+336 |
| | | |||||
| * | nvc0: init miptree transfer layer stride | Christoph Bumiller | 2010-12-27 | 1 | -1/+2 |
| | | |||||
| * | nvc0: respond please inline to PIPE_SHADER_CAP_SUBROUTINES | Christoph Bumiller | 2010-12-23 | 1 | -0/+2 |
| | | |||||
| * | nvc0: fix layer stride state | Christoph Bumiller | 2010-12-23 | 3 | -18/+30 |
| | | |||||
| * | nvc0: use most defs/decls from nouveau_pushbuf.h | Christoph Bumiller | 2010-12-23 | 8 | -118/+29 |
| | | |||||
| * | nvc0: remove unused 'buf' parameter in pipe_buffer_unmap | Ben Skeggs | 2010-12-21 | 1 | -1/+1 |
| | | |||||
| * | nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of places | Ben Skeggs | 2010-12-21 | 2 | -2/+2 |
| | | |||||
| * | nvc0: fence.bo is mappable, mark it as such | Ben Skeggs | 2010-12-21 | 1 | -1/+2 |
| | | |||||
| * | Merge remote branch 'origin/master' into nvc0-new | Ben Skeggs | 2010-12-21 | 22 | -59/+59 |
| |\ | | | | | | | | | | | | | Conflicts: src/gallium/drivers/nouveau/nouveau_winsys.h | ||||
| * | | nvc0: s/INLIN_RING/IMMED_RING | Christoph Bumiller | 2010-12-19 | 5 | -11/+11 |
| | | | |||||
| * | | nvc0: improve shader support for texturing | Christoph Bumiller | 2010-12-19 | 6 | -45/+133 |
| | | | | | | | | | | | | Fixed shadow and cube texture fetches, add array texture fetches. | ||||
| * | | nvc0: adapt to array textures interface change | Christoph Bumiller | 2010-12-19 | 9 | -201/+251 |
| | | | |||||
| * | | Merge remote branch 'origin/master' into nvc0-new | Christoph Bumiller | 2010-12-19 | 467 | -10890/+14933 |
| |\ \ | |||||
| * | | | nvc0: fix clipping with scissors/viewport | Christoph Bumiller | 2010-12-19 | 3 | -11/+56 |
| | | | | | | | | | | | | | | | | | | | | Also setup optional path to use proper primitive clipping instead, which is probably slower. | ||||
| * | | | nvc0: use BIND_RING to set subchannel classes | Christoph Bumiller | 2010-12-19 | 2 | -13/+25 |
| | | | | |||||
| * | | | nvc0: switch to the proper constants upload path | Christoph Bumiller | 2010-12-19 | 2 | -6/+7 |
| | | | | | | | | | | | | | | | | Makes things suddenly go surprisingly fast. | ||||
| * | | | nvc0: add the index buffer offset where missing | Christoph Bumiller | 2010-12-19 | 3 | -1/+4 |
| | | | | |||||
| * | | | nvc0: support user clip planes | Christoph Bumiller | 2010-12-11 | 7 | -3/+96 |
| | | | | |||||
| * | | | nvc0: enable vertex color clamping | Christoph Bumiller | 2010-12-11 | 2 | -2/+4 |
| | | | | |||||
| * | | | nvc0: fix FACE state and and handle FACE sysval/varying offset | Christoph Bumiller | 2010-12-10 | 3 | -19/+23 |
| | | | | |||||
| * | | | nvc0: fix branching ops | Christoph Bumiller | 2010-12-10 | 4 | -13/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | - bra is PC relative - jump to else condition was inverted - handle integer comparisons | ||||
| * | | | nvc0: call grobj_alloc for all used classes | Christoph Bumiller | 2010-12-09 | 2 | -3/+30 |
| | | | | | | | | | | | | | | | | | | | | Only doing this to notify the DRM that we need a PGRAPH context, nvc0 hardware doesn't use actual grobjs anymore. | ||||
| * | | | nvc0: write texture address to TIC with a RELOC | Christoph Bumiller | 2010-12-09 | 1 | -4/+19 |
| | | | | | | | | | | | | | | | | Direct access to the bo address requires an API change. | ||||
| * | | | nvc0: use tile flags in a way compatible with nouveau | Christoph Bumiller | 2010-12-09 | 3 | -23/+29 |
| | | | | |||||
| * | | | nvc0: buffer suballocation with a primitive slab allocator | Christoph Bumiller | 2010-12-09 | 18 | -149/+807 |
| | | | | |||||
| * | | | nvc0: generate shader header for geometry programs | Christoph Bumiller | 2010-12-09 | 1 | -7/+56 |
| | | | | |||||
| * | | | nvc0: fix immediate arg for SHL/SHR | Christoph Bumiller | 2010-12-09 | 1 | -1/+6 |
| | | | | |||||
| * | | | nvc0: index buffers are back | Christoph Bumiller | 2010-12-09 | 3 | -40/+106 |
| | | | | | | | | | | | | | | | | | | | | Probably because long methods are gone index buffers must be explicit again. | ||||
| * | | | nvc0: upload constants with m2mf for the time being | Christoph Bumiller | 2010-12-09 | 2 | -27/+72 |
| | | | | | | | | | | | | | | | | I get mysterious lockups with the dedicated CB upload ... | ||||
| * | | | nvc0: support primitive restart | Christoph Bumiller | 2010-12-09 | 4 | -28/+123 |
| | | | |