Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium debug: Add gcc printf hint to debug_printf | Nicolai Hähnle | 2009-09-21 | 1 | -3/+11 |
| | | | | | | | This causes gcc to issue warnings when format parameters do not match up with the format string in calls to debug_printf. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | tgsi: Scan input interpolators, too. | Michal Krol | 2009-09-17 | 2 | -0/+2 |
| | |||||
* | util: Add _BitScanForward intrinsic's declaration. | José Fonseca | 2009-09-14 | 1 | -1/+3 |
| | | | | It is missing in some Microsoft DDKs. | ||||
* | util: Fix a1r5g5b5's format description. | José Fonseca | 2009-09-14 | 1 | -1/+1 |
| | |||||
* | tgsi: handle some src/dst aliasing in tgsi_sse2.c | Keith Whitwell | 2009-09-13 | 1 | -8/+23 |
| | | | | | | | | | | | | Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage. | ||||
* | tgsi: implement saturation | Keith Whitwell | 2009-09-12 | 1 | -17/+26 |
| | | | | Fix recent performance regression. | ||||
* | tgsi: add missing implementation of constant decl change | Keith Whitwell | 2009-09-12 | 1 | -8/+61 |
| | |||||
* | ureg: add a mechanism to get the built tokens rather than a full shader | Keith Whitwell | 2009-09-12 | 2 | -0/+30 |
| | | | | | | Previously ureg would always call the driver's create-shader function. This allows the caller the opportunity to hold onto the tokens if it needs to reuse them, eg. to create an internal draw shader. | ||||
* | ureg: add generic emitters for tex and branch instructions | Keith Whitwell | 2009-09-12 | 2 | -11/+80 |
| | | | | Couldn't previously emit these except by calling the opcode-specific helper. | ||||
* | tgsi/ureg: give ureg_DECL_constant an explicit index parameter | Keith Whitwell | 2009-09-12 | 2 | -2/+6 |
| | | | | | Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier. | ||||
* | tgsi/ureg: VS inputs don't have any semantic tags, just an index | Keith Whitwell | 2009-09-12 | 3 | -41/+38 |
| | | | | Fix ureg_DECL_vs_input to reflect this and fix up all callers. | ||||
* | tgsi: free tokens on error | Keith Whitwell | 2009-09-12 | 1 | -0/+3 |
| | |||||
* | tgsi: sanity check ureg programs | Keith Whitwell | 2009-09-12 | 1 | -0/+10 |
| | |||||
* | tgsi: add const qualifier | Keith Whitwell | 2009-09-12 | 2 | -2/+2 |
| | |||||
* | util: remove unneeded #includes | Brian Paul | 2009-09-10 | 1 | -6/+0 |
| | |||||
* | util: minor clean-ups, reformatting | Brian Paul | 2009-09-10 | 1 | -17/+12 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-10 | 2 | -14/+43 |
|\ | |||||
| * | tgsi: use new tgsi_call_record to handle execution mask stacks | Brian Paul | 2009-09-10 | 2 | -14/+43 |
| | | | | | | | | This fixes some issues when "return"ing from nested loops/conditionals. | ||||
| * | gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h. | Vinson Lee | 2009-09-10 | 1 | -1/+1 |
| | | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f. | ||||
* | | util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h. | Vinson Lee | 2009-09-10 | 1 | -1/+1 |
| | | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f. | ||||
* | | util: Fix depth/stencil format description. | José Fonseca | 2009-09-09 | 1 | -4/+4 |
| | | | | | | | | Inverse channel order. | ||||
* | | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-09 | 7 | -15/+20 |
|\| | |||||
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 2009-09-09 | 1 | -2/+0 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default progs/glsl/Makefile src/gallium/auxiliary/util/u_simple_shaders.c src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/i965/brw_draw_upload.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/intel/intel_context.h src/mesa/drivers/dri/intel/intel_pixel.c src/mesa/drivers/dri/intel/intel_pixel_read.c src/mesa/main/texenvprogram.c src/mesa/main/version.h | ||||
| | * | util: add version of u_blit_pixels which takes a writemask | Keith Whitwell | 2009-09-02 | 4 | -15/+100 |
| | | | | | | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1} | ||||
| | * | draw: remove unused variable | Keith Whitwell | 2009-09-02 | 1 | -1/+0 |
| | | | |||||
| * | | gallium: Added HaikuOS platform | aljen | 2009-09-09 | 6 | -13/+20 |
| | | | |||||
* | | | gallium: added r8g8b8_get/put_tile_rgba() | Brian Paul | 2009-09-08 | 1 | -1/+53 |
| | | | |||||
* | | | util: Add super simple fifo | Jakob Bornecrantz | 2009-09-09 | 1 | -0/+94 |
| | | | |||||
* | | | util: Utility function to check if a number is a power of two. | José Fonseca | 2009-09-07 | 1 | -0/+10 |
|/ / | |||||
* | | tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP. | Michal Krol | 2009-09-04 | 1 | -2/+12 |
| | | |||||
* | | util: add version of u_blit_pixels which takes a writemask | Keith Whitwell | 2009-09-03 | 4 | -15/+69 |
| | | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1} | ||||
* | | aux/tgsi: pull back ureg work from 0.1 branch | Keith Whitwell | 2009-09-03 | 11 | -174/+429 |
| | | | | | | | | | | Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge. | ||||
* | | tgsi: remove redundant CND0 opcode | Keith Whitwell | 2009-09-01 | 5 | -21/+2 |
| | | | | | | | | Can be implemented with CMP src2, src1, src0 | ||||
* | | util: Auto generate pixel format accessor functions from | José Fonseca | 2009-08-30 | 8 | -93/+699 |
| | | | | | | | | | | | | | | | | | | | | | | | | This has several advantages over the u_ - not hand written - no intermediate memcpy of raw pixels - supports 4 ubytes in addition to floats - no need to pass a pipe_transfer It also has (hopefully temporary) limitations: - no support for YUV - no support for SRGB | ||||
* | | Merge branch 'mesa_7_5_branch' | Michel Dänzer | 2009-08-30 | 1 | -2/+6 |
|\| | | | | | | | | | Conflicts: src/glx/x11/glxcmds.c | ||||
| * | util: Reset size to zero when failed to allocate buffer. | José Fonseca | 2009-08-28 | 1 | -2/+6 |
| | | |||||
* | | util: Add util_unsigned_logbase2. | José Fonseca | 2009-08-29 | 1 | -0/+12 |
| | | | | | | | | Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5. | ||||
* | | util: Dump PIPE_FUNC_x value names. | José Fonseca | 2009-08-29 | 2 | -0/+29 |
| | | |||||
* | | util: Fix SCons build. | José Fonseca | 2009-08-29 | 1 | -0/+4 |
| | | |||||
* | | util: Auto-generate u_format_table.c from SConscript. | José Fonseca | 2009-08-29 | 1 | -0/+7 |
| | | |||||
* | | util: Fix blend factor dumping. | José Fonseca | 2009-08-29 | 1 | -0/+2 |
| | | |||||
* | | util: New file dedicated to dump state in human/machine readable format. | José Fonseca | 2009-08-29 | 4 | -0/+225 |
| | | |||||
* | | util: Make pixel format layout more meaningful. | José Fonseca | 2009-08-29 | 3 | -109/+114 |
| | | | | | | | | | | Namelly, explicitly distinguish formats coded by arithmetic manipulation, from formats layed out in array. | ||||
* | | util: Don't commit u_format_table.c | José Fonseca | 2009-08-29 | 2 | -1925/+1 |
| | | | | | | | | At least not until stabilizes, to reduce noise. | ||||
* | | util: Fix r5g6b5 description. | José Fonseca | 2009-08-29 | 3 | -10/+13 |
| | | |||||
* | | util: Pixel format database. | José Fonseca | 2009-08-29 | 7 | -0/+2397 |
| | | | | | | | | | | | | | | There are some inconsistencies in pipe_format, but above all, there simply aren't enough bits in an enum to conveniently store all information about a pixel format we need to be able to dynamically generate pixel packing/unpacking code. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-08-27 | 2 | -0/+206 |
|\| | |||||
| * | gallium/util: added support for SRGB formats | Brian Paul | 2009-08-27 | 1 | -0/+196 |
| | | | | | | | | Fixes glean/texture_srgb failure, bug #23449. | ||||
| * | gallium/util: added cases for SRGB formats | Brian Paul | 2009-08-27 | 1 | -0/+10 |
| | | |||||
| * | tgsi: check for SOA dependencies in SSE and PPC code generators | Brian Paul | 2009-08-20 | 2 | -0/+8 |
| | | | | | | | | Fall back to interpreter for now. This doesn't happen very often. |