Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: Remove dead code. | Vinson Lee | 2010-02-21 | 1 | -7/+1 |
| | |||||
* | tgsi: ifdef out unused function micro_sqrt. | Vinson Lee | 2010-02-20 | 1 | -0/+2 |
| | |||||
* | tgsi: Make more exec opcodes look pretty. | Michal Krol | 2010-02-19 | 1 | -64/+20 |
| | |||||
* | tgsi: Change prototypes of micro opcodes to explicitly indicates number of args. | Michal Krol | 2010-02-19 | 1 | -164/+206 |
| | |||||
* | tgsi: Rewrite exec implementations of NRM and NRM4. | Michal Krol | 2010-02-19 | 1 | -61/+70 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | pipebuffer: Include fenced buffer manager in build | Jakob Bornecrantz | 2010-02-18 | 1 | -0/+1 |
| | |||||
* | util: Fix typo of debug_dump_float_rgba_bmp. | Vinson Lee | 2010-02-17 | 1 | -1/+1 |
| | |||||
* | draw: Add assert to check input of memcpy. | Vinson Lee | 2010-02-14 | 1 | -0/+1 |
| | |||||
* | util: Avoid dumping masked state. Other minor improvements. | José Fonseca | 2010-02-14 | 2 | -28/+43 |
| | |||||
* | os: A stream for debug logging. | José Fonseca | 2010-02-14 | 6 | -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é Fonseca | 2010-02-14 | 4 | -0/+789 |
| | |||||
* | os: Add a growable string stream. | José Fonseca | 2010-02-14 | 4 | -0/+179 |
| | |||||
* | os: Complement/improve stream inline helpers. | José Fonseca | 2010-02-14 | 1 | -0/+17 |
| | |||||
* | os: Fix bad calloc. | José Fonseca | 2010-02-14 | 1 | -10/+1 |
| | |||||
* | util: Update for os_stream changes. | José Fonseca | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | os: Make streams abstract. | José Fonseca | 2010-02-14 | 6 | -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é Fonseca | 2010-02-14 | 1 | -2/+2 |
| | |||||
* | util: Rename u_debug_dump.[ch] -> u_dump.[ch]. | José Fonseca | 2010-02-14 | 4 | -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é Fonseca | 2010-02-14 | 1 | -1/+1 |
| | |||||
* | util: Use util_format_name(). | José Fonseca | 2010-02-14 | 1 | -118/+1 |
| | |||||
* | util: Add pf_name() replacement: util_format_name(). | José Fonseca | 2010-02-14 | 1 | -0/+13 |
| | |||||
* | util: Properly init memory for blitter CSOs. | Corbin Simpson | 2010-02-12 | 1 | -8/+5 |
| | | | | Fixes misrender on r300g. | ||||
* | Merge branch 'gallium-dynamicstencilref' | Roland Scheidegger | 2010-02-12 | 4 | -49/+69 |
|\ | |||||
| * | gallium: make u_blitter code save/restore stencil ref values | Roland Scheidegger | 2010-02-11 | 2 | -0/+10 |
| | | |||||
| * | gallium: give pipe_stencil_ref its own cso_save/restore functions | Roland Scheidegger | 2010-02-11 | 2 | -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_alpha | Roland Scheidegger | 2010-02-11 | 1 | -3/+6 |
| | | | | | | | | makes life of state trackers easier | ||||
| * | gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state | Roland Scheidegger | 2010-02-09 | 3 | -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 Krol | 2010-02-12 | 1 | -2/+2 |
| | | | | | | | | This reverts commit aa0b671422880b99dc178d43d1e4e1a3f766bf7f. | ||||
* | | util: Fix descriptors for R32_FLOAT and R32G32_FLOAT formats. | Michal Krol | 2010-02-12 | 1 | -2/+2 |
| | | | | | | | | Fill in ones for missing components. | ||||
* | | llvmpipe: Handle TGSI_TOKEN_TYPE_PROPERTY. | José Fonseca | 2010-02-11 | 2 | -0/+4 |
| | | | | | | | | Avoids assertion failures with certain shaders. | ||||
* | | gallivm: TGSI_OPCODE_CONT is not deprecated. | José Fonseca | 2010-02-11 | 1 | -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 Lee | 2010-02-10 | 1 | -42/+52 |
| | | | | | | | | Pthreads barrier functions are not available on some POSIX platforms. | ||||
* | | gallium: cast to silence waring | Brian Paul | 2010-02-10 | 1 | -1/+1 |
| | | |||||
* | | gallium: use os_time.h in pb_bufmgr_cache.c | Brian Paul | 2010-02-10 | 1 | -9/+9 |
| | | | | | | | | Untested, but seems straightforward. | ||||
* | | gallium: use os_time.h in u_timed_winsys.c | Brian Paul | 2010-02-10 | 1 | -19/+13 |
| | | |||||
* | | gallium/auxiliary: add -D__STDC_CONSTANT_MACROS | Brian Paul | 2010-02-09 | 1 | -0/+3 |
|/ | | | | Not sure why this is needed now, after the gallivm re-org. | ||||
* | Merge branch 'gallium-nopointsizeminmax' | Roland Scheidegger | 2010-02-09 | 2 | -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 state | Roland Scheidegger | 2010-02-04 | 1 | -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 state | Roland Scheidegger | 2010-02-03 | 2 | -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 state | Roland Scheidegger | 2010-01-12 | 1 | -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 Krol | 2010-02-09 | 5 | -5/+0 |
| | | |||||
* | | tgsi: Gather cylindrical wrap info in tgsi_shader_info struct. | Michal Krol | 2010-02-09 | 2 | -0/+2 |
| | | |||||
* | | tgsi: Add ureg_DECL_fs_input_cyl(). | Michal Krol | 2010-02-09 | 2 | -52/+94 |
| | | | | | | | | Allows one to declare fragment shader inputs with cylindrical wrap info. | ||||
* | | gallium: Add cylindrical wrap info to TGSI declaration. | Michal Krol | 2010-02-09 | 3 | -1/+21 |
| | | |||||
* | | tgsi: Remove tgsi_dump_c.[ch]. | Michal Krol | 2010-02-09 | 3 | -512/+0 |
| | | | | | | | | Little utility after development stabilisation, use tgsi_dump instead. | ||||
* | | llvmpipe: switch to using dynamic stack allocation instead of registers | Zack Rusin | 2010-02-08 | 3 | -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 list | Brian Paul | 2010-02-08 | 1 | -0/+1 |
| | | |||||
* | | gallivm: added gallivm/lp_bld_misc.cpp to Makefile | Brian Paul | 2010-02-08 | 1 | -0/+5 |
| | | |||||
* | | llvmpipe: export the tgsi translation code to a common layer | Zack Rusin | 2010-02-08 | 66 | -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. |