aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_context.h
Commit message (Collapse)AuthorAgeFilesLines
* nv50,nvc0: handle user vertex buffersChristoph Bumiller2012-05-171-0/+2
| | | | And restructure VBO validation a little in the process.
* nv50,nvc0: handle user constbufs without wrapping them in a resourceChristoph Bumiller2012-05-171-1/+18
|
* nv50,nvc0: don't initialize the draw module, we don't use itChristoph Bumiller2012-04-241-0/+4
| | | | But some day we might (e.g. for blending 16 bpp formats on nv50).
* nvc0: add initial support for nve4+ (Kepler) chipsetsChristoph Bumiller2012-04-151-9/+16
| | | | | | | | | Most things that work on Fermi should work on Kepler too. There are a few performance optimizations left to do, like better placement of texture barriers and adding scheduling data to the shader instructions (without them, a thread group will be masked for 32 cycles after each single instruction issue).
* nv50,nvc0: fix handling of user vbufs with stride < access sizeChristoph Bumiller2012-04-141-2/+2
|
* nvc0: replace VERTEX_DATA push mode with translate to bufferChristoph Bumiller2012-04-141-1/+1
| | | | | While pushing vertices through the FIFO is relatively fast on nv50, it's horribly slow on nvc0.
* nvc0: improve vertex state validationChristoph Bumiller2012-04-141-1/+4
| | | | Now updating vertex attribute format only when necessary.
* nvc0: track texture dirty state individuallyChristoph Bumiller2012-04-141-13/+16
|
* nv50,nvc0: use new scratch buffers codeChristoph Bumiller2012-04-141-7/+8
|
* nvc0: only force early fragment tests if requested by shaderChristoph Bumiller2012-04-141-1/+1
|
* nouveau: switch to libdrm_nouveau-2.0Christoph Bumiller2012-04-141-31/+29
|
* nvc0: fix submission of VertexID and EdgeFlag in push modeChristoph Bumiller2012-01-121-3/+0
| | | | NOTE: This is a candidate for the 8.0 branch.
* nvc0: implement new stream output interfaceChristoph Bumiller2011-12-151-10/+15
|
* nouveau,nvc0: fix/improve handling of multiple constant buffersChristoph Bumiller2011-10-211-0/+5
|
* nvc0: add support for clip distance shader outputsChristoph Bumiller2011-10-211-1/+3
|
* nvc0: handle more query typesChristoph Bumiller2011-10-211-0/+4
|
* gallium: move clear paths from rgba to a pointer to a color union (v2)Dave Airlie2011-09-181-1/+2
| | | | | | | | | | | | | | | This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values. Notes: 1. the value is opaque. 2. only when the value is used should it be interpretered according to the surface format it is going to be used with. 3. float clears on integer buffers and vice-versa are undefined. v2: fixed up vega and graw, dropped hunks that shouldn't have been in patch. Signed-off-by: Dave Airlie <[email protected]>
* nvc0: hook up to new shader code generatorChristoph Bumiller2011-09-141-0/+3
| | | | | | Also includes loading of shared shader library code (used for f64 and integer division) and setting up the immediate array buffer which is appended to the code.
* nouveau: make data argument of nouveau_context::push_data constChristoph Bumiller2011-09-141-2/+2
|
* nv50,nvc0: add states mask to state validation functionChristoph Bumiller2011-08-301-1/+2
| | | | | | This prevents null dereferences in validation of interdependent state after a switch to a pipe context where we mark all state as dirty but where not all state is valid / set yet.
* nv50,nvc0: add support for multi-sample resourcesChristoph Bumiller2011-07-141-0/+7
|
* nv50,nvc0: unify nvc0_miptree and nv50_miptree structsChristoph Bumiller2011-07-141-14/+0
| | | | | Share some functions and restructure miptree creation a little. Prepare for multi-sample resources.
* nv50,nvc0: prevent pushbuf flush during ctx reloc emissionChristoph Bumiller2011-06-241-0/+2
| | | | | | Should unify this too, but will delay that until the planned libdrm_nouveau/winsys changes which are likely to cause major changes to this bo validation code too.
* nv50,nvc0: silence shader debug outputChristoph Bumiller2011-04-101-10/+1
|
* nvc0: support edge flagsChristoph Bumiller2011-03-131-0/+3
|
* nvc0: don't enable early-z if alpha test is enabledChristoph Bumiller2011-03-131-0/+1
| | | | | | Depth values are also written before the shader is executed, so if early tests are enabled, fragments that failed the alpha test were modifying the depth buffer, but they shouldn't.
* nv50,nvc0: share sampler state creationChristoph Bumiller2011-03-051-1/+1
|
* nouveau: ensure vbo_dirty is set when buffer write transfer completeBen Skeggs2011-03-011-4/+5
| | | | | | 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 codeBen Skeggs2011-03-011-5/+5
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* nvc0: set local memory usage info in shader headerChristoph Bumiller2011-02-241-0/+1
| | | | Before this, l[] access was a no-op.
* nvc0: improve userspace fencingChristoph Bumiller2011-02-241-0/+2
| | | | | | Before, there were situations in which we never checked the fences for completion (some loading screens for example) and thus never released memory.
* nvc0: implement transform feedback stateChristoph Bumiller2011-01-301-0/+9
|
* nvc0: fix and enable instanced drawing and arraysChristoph Bumiller2011-01-161-1/+1
|
* nvc0: update user vbufs on each draw callChristoph Bumiller2011-01-151-1/+2
| | | | This is required in case set_vertex_buffers is not called again.
* nvc0: implement queriesChristoph Bumiller2011-01-091-0/+3
|
* nvc0: upload user buffers only from draw info min to max indexChristoph Bumiller2011-01-081-0/+2
| | | | There are actually applications that profit immensely from this.
* nvc0: implement VRAM buffer transfers with bounce buffersChristoph Bumiller2010-12-271-1/+5
|
* nvc0: use most defs/decls from nouveau_pushbuf.hChristoph Bumiller2010-12-231-16/+0
|
* nvc0: adapt to array textures interface changeChristoph Bumiller2010-12-191-1/+5
|
* nvc0: switch to the proper constants upload pathChristoph Bumiller2010-12-191-1/+1
| | | | Makes things suddenly go surprisingly fast.
* nvc0: buffer suballocation with a primitive slab allocatorChristoph Bumiller2010-12-091-0/+2
|
* nvc0: index buffers are backChristoph Bumiller2010-12-091-0/+1
| | | | | Probably because long methods are gone index buffers must be explicit again.
* nvc0: upload constants with m2mf for the time beingChristoph Bumiller2010-12-091-3/+10
| | | | I get mysterious lockups with the dedicated CB upload ...
* nvc0: support primitive restartChristoph Bumiller2010-12-091-0/+1
|
* nvc0: import nvc0 gallium driverChristoph Bumiller2010-11-121-0/+218