summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-05-02Revert "r300g: disable point sprites (again)"Marek Olšák
This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca.
2010-05-02r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)Marek Olšák
These two should be tied together because what's set in VAP or stuffed in GA should be rasterized in RS. Not doing so causes a hardlock. The reason for the merge is that if stuffed texture coordinates (e.g. point sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos, the two must be relocated to other free slots, which needs remapping the vertex shader outputs. The rasterizer code is now literally a sequence read-rasterize-write.
2010-05-02r300g: inline update_derived_shader_stateMarek Olšák
2010-05-02r300g: fix segfault when resizing a DRI2 framebufferMarek Olšák
Resetting tiling flags might happen after a texture is destroyed... Looking at the kernel sources, we don't actually need to reset the tiling flags.
2010-05-02r300g: cache tiling flags to reduce the number of DRM callsMarek Olšák
2010-05-02i965g: s/sprintf/util_snprintf/Vinson Lee
2010-05-01llvmpipe: Remove unused variable.Vinson Lee
2010-05-01swrastg: Use traceJakob Bornecrantz
2010-04-30nv50: raise constant buffers size to maximumChristoph Bumiller
Removed the param heaps, haven't been using them for a long time now.
2010-04-30nv50: relax restriction on surface_copy format equality a bitChristoph Bumiller
2010-04-30nv50: don't segfault on OPCODE_END for empty programsChristoph Bumiller
2010-04-30llvmpipe: fix out-of-bounds texture samplingBrian Paul
If we're using a wrap mode in which border color sampling is possible it means that texcoords may be outside of the texture image bounds. Fetching the texel may result in a segfault. Use the 'use_border' variable to catch such texcoords and replace the texel offset with zero (which will be in bounds). Fixes segfault in Lightsmark demo, fd.o bug 27877.
2010-04-30llvmpipe: added lp_build_sample_nop() for debuggingBrian Paul
2010-04-30Merge commit 'origin/master' into gallium-msaaRoland Scheidegger
2010-04-29util: Update caps after helpfull inputJakob Bornecrantz
In no particular order: * Make list const * Add function comments * Clearly state that demo lists are not complete * Fix whitespace * Use __FUNCTION__ instead of __func__ * Add unimplemented check which always fail Thanks Brian and Keith.
2010-04-29util: Add small caps checker helperJakob Bornecrantz
2010-04-29util: Format error format string as the rest of the pipe formatsJakob Bornecrantz
2010-04-29softpipe & llvmpipe: Enable SM3 capJakob Bornecrantz
2010-04-29draw llvm: stay in bounds even if fetch_count % 4 != 0Zack Rusin
if fetch_count % 4 != 0 then on the last iteration we fetch garbage. this patch makes sure we stay within bounds
2010-04-29cso: remove commented-out code, update function docsBrian Paul
2010-04-29gallivm: add some assertions in special-case sampler codeBrian Paul
2010-04-29llvmpipe: fix texture/display target memory leakBrian Paul
2010-04-29gallium/draw: Fix PPC compiler warning.Michel Dänzer
2010-04-29gallium/draw: Fix PPC build failure.Michel Dänzer
2010-04-29r300g: fix compiler errorMarek Olšák
Ouch.
2010-04-29r300g: use the enum for color swizzles in the rasterizerMarek Olšák
2010-04-29r300g: rasterizer debug loggingMarek Olšák
2010-04-29r300g: fix tests/yuvrect and possibly even rendering to YUV texturesMarek Olšák
2010-04-29r300g: enable the RGBA16F renderbuffer tooMarek Olšák
2010-04-29r300g: enable float texturesMarek Olšák
We still need to wait for state tracker support.
2010-04-29r300g: compose swizzles from texture formats and sampler viewsMarek Olšák
2010-04-29r300g: init s3tc fetching functionsMarek Olšák
2010-04-27gallium: fix glaring bugs in last commitRoland Scheidegger
2010-04-26gallium: interface changes for multisamplingRoland Scheidegger
add function to set sample mask, and state for alpha-to-coverage and alpha-to-one. Also make it possible to query for supported sample count with is_msaa_supported(). Use explicit resource_resolve() to resolve a resource. Note that it is illegal to bind a unresolved resource as a sampler view, must be resolved first (as per d3d10 and OGL APIs, binding unresolved resource would mean that special texture fetch functions need to be used which give explicit control over what samples to fetch, which isn't supported yet). Also change surface_fill() and surface_copy() to operate directly on resources. Blits should operate directly on resources, most often state trackers just used get_tex_surface() then did a blit. Note this also means the blit bind flags are gone, if a driver implements this functionality it is expected to handle it for all resources having depth_stencil/render_target/sampler_view bind flags (might even require it for all bind flags?). Might want to introduce quality levels for MSAA later. Might need to revisit this for hw which does instant resolve.
2010-04-26gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOPAlan Hourihane
2010-04-26draw: Always use the llvm middle end when available & enabled.José Fonseca
2010-04-26svga: Pass-through max_index to translate.José Fonseca
2010-04-26draw: Pass-through pipe_buffer::max_index to translate.José Fonseca
max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now.
2010-04-26translate: Take and respect a max_index argument.José Fonseca
2010-04-26r300g: Rudimentary stats, printed on exit.Corbin Simpson
Whoo!
2010-04-26r300g: Add stats debug flag.Corbin Simpson
2010-04-26os: Check for spurious wakeups in pipe_barrier_wait.Vinson Lee
The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri.
2010-04-26r300g: Use table CS writing when applicable.Corbin Simpson
I just broke the 2000 fps barrier on glxgears. Yay?
2010-04-26r300g: Add CS table writing.Corbin Simpson
2010-04-26et/egl: Remove dead code.Vinson Lee
proc_name cannot be NULL after the switch statement. proc_name is assigned a value or the function has already returned.
2010-04-25nvfx: Add include path to SCons build.Vinson Lee
2010-04-26r300g: support index bias on r500 and DRM 2.3.0Marek Olšák
2010-04-26r300g: support rendering more than 65535 vertices in one batch on r500Marek Olšák
and disable batch splitting on these chipsets.
2010-04-26r300g: emit MSPOS regsMarek Olšák
2010-04-26r300g: force prefetch for non-indexed verticesMarek Olšák