summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
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
2011-03-05i915g: Use tgsi_info from fragment shader insteadJakob Bornecrantz
2011-03-04i915g: use passthough shader for empty fragment programsDaniel Vetter
The hw doesn't like it - demos/shadowtex is broken. The emitted shader isn't totally empty though, the depth write fixup gets emitted instead. Maybe that one is somewhat fishy, too? Idea for this patch from Jakob Bornecrantz. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-04r300g: preliminary implementation of clamping controlsMarek Olšák
2011-03-04r300g: implement FP16 alpha testMarek Olšák
2011-03-04r300g: implement blending for some of non-RGBA8 formatsMarek Olšák
Blending is now fully supported with: - R8_UNORM - R8G8_UNORM - B8G8R8A8_UNORM - R16G16B16A16_FLOAT (r500-only) Blending is partially supported (DST_ALPHA not working) with: - L8A8_UNORM - I8_UNORM - B5G5R5A1_UNORM - B10G10R10A2_UNORM The other formats can't do blending.
2011-03-04Merge remote branch 'origin/nvc0'Christoph Bumiller
2011-03-04r600g: disable tiling by default again.Dave Airlie
we still have a lot of corner cases that aren't working. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-03-03rbug: Fix depth stencil surface not being sent to the clientJakob Bornecrantz
2011-03-03nv50: check grclass instead of chipset for 3D capsChristoph Bumiller
2011-03-03nv50: increase size of shader code boChristoph Bumiller
512 KiB should be quite enough, but dynamic resize might be nicer.
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-03r600g: correct mega_fetch_count in fetch shaderChristian König
2011-03-02nv50: fix IB index buffer pathChristoph Bumiller
Add missing VERTEX_END and treat unaligned offsets correctly.
2011-03-02nv50: fix POINT_COORD_REPLACE_MAP method sizeChristoph Bumiller
Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87.
2011-03-02nv50: primitive restart trick for vertex data through FIFO modeChristoph Bumiller
Also, on nv50 the VERTEX_BEGIN method doesn't follow VERTEX_END, which was erroneously taken over from nvc0 and is fixed now.
2011-03-02nv50: fix depth clamp for disabled primitive clippingChristoph Bumiller
2011-03-02nv50: implement independent blend functions for nva3+ and fix capChristoph Bumiller
2011-03-02nv50: fix tile size calculationsChristoph Bumiller
2011-03-02nv50: fix point sprite state validationChristoph Bumiller
Wasn't updated if the FP didn't change, and coordinate replacement wasn't disabled anymore.
2011-03-02nv50: allow accidentally disabled IB index buffers againChristoph Bumiller
Must have sneaked in from debugging.
2011-03-02nv50: apply relocations to shader codeChristoph Bumiller
On nv50, branches are absolute, so we need to adjust them according to the shader's position in the code buffer.
2011-03-02nv50: fix wrong miptree tile flags taken over from nvc0Christoph Bumiller