summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-02-14r300g: fix scons buildMarek Olšák
2010-02-13softpipe: fix broken cubemap / mipmap selection codeBrian Paul
This is a quick-fix for the time being... The per-face mipmap LOD computation was invalid at cube edges. In mip_filter_nearest/linear() we were trying to compute LOD using texcoords that were sometimes indexes into different cube faces. The subtraction used to compute the partial derivatives basically gave random values, so the LOD was unpredictable. This fix simply uses the same cube face for all four pixels in the quad. The per- face texcoords all reference the same cube face so the partial deriviates are computed properly. A more elaborate fix would involve computing the LOD at the same time as we choose the cube faces. But for now, this solution works well and allows the piglit/cubemap test to pass. (cherry picked from commit 1ff9cd5079b095d7050edb8dc6a7e5b8cad36e1e)
2010-02-13svga: Fix texture border color.José Fonseca
Also opposite ordering.
2010-02-13r300g: do not invalidate texture caches when only sampler state is changedMarek Olšák
2010-02-13r300g: cleanup the emission of RS block stateMarek Olšák
Emit as few regs as possible.
2010-02-13r300g: cleanup the emission of framebuffer stateMarek Olšák
Some emits are not needed anymore.
2010-02-13r300g: disable independent blend enablesMarek Olšák
Not supported by r300.
2010-02-13r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xxMarek Olšák
2010-02-12svga: Silence uninitialized variable warning.Vinson Lee
2010-02-12svga: A few more tweaks to blend color state emission.José Fonseca
2010-02-12svga: Clamp max cube texture levels to supported max 2d levels.José Fonseca
2010-02-12svga: Report the 2d/3d texture sizes supported by the host.José Fonseca
2010-02-12cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
2010-02-12svga: enable code to emit blend colorRoland Scheidegger
2010-02-12Merge branch 'gallium-dynamicstencilref'Roland Scheidegger
2010-02-12nouveau: nv30: it may have 8 texture samplers (not 4), but shader engine has ↵Patrice Mandin
16 texture units Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12cell: adjust structure paddingBrian Paul
The size of some core Gallium state structures has changed so the padding on some cell structs needed to be adjusted to keep them a multiple of 16 bytes.
2010-02-12cell: remove unused varBrian Paul
2010-02-12cell: include cell_context.hBrian Paul
2010-02-12cell: re-fix undeclared varBrian Paul
2010-02-12cell: declare stencil_value variableBrian Paul
2010-02-12nouveau: nv30: Define number of texture samplersPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12svgadump: Several improvements to shader dumping.José Fonseca
2010-02-12nouveau: use AVAIL_RING()Ben Skeggs
2010-02-12nouveau: switch to nouveau_bo_new_tile()Ben Skeggs
2010-02-11svga: check min_index, max_index before assertionsBrian Paul
It's possible for min_index and max_index to be ~0 if the min/max values were not actually set or computed in the state tracker. Skip some assertions in that case. This only effects the debug build error checking. (cherry picked from commit 408f32dc165b36eb5ec0e2bbc7dcecd28f3a62d3)
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-02-11nouveau: fix compile errors...Roland Scheidegger
2010-02-11nv50: adapt to stencil ref changesRoland Scheidegger
2010-02-11nv40: adapt to stencil ref changesRoland Scheidegger
2010-02-11nv30: adapt to stencil ref changesRoland Scheidegger
not sure if this has any hope of working
2010-02-11svga: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
2010-02-11gallium: make u_blitter code save/restore stencil ref valuesRoland Scheidegger
2010-02-11r300g: adapt to stencil ref changesRoland Scheidegger
2010-02-11cell: adapt to stencil ref changesRoland Scheidegger
not betting this compiles, some of the code handling stencil test seems incomplete and/or never called?
2010-02-11i965g: adapt to stencil ref changesRoland Scheidegger
while there also potentially fix logic ops (were never enabled before)
2010-02-11i915g: adapt to stencil ref changesRoland Scheidegger
2010-02-11Revert "llvmpipe: Move tile coordinate assertion into a more useful place."José Fonseca
This reverts commit 8c0391726a89414356c705fcc2d5a38d12d0fe2b. Too pendantic.
2010-02-11llvmpipe: Move tile coordinate assertion into a more useful place.José Fonseca
2010-02-11llvmpipe: Clamp both extremes of triangles to framebuffer size.José Fonseca
Fix segmentation fault when triangles crossed the axis.
2010-02-11nouveau: remove u_simple_screen.h includesBen Skeggs
2010-02-10i965g: ifdef out unused functions.Vinson Lee
2010-02-10r300g: Work around "defect" in r300compiler.Corbin Simpson
r300compiler doesn't handle half swizzles for vert shaders, which don't have them. So, for now, disable them.
2010-02-10gallium: use os_time.hBrian Paul
2010-02-10r300g: Fix typo.Corbin Simpson
Thanks to Uros Bizjak for catching it.
2010-02-10svga: adapt to stencil ref changesRoland Scheidegger
also add some disabled code to handle blendcolor?
2010-02-10llvmpipe: adapt to stencil ref changesRoland Scheidegger
since the driver doesn't actually handle stencil yet the code won't do much.
2010-02-10identity: adapt to stencil ref changesRoland Scheidegger
2010-02-10fo: adapt to stencil ref changesRoland Scheidegger
2010-02-10llvmpipe: Map rendertargets when bound as textures.José Fonseca
Fixes gearbox segfault (fdo 25960). Corruption remains.