summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-10-14st/egl: Do not finish a fence that is NULL.Chia-I Wu
i915g would dereference the NULL pointer.
2010-10-14st/egl: Access _EGLConfig directly.Chia-I Wu
Drop the use of SET_CONFIG_ATTRIB. Fix the value of EGL_SAMPLE_BUFFERS along the way.
2010-10-14r600g: select linear interpolate if tgsi input requests itDave Airlie
2010-10-14r600g: fixup typo in macro nameDave Airlie
2010-10-14r600g: fixup pos/face ena/address properlyDave Airlie
2010-10-14r600g: only pick centroid coordinate when asked.Dave Airlie
TGSI tells us when to use this, its not hooked up from GLSL to MESA to TGSI yet though.
2010-10-14r600g: Fix texture sampling with swizzled coordsFredrik Höglund
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-14r600g: drop unused context membersDave Airlie
2010-10-13llvmpipe: Generalize the x8z24 fast path to all depth formats.José Fonseca
Together with the previous commit, this generalize the benefits of d2cf757f44f4ee5554243f3279483a25886d9927 to all depth formats, in particular: - simpler float -> 24unorm conversion - avoid unsigned comparisons (not directly supported on SSE) by aligning to the least significant bit - avoid unecessary/repeated mask ANDing Verified with trivial/tri-z that the exact same assembly is produced for X8Z24.
2010-10-13gallivm: More accurate float -> 24bit & 32bit unorm conversion.José Fonseca
2010-10-13gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8Brian Paul
The bug only happens on the AOS / fixed-pt path.
2010-10-13gallivm: Remove unnecessary header.Vinson Lee
2010-10-13llvmpipe: Unbreak Z32_FLOAT.José Fonseca
Z32_FLOAT uses <4 x float> as intermediate/destination type, instead of <4 x i32>. The necessary bitcasts got removed with commit 5b7eb868fde98388d80601d8dea39e679828f42f Also use depth/stencil type and build contexts consistently, and make the depth pointer argument a ordinary <i8 *>, to catch this sort of issues in the future (and also to pave way for Z16 and Z32_FLOAT_S8_X24 support).
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg
2010-10-13gl: Remove unused GLcontextModes fieldsKristian Høgsberg
2010-10-13Get rid of GL/internal/glcore.hKristian Høgsberg
__GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly.
2010-10-13gallivm: only use lp_build_conv 4x4f -> 1x16 ub fastpath with sse2Roland Scheidegger
This is relying on lp_build_pack2 using the sse2 pack intrinsics which handle clamping. (Alternatively could have make it use lp_build_packs2 but it might not even produce more efficient code than not using the fastpath in the first place.)
2010-10-13r600g: fix stencil export for evergreen harderDave Airlie
2010-10-13r600g: fix relative addressing when splitting constant accessesStephan Schmid
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-13r600g: add missing eg reg definitionDave Airlie
2010-10-13r600g: evergreen add stencil export bitDave Airlie
2010-10-13r600g: use blitter for hw copy regionDave Airlie
at the moment depth copies are failing (piglit depth-level-clamp) so use the fallback for now until get some time to investigate.
2010-10-13r600g: drop all use of unsigned longDave Airlie
this changes size on 32/64 bit so is definitely no what you want to use here.
2010-10-13r600g: fix transfer stride.Dave Airlie
fixes segfaults
2010-10-13r600g: remove bpt and start using pitch_in_bytes/pixels.Dave Airlie
this mirror changes in r300g, bpt is kinda useless when it comes to some of the non-simple texture formats.
2010-10-13r600g: rename pitch in texture to pitch_in_bytesDave Airlie
2010-10-13r600g: use common texture object create functionDave Airlie
2010-10-13r600g: split out miptree setup like r300gDave Airlie
just a cleanup step towards tiling
2010-10-13r600g: add copy into tiled textureDave Airlie
2010-10-13r600g: the vs/ps const arrays weren't actually being used.Dave Airlie
completely removed them.
2010-10-13r600g: reduce size of context structure.Dave Airlie
this thing will be in the cache a lot, so having massive big struct arrays inside it won't be helping anyone.
2010-10-13r600g: store samplers/views across blit when we need to modify themDave Airlie
also fixup framebuffer state copies to avoid bad state.
2010-10-13r600g: fix scissor/cliprect confusionDave Airlie
gallium calls them scissors, but r600 hw like r300 is better off using cliprects to implement them as we can turn them on/off a lot easier.
2010-10-13r600g: fix depth0 settingDave Airlie
2010-10-12draw/llvmpipe: replace DRAW_MAX_TEXTURE_LEVELS with PIPE_MAX_TEXTURE_LEVELSBrian Paul
There's no apparent reason for the former to exist. And they didn't even have the same value.
2010-10-12gallivm: remove newlinesBrian Paul
2010-10-13gallivm: fix different handling of [non]normalized coords in linear soa pathRoland Scheidegger
There seems to be no reason for it, so do same math for both (except the scale mul, of course).
2010-10-13r600g: add shader stencil export support.Dave Airlie
2010-10-13r600g: add support for S8, X24S8 and S8X24 sampler formats.Dave Airlie
2010-10-13softpipe: add support for shader stencil export capabilityDave Airlie
this allows softpipe to be used to test shader stencil ref exporting. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-13gallium/util: add S8 tile sampling support.Dave Airlie
2010-10-13gallium/format: add X32_S8X24_USCALED format.Dave Airlie
Has similiar use cases to the S8X24 and X24S8 formats.
2010-10-13gallium/format: add support for X24S8 and S8X24 formats.Dave Airlie
these formats are needed for hw that can sample and write stencil values. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-13gallium/tgsi: add support for stencil writes.Dave Airlie
this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-12llvmpipe: make sure intrinsics code is guarded with PIPE_ARCH_SSEKeith Whitwell
2010-10-12st/xorg: Fix typoThomas Hellstrom
Pointed out by Jakob Bornecrantz. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-10-12gallivm: Name anonymous union.José Fonseca
2010-10-12st/xlib: add some commentsBrian Paul