summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0
Commit message (Collapse)AuthorAgeFilesLines
* nvc0: fix unitialized variable in TGSI sysval decl processingChristoph Bumiller2011-03-131-0/+1
|
* nvc0: update/fix supported instruction src modifiersChristoph Bumiller2011-03-135-20/+31
|
* gallium: remove flags from the flush functionMarek Olšák2011-03-111-7/+8
| | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
* gallium: remove the geom_flags param from is_format_supportedMarek Olšák2011-03-111-1/+1
|
* gallium: kill is_resource_referencedMarek Olšák2011-03-112-21/+0
| | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers.
* gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISORMarek Olšák2011-03-051-1/+2
| | | | | | | | ARB_instanced_arrays is a subset of D3D9. ARB_draw_instanced is a subset of D3D10. The point of this change is to allow D3D9-level drivers to enable ARB_instanced_arrays without ARB_draw_instanced.
* nvc0: Update SConscript.Vinson Lee2011-03-041-3/+0
|
* nv50,nvc0: get format desc for TIC entry from sampler view formatChristoph Bumiller2011-03-051-1/+1
| | | | Fixes piglit/tex-srgb.
* nv50,nvc0: share sampler state creationChristoph Bumiller2011-03-056-126/+22
|
* nv50,nvc0: update the format tablesChristoph Bumiller2011-03-057-524/+191
| | | | | | | | Removed sampler view support for USCALED/SSCALED, the texture unit refuses to convert to non-normalized float. The enums are treated like UNORM. Removed duplicate format related headers.
* nvc0: use m2mf for resource_copy_region if formats are equalChristoph Bumiller2011-03-053-4/+75
| | | | | Which is always the case, but we'll keep the 2D engine blitter nonetheless.
* nv50,nvc0: fix texture layer issuesChristoph Bumiller2011-03-059-62/+78
|
* nouveau: allow pipe driver to define which buffers should start in sysmemBen Skeggs2011-03-031-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 destructionBen Skeggs2011-03-011-2/+6
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* nouveau: ensure vbo_dirty is set when buffer write transfer completeBen Skeggs2011-03-0111-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 codeBen Skeggs2011-03-0121-1347/+128
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* nv50-nvc0: set cur_ctx during init if none currently boundBen Skeggs2011-03-011-0/+2
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* nvc0: fix PointCoord enable in FP headerChristoph Bumiller2011-02-241-2/+5
|
* nvc0: change TGSI CMP translation to use slctChristoph Bumiller2011-02-243-8/+15
| | | | Saves us the explicit compare instruction needed with selp.
* nvc0: sprite coord enable is per GENERIC, not overall indexChristoph Bumiller2011-02-241-5/+3
|
* nvc0: fix new_value calls using type instead of sizeChristoph Bumiller2011-02-241-3/+3
|
* nvc0: set local memory usage info in shader headerChristoph Bumiller2011-02-246-3/+34
| | | | Before this, l[] access was a no-op.
* nvc0: don't fold loads from local memoryChristoph Bumiller2011-02-241-0/+5
|
* nvc0: presin and preex2 can load from const spaceChristoph Bumiller2011-02-241-2/+2
|
* nvc0: kick out empty live rangesChristoph Bumiller2011-02-241-0/+3
| | | | They affect overlap tests even though they're actually empty.
* nvc0: preemptively insert branch at ENDIFChristoph Bumiller2011-02-242-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 registersChristoph Bumiller2011-02-241-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 ourselvesChristoph Bumiller2011-02-246-6/+35
| | | | Fixes for example piglit/fbo-flushing and nexuiz' bloom effect.
* nvc0: improve userspace fencingChristoph Bumiller2011-02-246-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 GPRChristoph Bumiller2011-02-241-7/+4
|
* nvc0: multiply polygon offset units by 2Christoph Bumiller2011-02-241-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 SSGChristoph Bumiller2011-02-241-5/+5
|
* nvc0: don't visit target blocks of a loop break multiple timesChristoph Bumiller2011-02-241-1/+4
|
* nvc0: don't overwrite phi sources at the end of a loopChristoph Bumiller2011-02-241-1/+5
| | | | Except the reference to its own result.
* nvc0: fix blend factor mappingChristoph Bumiller2011-02-161-31/+26
|
* nvc0: fix emit_dfdx,dfdyChristoph Bumiller2011-02-161-0/+2
|
* nvc0: don't swap sources if either value is not in a GPRChristoph Bumiller2011-02-161-0/+3
| | | | | The memory / immediate source should already be in the only valid position.
* nvc0: add missing break statements in constant_operandChristoph Bumiller2011-02-161-0/+2
|
* nvc0: fix clipping and use VIEWPORT instead of SCISSORChristoph Bumiller2011-02-165-70/+58
|
* nvc0: demagic the clear flags and fix region clearsChristoph Bumiller2011-02-163-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 swappedChristoph Bumiller2011-02-162-8/+10
|
* nvc0: clone memory values with multiple refs before modifying themChristoph Bumiller2011-02-161-2/+5
|
* nvc0: disable early fragment tests if KIL is usedChristoph Bumiller2011-02-161-1/+1
| | | | Early-Z pass raises the occlusion counter.
* nvc0: force vertex data through FIFO if we need to convert itChristoph Bumiller2011-02-162-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 creationChristoph Bumiller2011-02-161-1/+1
| | | | Fixes piglit/fbo-srgb.
* nvc0: update the set of formats supported by the 2D engineChristoph Bumiller2011-02-161-16/+10
|
* nvc0: fix user vertex buffer updatesChristoph Bumiller2011-02-164-11/+42
|
* nvc0: Fix uninitialized variable warning.Vinson Lee2011-02-151-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 contentsMarek Olšák2011-02-141-0/+3
| | | | Also implement the redefine_user_buffer hook in the drivers.
* gallium: remove pipe_vertex_buffer::max_indexMarek Olšák2011-02-141-1/+1
| | | | | This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan.