summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-02-12svga: Silence uninitialized variable warning.Vinson Lee
2010-02-12util: Properly init memory for blitter CSOs.Corbin Simpson
Fixes misrender on r300g.
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-12wgl: Go into dormant state when DLL is unloaded unclealy.José Fonseca
When our DLL is unloaded, even if we leave the data structures in memory for sake of future calls, the MS CRT will destroy the heap. Instead we make all calls no-ops by setting stw_dev to NULL.
2010-02-12cell: implement PIPE_CAP_MAX_COMBINED_SAMPLERS queryBrian Paul
2010-02-12st/dri: don't expose visuals we'll have trouble supportingZack Rusin
without getBuffersWithFormat some visuals will just cause headaches (crashes), so if we're running on an older system simply don't advertise them.
2010-02-12st/dri, st/xorg: fix buffers that have attachements of different depthZack Rusin
we actually need to specify the formats for different attachements, otherwise if the color buffer is 24bpp and the app asks for 16bpp depth buffer than we end up fetching the depth from the drawable which is 24bpp and end up creating the wrong depth buffer. use the new getBuffersWithFormat extension to pass the depth correctly.
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-12Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats."Michal Krol
This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f.
2010-02-12util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats.Michal Krol
Fill in ones for missing components.
2010-02-12nouveau: nv30: Define number of texture samplersPatrice Mandin
Signed-off-by: Patrice Mandin <patmandin@gmail.com>
2010-02-12wgl: Do not reach out and destroy contexts on cleanup.José Fonseca
Simply skip cleanup when contexts are still active. This addresses two issues: - in some situations the ICD DLL may be unloaded before the DLL that is using GL contexts is, so we may receive GL calls after stw_cleanup. - when aborting (exception, or control-c) the contexts may have been left in an inconsistent state and attempting to destroy can cause unpredictable results.
2010-02-12gdi: Never fail at DLL load time.José Fonseca
Windows doesn't really expect things to fail at this point -- it will try many times until it finally gives up, worse, something bad happens. The WGL state tracker will gracefully decline to do work even when it is loaded.
2010-02-12wgl: Fail gracefully whenever 3D could not be enabled for some reason.José Fonseca
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-11gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger
seems cleaner, and other dynamic state like viewport is handled that way too
2010-02-11Revert "llvmpipe: Move tile coordinate assertion into a more useful place."José Fonseca
This reverts commit 8c0391726a89414356c705fcc2d5a38d12d0fe2b. Too pendantic.
2010-02-11scons: Fix drm/intel build.José Fonseca
2010-02-11llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.José Fonseca
Avoids assertion failures with certain shaders.
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-11gallivm: TGSI_OPCODE_CONT is not deprecated.José Fonseca
Note that with FIXME instead of an assertion failure. Addresses fdo 25956.
2010-02-11nouveau: remove u_simple_screen.h includesBen Skeggs
2010-02-11gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger
makes life of state trackers easier
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-10os: Do not use Pthreads barrier functions on Mac OS X.Vinson Lee
Pthreads barrier functions are not available on some POSIX platforms.