summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-09-29python/retrace: Handle set_index_buffer and draw_vbo.José Fonseca
2010-09-29trace: Fix set_index_buffer and draw_vbo tracing.José Fonseca
2010-09-29r600g: Fix SCons build.Vinson Lee
2010-09-29r600g: more cleanupJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-29r600g: Update SConscript.Vinson Lee
Fixes SCons build.
2010-09-29r600g: Update SConscript.Vinson Lee
Fixes SCons build.
2010-09-29r600g: cleanupJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-29r600g: Update SConscript.Vinson Lee
This is a follow-up to commit 9c284b5cae916a083d17d1039d2f2da128b47882. Fixes SCons build.
2010-09-29r300g: add support for formats beginning with X, like X8R8G8B8Marek Olšák
This is actually a format translator fix.
2010-09-29r600g: delete old pathJerome Glisse
Lot of clean can now happen. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-29r600g: use a hash table instead of groupJerome Glisse
Instead of creating group of register use a hash table to lookup into which block each register belongs. This simplify code a bit. Signed-off-by: Jerome Glisse <jglisse@redhat.com
2010-09-29draw: pass sampler state down to llvm jit stateBrian Paul
Fixes a regression caused from the change to make min/max lod dynamic state. https://bugs.freedesktop.org/show_bug.cgi?id=30437
2010-09-29llvmpipe: Decouple sampler view and sampler state updates.José Fonseca
Fixes glean pbo crash. It would be possible to avoid crashing without decoupling, but given that state trackers give no guarantee that number of views is consistent, that would likely cause too many state updates (or miss some).
2010-09-29Revert "r600g: add initial vertex translate support."Dave Airlie
This reverts commit 914b669b082258fc05d0fec047b69949d88585c4. I didn't mean to commit this yet, will redo in new state system once we clean it up.
2010-09-29r600g: remove old assert from new codepathDave Airlie
this fixes draw-elements-base-vertex
2010-09-29r600g: add initial vertex translate support.Dave Airlie
2010-09-29r600g: move radeon.h members around to add back map flushing.Dave Airlie
2010-09-29r600g: add evergreen texture border support to new pathDave Airlie
2010-09-29r600g: add back evergreen name.Dave Airlie
2010-09-28r600g: Cleaned up index buffer reference handling in the draw module.Tilman Sauerbeck
This fixes a buffer leak. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-28r600g: avoid rebuilding the vertex shader if no change to input formatJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28r600g: suspend/resume occlusion query around clear/copyJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28r600g: switch to new designJerome Glisse
New design seems to be on parity according to piglit, make it default to get more exposure and see if there is any show stopper in the coming days. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28r600g: fix remaining piglit issue in new designJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28r600g: use ptr for blit depth uncompress functionJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-28nv50: fix GP state bind and validateChristoph Bumiller
2010-09-28r600g: on evergreen the centroid isn't set in this register.Dave Airlie
2010-09-28r600g: fix db flush breaking config stateDave Airlie
2010-09-28r300g: fix swizzling of texture border colorMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300g: add support for 3D NPOT textures without mipmappingMarek Olšák
The driver actually creates a 3D texture aligned to POT and does all the magic with texture coordinates in the fragment shader. It first emulates REPEAT and MIRRORED wrap modes in the fragment shader to get the coordinates into the range [0, 1]. (already done for 2D NPOT) Then it scales them to get the coordinates of the NPOT subtexture. NPOT textures are now less of a lie and we can at least display something meaningful even for the 3D ones. Supported wrap modes: - REPEAT - MIRRORED_REPEAT - CLAMP_TO_EDGE (NEAREST filtering only) - MIRROR_CLAMP_TO_EDGE (NEAREST filtering only) - The behavior of other CLAMP modes is undefined on borders, but they usually give results very close to CLAMP_TO_EDGE with mirroring working perfectly. This fixes: - piglit/fbo-3d - piglit/tex3d-npot
2010-09-28r300g: code cleanupsMarek Olšák
Some random stuff I had here. 1) Fixed some misleading comments. 2) Removed fake_npot, since it's redundant. 3) lower_texture_rect -> scale_texcoords 4) Reordered and reindented some TEX transform code.
2010-09-28d3d1x: work around crash in widlLuca Barbieri
2010-09-27d3d11: fix reference counting so devices get freedLuca Barbieri
2010-09-27softpipe: fix swizzling of texture border colorBrian Paul
We ask the texture tile cache to swizzle the color for us since that's where the view/swizzling info is available.
2010-09-27llvmpipe: fix swizzling of texture border colorBrian Paul
The pipe_sampler_view's swizzle terms also apply to the texture border color. Simply move the apply_sampler_swizzle() call after we fetch the border color. Fixes many piglit texwrap failures.
2010-09-27r600g: fix occlusion query after change to block structureJerome Glisse
block->reg point to register value not block->pm4 which point to packet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27softpipe: allocate tile data on demandBrian Paul
Changes in v2: - Invalidate last_tile_addr on any change, fixing regressions - Correct coding style Currently softpipe ends up allocating more than 200 MB of memory for each context due to the tile caches. Even worse, this memory is all explicitly cleared, which means that the kernel must actually back it with physical RAM right away. This change allocates tile memory on demand. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-27d3d1x: fix MapLuca Barbieri
2010-09-27d3d1x: rework DXGI for occlusion testing and default width/heightLuca Barbieri
2010-09-27d3d1x: put proper calling convention in headers, fixes 64-bit buildsLuca Barbieri
2010-09-27d3d1x: properly support specifying MipLevels as 0Luca Barbieri
2010-09-27d3d1x: support centroid interpolationLuca Barbieri
2010-09-27ureg: support centroid interpolationLuca Barbieri
2010-09-27d3d1x: link to libdrm for X11 platform tooLuca Barbieri
Thanks to Xavier Chantry.
2010-09-27d3d11: ignore StructureByteStrideLuca Barbieri
D3D11 applications are allowed to pass a random value if the buffer is not structured
2010-09-27d3d11: advertise IDXGIDevice1, not just IDXGIDeviceLuca Barbieri
Fixes failure to create device in DirectX SDK samples.
2010-09-27r600g: fix routing btw vertex & pixel shaderJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: fix pointsprite & resource unbindingJerome Glisse
When asking to bind NULL resource assume it's unbinding so free resource and unreference assoicated buffer. Also fix pointsprite parameter. Fix glsl-fs-pointcoord & fp-fragment-position Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: build packet header onceJerome Glisse
Build packet header once and allow to add fake register support so we can handle things like indexed set of register (evergreen sampler border registers for instance. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: fix index buffer drawingJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>