summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvc0
AgeCommit message (Collapse)Author
2011-03-13nv50,nvc0: don't assert on cso with 0 vertex elementsChristoph Bumiller
2011-03-13nvc0: support edge flagsChristoph Bumiller
2011-03-13nvc0: fix POLYGON_MODE_BACK macro copy/paste errorChristoph Bumiller
2011-03-13nv50,nvc0: fix pipe context switchChristoph Bumiller
2011-03-13nv50,nvc0: clean up flushesChristoph Bumiller
2011-03-13nv50,nvc0: add some missing resource referencingChristoph Bumiller
2011-03-13nvc0: mask out centroid bit for writing FP headerChristoph Bumiller
It's only 2 bit per input, centroid is set in the instruction.
2011-03-13nvc0: identify VERTEX_QUARANTINEChristoph Bumiller
Well, not sure what exactly it is, but it certainly doesn't contain the control flow stack, but vertex data. Not sure about size, I've only seen the first few KiB written, but the binary driver seems to allocate more.
2011-03-13nvc0: don't enable early-z if alpha test is enabledChristoph Bumiller
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.
2011-03-13nvc0: move sprite coord replace state into csoChristoph Bumiller
It's not dependent on any other state anymore now.
2011-03-13nvc0: s/nblocksx/nblocksy for height in resource_copy_regionChristoph Bumiller
2011-03-13nvc0: fix unitialized variable in TGSI sysval decl processingChristoph Bumiller
2011-03-13nvc0: update/fix supported instruction src modifiersChristoph Bumiller
2011-03-11gallium: remove flags from the flush functionMarek Olšák
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.
2011-03-11gallium: remove the geom_flags param from is_format_supportedMarek Olšák
2011-03-11gallium: kill is_resource_referencedMarek Olšák
Only st/xorg used it and even incorrectly with regards to pipelined transfers.
2011-03-05gallium: split CAP_INSTANCE_DRAWING into INSTANCEID and INSTANCE_DIVISORMarek Olšák
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.
2011-03-04nvc0: Update SConscript.Vinson Lee
2011-03-05nv50,nvc0: get format desc for TIC entry from sampler view formatChristoph Bumiller
Fixes piglit/tex-srgb.
2011-03-05nv50,nvc0: share sampler state creationChristoph Bumiller
2011-03-05nv50,nvc0: update the format tablesChristoph Bumiller
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.
2011-03-05nvc0: use m2mf for resource_copy_region if formats are equalChristoph Bumiller
Which is always the case, but we'll keep the 2D engine blitter nonetheless.
2011-03-05nv50,nvc0: fix texture layer issuesChristoph Bumiller
2011-03-03nouveau: allow pipe driver to define which buffers should start in sysmemBen Skeggs
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 <bskeggs@redhat.com>
2011-03-01nvc0: fix a crash on context destructionBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nouveau: ensure vbo_dirty is set when buffer write transfer completeBen Skeggs
This introduces a shared nouveau_context struct to track such things. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nvc0: port to common fence/mm/buffer codeBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-01nv50-nvc0: set cur_ctx during init if none currently boundBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-02-24nvc0: fix PointCoord enable in FP headerChristoph Bumiller
2011-02-24nvc0: change TGSI CMP translation to use slctChristoph Bumiller
Saves us the explicit compare instruction needed with selp.
2011-02-24nvc0: sprite coord enable is per GENERIC, not overall indexChristoph Bumiller
2011-02-24nvc0: fix new_value calls using type instead of sizeChristoph Bumiller
2011-02-24nvc0: set local memory usage info in shader headerChristoph Bumiller
Before this, l[] access was a no-op.
2011-02-24nvc0: don't fold loads from local memoryChristoph Bumiller
2011-02-24nvc0: presin and preex2 can load from const spaceChristoph Bumiller
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