summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0
AgeCommit message (Collapse)Author
2011-02-24nvc0: kick out empty live rangesChristoph Bumiller
They affect overlap tests even though they're actually empty.
2011-02-24nvc0: preemptively insert branch at ENDIFChristoph Bumiller
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.
2011-02-24nvc0: correct allocation of constrained registersChristoph Bumiller
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 ...
2011-02-24nvc0: sync textures with render targets ourselvesChristoph Bumiller
Fixes for example piglit/fbo-flushing and nexuiz' bloom effect.
2011-02-24nvc0: improve userspace fencingChristoph Bumiller
Before, there were situations in which we never checked the fences for completion (some loading screens for example) and thus never released memory.
2011-02-24nvc0: values for undefined outputs must have file GPRChristoph Bumiller
2011-02-24nvc0: multiply polygon offset units by 2Christoph Bumiller
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.
2011-02-24nvc0: fix SSGChristoph Bumiller
2011-02-24nvc0: don't visit target blocks of a loop break multiple timesChristoph Bumiller
2011-02-24nvc0: don't overwrite phi sources at the end of a loopChristoph Bumiller
Except the reference to its own result.
2011-02-16nvc0: fix blend factor mappingChristoph Bumiller
2011-02-16nvc0: fix emit_dfdx,dfdyChristoph Bumiller
2011-02-16nvc0: don't swap sources if either value is not in a GPRChristoph Bumiller
The memory / immediate source should already be in the only valid position.
2011-02-16nvc0: add missing break statements in constant_operandChristoph Bumiller
2011-02-16nvc0: fix clipping and use VIEWPORT instead of SCISSORChristoph Bumiller
2011-02-16nvc0: demagic the clear flags and fix region clearsChristoph Bumiller
The CLIP_RECTs always affect dedicated clears, and it's nicer than having to mark the viewport or scissor state dirty after it.
2011-02-16nvc0: front stencil mask and func mask methods are swappedChristoph Bumiller
2011-02-16nvc0: clone memory values with multiple refs before modifying themChristoph Bumiller
2011-02-16nvc0: disable early fragment tests if KIL is usedChristoph Bumiller
Early-Z pass raises the occlusion counter.
2011-02-16nvc0: force vertex data through FIFO if we need to convert itChristoph Bumiller
We may want to put the converted vertex buffer in persistent storage instead, but these are rare corner cases.
2011-02-16nvc0: use format from the template on surface creationChristoph Bumiller
Fixes piglit/fbo-srgb.
2011-02-16nvc0: update the set of formats supported by the 2D engineChristoph Bumiller
2011-02-16nvc0: fix user vertex buffer updatesChristoph Bumiller
2011-02-15nvc0: Fix uninitialized variable warning.Vinson Lee
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
2011-02-14gallium: notify drivers about possible changes in user buffer contentsMarek Olšák
Also implement the redefine_user_buffer hook in the drivers.
2011-02-14gallium: remove pipe_vertex_buffer::max_indexMarek Olšák
This is redundant to pipe_draw_info::max_index and doesn't really fit in the optimizations I plan.
2011-02-09nvc0: serialize on PIPE_FLUSH_RENDER_CACHE as wellChristoph Bumiller
Effects were easily visible in piglit/fbo-generatemipmap-formats.
2011-02-09nvc0: fix stride of NVC0_3D_RT methodsChristoph Bumiller
2011-02-09nvc0: correct storage type for 16 bit surface formatsChristoph Bumiller
2011-02-09nvc0: make CSE work for ops with multiple resultsChristoph Bumiller
2011-02-09nvc0: replace branching with predicated insns where feasibleChristoph Bumiller
2011-02-09nvc0: implement local memory load and store opsChristoph Bumiller
2011-02-09nvc0: make sure phi-ops really have one source per in-blockChristoph Bumiller
2011-02-09nv50,nvc0: do not forget to apply sign mode to saved TGSI inputsChristoph Bumiller
2011-02-09nvc0: do not generate a backwards jump if a loop ends with BRKChristoph Bumiller
2011-02-09nvc0: store only one value per basic block for TGSI regsChristoph Bumiller
2011-02-09nv50,nvc0: fix condition code change when commuting SET sourcesChristoph Bumiller
2011-02-09nvc0: set basic block on manual instruction insertionChristoph Bumiller
2011-02-09nvc0: try to fix register conflicts for vector instructionsChristoph Bumiller
Vector here means using multiple 32 bit regs which are forced to be consecutive in the register file. This still isn't quite nice.
2011-02-09nvc0: reset texture base address after read transferChristoph Bumiller
2011-02-09nvc0: don't combine memory loads across block boundariesChristoph Bumiller
2011-02-09nvc0: detect no-op MIN/MAX, do CSE earlier to succeed more oftenChristoph Bumiller
2011-01-30nvc0: implement transform feedback stateChristoph Bumiller
2011-01-29nvc0: enable PIPE_CAP_ARRAY_TEXTURES and fix themChristoph Bumiller
2011-01-24nvc0: Move declaration before code.Vinson Lee
Fixes nvc0 SCons build.
2011-01-23nvc0: implement point coord replacementChristoph Bumiller
But we have to cheat and peek at the GENERIC semantic indices the state tracker uses for TEXn. Only outputs from 0x300 to 0x37c can be replaced, and so we have to know on shader compilation which ones to put there in order to keep doing separate shader objects properly. At some point I'll probably create a patch that makes gallium not force us to discard the information about what is a TexCoord.
2011-01-23nvc0: fix emit_cvt for ceil, floor and truncChristoph Bumiller
2011-01-23nvc0: remove bad assert and emit TEMP movs insteadChristoph Bumiller
2011-01-23nvc0: fix address and value slot assignment in load combiningChristoph Bumiller
2011-01-23nvc0: don't omit highest bit of branch targetChristoph Bumiller
Fixes negative relative branch offsets.