summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2011-03-12r300g: implement fragment color clamping in the shaderMarek Olšák
This finishes the implementation of the fragment color clamp control for ARB_color_buffer_float. I don't wanna keep this stuff in a branch...
2011-03-11r600g: revert unintentional commitAdam Jackson
2011-03-11r600: Build fixAdam Jackson
r600_dri.so.tmp: undefined reference to `_mesa_rgba_logicop_enabled'
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: cleanup fence_signalled and fence_finishMarek Olšák
So that they don't have the driver-specific param and return type.
2011-03-11gallium: kill is_resource_referencedMarek Olšák
Only st/xorg used it and even incorrectly with regards to pipelined transfers.
2011-03-11svga: Propagate discard/unsynchronized flags to the host when doing texture ↵José Fonseca
DMAs.
2011-03-11r300g: fix alignement for NPOT values in hyperz setupNicolas Peninguy
With 3 pipes cards we need to align with NPOT values. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=32945 Signed-off-by: Nicolas Peninguy <nico@lostgeeks.org>
2011-03-10Revert "gallium/svga: Only upload parts of vertexarrays that are actually used"Thomas Hellstrom
This reverts commit 6d4e337f3890105c7d8a2f132412c137d2570d25. The commit is incorrect. I'll rework it. Revert for now. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-10i915g: implement surface clear functions using hw-clearDaniel Vetter
Tested by temporarily using util_clear even when not using the blitter. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: make set_framebuffer_state more robustDaniel Vetter
u_blitter is lazy and doesn't fully clear it's stack-allocated fb. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: implement hw clearDaniel Vetter
Benefits: - spares us a relocation. - needed for zone rendering (if that ever happens). - just awesome. v2: Rename the debug option. Completely disabling the blitter is required for Y tiling to work, so this option will cover other code paths in the future. v3: Implement suggestions by Jakob Bornecrantz. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: blitter handles overlapping blitsDaniel Vetter
No need to assert. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: enable separate depth/stencil clearsDaniel Vetter
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: streamline derived state updates of the driver pipelineDaniel Vetter
Flushing the batch/hw backend doesn't invalidate the derived state. So kill the unnecessary function calls and add an assert in emit_hardware_state for paranoia. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10i915g: don't validate a NULL vboDaniel Vetter
With the new clear code this is possible (if the app call glClear before drawing the first primitive). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-10gallium/svga: Only upload parts of vertexarrays that are actually usedThomas Hellstrom
Make sure we only upload parts of vertex arrays that are actually used by a draw command. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-09nv50: add back initialization of redefine_user_bufferChristoph Bumiller
Got lost in f80c03e1875fe96ff2f4c022e3cb76357828140d.
2011-03-09r600g: remove some now unneeded code from r600_bc_vtx_buildChristian König
2011-03-09r600g: R700+ can do more than 8 tex and vtx clause in one CF instChristian König
Reviewed-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-09r600g: split R600 and R700 CF generation for VTX and TEXChristian König
Reviewed-by: Henri Verbeet <hverbeet@gmail.com>
2011-03-09svga: Add a new winsys entry point to query the hw version.José Fonseca
2011-03-09gallium/svga: Don't replace user vertex buffer with uploaded copyThomas Hellstrom
Do that later on when we set up the hwtnl state instead. This addresses a problem when we drop the uploaded copy due to a vb size change, it will remain referenced in svga->curr.vb[], and the new contents of the vb will never be uploaded. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-08r300g: handle timeout parameter in fence_finishMarek Olšák
2011-03-08gallium: add timeout parameter to fence_finishMarek Olšák
This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
2011-03-08r300g: add LATC supportMarek Olšák
2011-03-08r600g: set start instance correctlyChristian König
2011-03-08r300g: decide whether a flush should be asynchronous when calling itMarek Olšák
Thread offloading is not sometimes desirable, e.g. when mapping a buffer.
2011-03-08r300g: use pipelined transfers for RGTC texturesMarek Olšák
2011-03-07softpipe: clamp texcoords in sample_compare()Philip Taylor
This fixes http://bugs.freedesktop.org/show_bug.cgi?id=31159 for softpipe and fixes the piglit depth-tex-compare test. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
2011-03-07r600g: Simplify some swizzle lookups.Henri Verbeet
2011-03-07r600g: Constant buffers can contain up to 4096 constants.Henri Verbeet
2011-03-06r600g: use long long integers for instance addr calculationChristian König
Using a long for instance addr calculation isn't big enough on 32bit systems, use a long long int instead. Thanks to Rafael Monica for fixing this.
2011-03-06trace: Use pipe_static_mutex.José Fonseca
2011-03-06i915g: update TODODaniel Vetter
Comments about the deleted stuff: - openaren hang: likely caused by the vertex corruptions, fixed by Jakob. - tiling: Y-tiling works with my hw-clear branch. X-tiling works as merged to master a while ago (execbuf2 version). Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-05r300g/swtcl: advertise draw_instanced and primitive_restartMarek Olšák
2011-03-05r300g: implement instanced arraysMarek Olšák
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-05r300g: cleanup parameters of draw functionsMarek Olšák
2011-03-05nv50: support the InstanceID system valueChristoph Bumiller
2011-03-05r600g: simplify instance addr calculationChristian König
Use MULHI_UINT instead of the more complex INT_TO_FLT->MUL->TRUNC->FLT_TO_INT
2011-03-04nvc0: Update SConscript.Vinson Lee
2011-03-04nv50: Update SConscript.Vinson Lee
2011-03-05r600g: fix fragment shader size calculationChristian König
bc.ndw is altered in r600_bc_build, respect that in fragment shader size calculation.
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