summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-02-14gallivm: s/debug_dump_/util_dump_/José Fonseca
2010-02-14util: Rename u_debug_dump.[ch] -> u_dump.[ch].José Fonseca
I have more plans for this than mere debugging -- it will be an helper to provide human readible representations of all gallium state for the python state tracker.
2010-02-14draw: Use util_format_name().José Fonseca
2010-02-14util: Use util_format_name().José Fonseca
2010-02-14util: Add pf_name() replacement: util_format_name().José Fonseca
2010-02-12util: Properly init memory for blitter CSOs.Corbin Simpson
Fixes misrender on r300g.
2010-02-12Merge branch 'gallium-dynamicstencilref'Roland Scheidegger
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-11gallium: make u_blitter code save/restore stencil ref valuesRoland 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-11llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.José Fonseca
Avoids assertion failures with certain shaders.
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-11gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger
makes life of state trackers easier
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.
2010-02-10gallium: cast to silence waringBrian Paul
2010-02-10gallium: use os_time.h in pb_bufmgr_cache.cBrian Paul
Untested, but seems straightforward.
2010-02-10gallium: use os_time.h in u_timed_winsys.cBrian Paul
2010-02-09gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger
This will make driver's life a bit harder, however it makes sense that stencil reference value is not part of the pipe_depth_stencil_alpha_state, because it often (there are some algorithms which require this) changes more frequently than the rest of the dsa state. This is also encouraged by some graphic APIs. Treat it similar to pipe_blend_color.
2010-02-09gallium/auxiliary: add -D__STDC_CONSTANT_MACROSBrian Paul
Not sure why this is needed now, after the gallivm re-org.
2010-02-09Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger
Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
2010-02-09gallium: Remove prefilter member from pipe_sampler_state struct.Michal Krol
2010-02-09tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol
2010-02-09tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol
Allows one to declare fragment shader inputs with cylindrical wrap info.
2010-02-09gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol
2010-02-09tgsi: Remove tgsi_dump_c.[ch].Michal Krol
Little utility after development stabilisation, use tgsi_dump instead.
2010-02-08llvmpipe: switch to using dynamic stack allocation instead of registersZack Rusin
with mutable vars we don't need to follow the phi nodes. meaning that control flow becomes trivial as we don't have scan the rest of the tgsi to figure out the variable usage anymore. futhermore the memory2register pass promotes alloca/store/load to registers while inserting the right phi nodes. so we get simplicity and performance.
2010-02-08gallivm: added lp_bld_misc.cpp to sources listBrian Paul
2010-02-08gallivm: added gallivm/lp_bld_misc.cpp to MakefileBrian Paul
2010-02-08llvmpipe: export the tgsi translation code to a common layerZack Rusin
the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm.
2010-02-06Gallium: Add Solaris atomic function definitions to u_atomic.hAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-02-05tgsi: remove special-case code for fragment positionBrian Paul
Since the origin_lower_left / pixel_center_origin changes, we need to use the fragcoord info that's set up in setup_fragcoord_coeff(). The code in exec_declaration() was clobbering the the interpolated fragment position. Fixes progs/glsl/fragcoord.c demo.
2010-02-05os: Don't assert on missing implementation of barrier init/destroy. Just usage.José Fonseca
2010-02-05Merge remote branch 'origin/lp-binning'José Fonseca
Conflicts: src/gallium/auxiliary/util/u_dl.c src/gallium/auxiliary/util/u_time.h src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_tile_cache.c
2010-02-04gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
2010-02-04auxiliary: util_stream -> os_streamJosé Fonseca
2010-02-04os: Ensure header includes are outside extern "C" {}.José Fonseca
2010-02-04util: Reimplement u_time on top of os_time.José Fonseca
2010-02-04os: Time abstractions.José Fonseca
Simplified version of u_time.[ch]
2010-02-04os/os_memory_aligned.h: fix memory allocation alignment for 64 bitsJosé Fonseca
Based on Andreia Gaita <shana@jitted.com>'s patch.
2010-02-04util: Disable u_time.c implementation for embedded.José Fonseca
This needs to go into OS module.
2010-02-04util: Add missing include.José Fonseca
2010-02-04os: Add missing dummy threading definitions.José Fonseca
2010-02-03util: Remove unnecessary header.Vinson Lee
2010-02-03util: Cast to match the MSVC intrinsics.José Fonseca
The cast is not optional in C++.
2010-02-03util: Don't include system headers inside extern "C" { ... }José Fonseca
That breaks when some of the system headers have C++ code.
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-02-03tgsi: added debugging code to catch divide by zeroBrian Paul
2010-02-03tgsi: convert CHECK_INF_OR_NAN to inline functionBrian Paul
And disable with if (0). Inf/NaN can occur normally during program execution. Only enable the check code when needed during debugging.