summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: Make more exec opcodes look pretty.Michal Krol2010-02-181-64/+20
|
* tgsi: Change prototypes of micro opcodes to explicitly indicates number of args.Michal Krol2010-02-181-164/+206
|
* tgsi: Rewrite exec implementations of NRM and NRM4.Michal Krol2010-02-181-61/+70
|
* util: Fix typo of debug_dump_float_rgba_bmp.Vinson Lee2010-02-171-1/+1
|
* draw: Add assert to check input of memcpy.Vinson Lee2010-02-141-0/+1
|
* util: Avoid dumping masked state. Other minor improvements.José Fonseca2010-02-142-28/+43
|
* os: A stream for debug logging.José Fonseca2010-02-146-2/+89
| | | | | | | Just a wrapper around os_log_message. Although it would probably make more sense to be the other way around. Also some comment fixes.
* util: Helper functions to dump all state objects.José Fonseca2010-02-144-0/+789
|
* os: Add a growable string stream.José Fonseca2010-02-144-0/+179
|
* os: Complement/improve stream inline helpers.José Fonseca2010-02-141-0/+17
|
* os: Fix bad calloc.José Fonseca2010-02-141-10/+1
|
* util: Update for os_stream changes.José Fonseca2010-02-141-1/+1
|
* os: Make streams abstract.José Fonseca2010-02-146-264/+160
| | | | | Also replace windows kernel stream with null implementation. It was severely limited and no easy means to test it now.
* gallivm: s/debug_dump_/util_dump_/José Fonseca2010-02-141-2/+2
|
* util: Rename u_debug_dump.[ch] -> u_dump.[ch].José Fonseca2010-02-144-57/+57
| | | | | | 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.
* draw: Use util_format_name().José Fonseca2010-02-141-1/+1
|
* util: Use util_format_name().José Fonseca2010-02-141-118/+1
|
* util: Add pf_name() replacement: util_format_name().José Fonseca2010-02-141-0/+13
|
* util: Properly init memory for blitter CSOs.Corbin Simpson2010-02-121-8/+5
| | | | Fixes misrender on r300g.
* Merge branch 'gallium-dynamicstencilref'Roland Scheidegger2010-02-124-49/+69
|\
| * gallium: make u_blitter code save/restore stencil ref valuesRoland Scheidegger2010-02-112-0/+10
| |
| * gallium: give pipe_stencil_ref its own cso_save/restore functionsRoland Scheidegger2010-02-112-5/+16
| | | | | | | | seems cleaner, and other dynamic state like viewport is handled that way too
| * gallium: also save/restore stencil_ref in cso_save/restore_depth_stencil_alphaRoland Scheidegger2010-02-111-3/+6
| | | | | | | | makes life of state trackers easier
| * gallium: don't put stencil ref value in pipe_depth_stencil_alpha_stateRoland Scheidegger2010-02-093-47/+43
| | | | | | | | | | | | | | | | 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.
* | Revert "util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats."Michal Krol2010-02-121-2/+2
| | | | | | | | This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f.
* | util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats.Michal Krol2010-02-121-2/+2
| | | | | | | | Fill in ones for missing components.
* | llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY.José Fonseca2010-02-112-0/+4
| | | | | | | | Avoids assertion failures with certain shaders.
* | gallivm: TGSI_OPCODE_CONT is not deprecated.José Fonseca2010-02-111-2/+1
| | | | | | | | | | | | Note that with FIXME instead of an assertion failure. Addresses fdo 25956.
* | os: Do not use Pthreads barrier functions on Mac OS X.Vinson Lee2010-02-101-42/+52
| | | | | | | | Pthreads barrier functions are not available on some POSIX platforms.
* | gallium: cast to silence waringBrian Paul2010-02-101-1/+1
| |
* | gallium: use os_time.h in pb_bufmgr_cache.cBrian Paul2010-02-101-9/+9
| | | | | | | | Untested, but seems straightforward.
* | gallium: use os_time.h in u_timed_winsys.cBrian Paul2010-02-101-19/+13
| |
* | gallium/auxiliary: add -D__STDC_CONSTANT_MACROSBrian Paul2010-02-091-0/+3
|/ | | | Not sure why this is needed now, after the gallivm re-org.
* Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger2010-02-092-21/+13
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
| * gallium: add point_quad_rasterization bit to rasterizer stateRoland Scheidegger2010-02-041-0/+1
| | | | | | | | | | This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
| * gallium: clean up point sprite rasterizer stateRoland Scheidegger2010-02-032-10/+12
| | | | | | | | | | | | | | | | | | | | 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).
| * gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger2010-01-121-11/+0
| | | | | | | | | | | | | | The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
* | gallium: Remove prefilter member from pipe_sampler_state struct.Michal Krol2010-02-095-5/+0
| |
* | tgsi: Gather cylindrical wrap info in tgsi_shader_info struct.Michal Krol2010-02-092-0/+2
| |
* | tgsi: Add ureg_DECL_fs_input_cyl().Michal Krol2010-02-092-52/+94
| | | | | | | | Allows one to declare fragment shader inputs with cylindrical wrap info.
* | gallium: Add cylindrical wrap info to TGSI declaration.Michal Krol2010-02-093-1/+21
| |
* | tgsi: Remove tgsi_dump_c.[ch].Michal Krol2010-02-093-512/+0
| | | | | | | | Little utility after development stabilisation, use tgsi_dump instead.
* | llvmpipe: switch to using dynamic stack allocation instead of registersZack Rusin2010-02-083-3/+59
| | | | | | | | | | | | | | | | 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.
* | gallivm: added lp_bld_misc.cpp to sources listBrian Paul2010-02-081-0/+1
| |
* | gallivm: added gallivm/lp_bld_misc.cpp to MakefileBrian Paul2010-02-081-0/+5
| |
* | llvmpipe: export the tgsi translation code to a common layerZack Rusin2010-02-0866-5580/+11064
| | | | | | | | | | | | | | 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.
* | Gallium: Add Solaris atomic function definitions to u_atomic.hAlan Coopersmith2010-02-061-1/+35
| | | | | | | | Signed-off-by: Alan Coopersmith <[email protected]>
* | tgsi: remove special-case code for fragment positionBrian Paul2010-02-051-7/+1
| | | | | | | | | | | | | | | | | | 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.
* | os: Don't assert on missing implementation of barrier init/destroy. Just usage.José Fonseca2010-02-051-2/+0
| |
* | Merge remote branch 'origin/lp-binning'José Fonseca2010-02-057-15/+338
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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