summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* util: Ensure debug_dump_flags generates a null-terminated string.Vinson Lee2009-12-231-2/+4
|
* gallium/util: Add PIPE_OS_APPLE to u_stream_stdc.c.Vinson Lee2009-12-221-1/+1
|
* gallium/util: Add PIPE_OS_APPLE to u_network.Vinson Lee2009-12-222-4/+4
|
* rbug: Initialize variable in rbug_get_message.Vinson Lee2009-12-081-0/+1
| | | | Silences uninitialized variable warning.
* draw: Initialize variable in draw_pt.c.Vinson Lee2009-12-051-1/+2
| | | | (cherry picked from commit ea98e9820d7117f7a187f355445796b1ef5d9e0c)
* gallium/util: Initialize variables in u_pack_color.h.Vinson Lee2009-12-031-1/+4
| | | | (cherry picked from commit 36e2074b63e3e5bc489eb74cad0cd97eafcedb40)
* draw: Fix memory leak.Vinson Lee2009-10-271-0/+2
| | | | This would only be hit if we got and invalid index_size.
* gallium: replace // comments with /* */Brian Paul2009-10-028-10/+10
|
* gallium: remove // comment and extra whitespaceBrian Paul2009-10-021-7/+0
|
* gallium/util: silence uninitialized var warningBrian Paul2009-10-011-0/+1
|
* Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-281-0/+11
|\
| * gallium/util: add sanity check assertionsBrian Paul2009-09-281-0/+11
| |
* | tgsi/sse: Pass the lodbias, not zero. More comments.Brian Paul2009-09-241-5/+5
| | | | | | | | This fixes the glean/glsl1 "texture2D(), with bias" test when using SSE.
* | tgsi: use new tgsi_call_record to handle execution mask stacksBrian Paul2009-09-102-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 Lee2009-09-101-1/+1
| | | | | | | | Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.
* | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-091-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 writemaskKeith Whitwell2009-09-024-15/+100
| | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1}
| * draw: remove unused variableKeith Whitwell2009-09-021-1/+0
| |
* | gallium: Added HaikuOS platformaljen2009-09-096-13/+20
| |
* | tgsi: Document differencies between vs_1_1 and vs_2_0 for EXPP and LOGP.Michal Krol2009-09-041-2/+12
| |
* | util: add version of u_blit_pixels which takes a writemaskKeith Whitwell2009-09-034-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 branchKeith Whitwell2009-09-0311-174/+429
| | | | | | | | | | Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
* | tgsi: remove redundant CND0 opcodeKeith Whitwell2009-09-015-21/+2
| | | | | | | | Can be implemented with CMP src2, src1, src0
* | util: Auto generate pixel format accessor functions fromJosé Fonseca2009-08-308-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änzer2009-08-301-2/+6
|\| | | | | | | | | Conflicts: src/glx/x11/glxcmds.c
| * util: Reset size to zero when failed to allocate buffer.José Fonseca2009-08-281-2/+6
| |
* | util: Add util_unsigned_logbase2.José Fonseca2009-08-291-0/+12
| | | | | | | | Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5.
* | util: Dump PIPE_FUNC_x value names.José Fonseca2009-08-292-0/+29
| |
* | util: Fix SCons build.José Fonseca2009-08-291-0/+4
| |
* | util: Auto-generate u_format_table.c from SConscript.José Fonseca2009-08-291-0/+7
| |
* | util: Fix blend factor dumping.José Fonseca2009-08-291-0/+2
| |
* | util: New file dedicated to dump state in human/machine readable format.José Fonseca2009-08-294-0/+225
| |
* | util: Make pixel format layout more meaningful.José Fonseca2009-08-293-109/+114
| | | | | | | | | | Namelly, explicitly distinguish formats coded by arithmetic manipulation, from formats layed out in array.
* | util: Don't commit u_format_table.cJosé Fonseca2009-08-292-1925/+1
| | | | | | | | At least not until stabilizes, to reduce noise.
* | util: Fix r5g6b5 description.José Fonseca2009-08-293-10/+13
| |
* | util: Pixel format database.José Fonseca2009-08-297-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 Paul2009-08-272-0/+206
|\|
| * gallium/util: added support for SRGB formatsBrian Paul2009-08-271-0/+196
| | | | | | | | Fixes glean/texture_srgb failure, bug #23449.
| * gallium/util: added cases for SRGB formatsBrian Paul2009-08-271-0/+10
| |
| * tgsi: check for SOA dependencies in SSE and PPC code generatorsBrian Paul2009-08-202-0/+8
| | | | | | | | Fall back to interpreter for now. This doesn't happen very often.
| * tgsi: handle SOA dependencies for MOV/SWZBrian Paul2009-08-202-14/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOA dependencies can happen when a register is used both as a source and destination and the source is swizzled. For example: MOV T, T.yxwz; would expand into: MOV t0, t1; MOV t1, t0; MOV t2, t3; MOV t3, t2; The second instruction will produce the wrong result since we wrote to t0 in the first instruction. We need to use an intermediate temporary to fix this. This will take more work to fix for all TGSI instructions. This seems to happen with MOV instructions more than anything else so fix that case now and warn on others. Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
| * tgsi: added tgsi_full_instruction::Flags fieldBrian Paul2009-08-202-0/+3
| | | | | | | | Users of the parser can make use of this.
* | tgsi: Fix build error due to commit acc7da90Cooper Yuan2009-08-241-6/+6
| |
* | tgsi: Only free temp uregs.José Fonseca2009-08-241-2/+3
| | | | | | | | | | Shorthand. (cherry picked from commit de911220bbbe74cff0c79b260456ff36122b7b5b)
* | tgsi: Pass pipe_context as a parameter to ureg_create_shader.José Fonseca2009-08-242-14/+30
| | | | | | | | | | Simplifies migration to tgsi_ureg. (cherry picked from commit f574398c07c41cb8d31249a7186fc178ef7d552a)
* | tgsi: add generic instruction builderKeith Whitwell2009-08-242-0/+33
| | | | | | | | | | | | When translating an incoming shader (rather than building one from scratch) it's preferable to be able to call a single, generic instruction emitter rather than figuring out which of the opcode-specific functions to call.
* | tgsi: when printing/dumping programs indent loops and conditionalsBrian Paul2009-08-201-0/+35
| |
* | tgsi: check for SOA dependencies in SSE and PPC code generatorsBrian Paul2009-08-202-0/+8
| | | | | | | | Fall back to interpreter for now. This doesn't happen very often.
* | tgsi: handle SOA dependencies for MOV/SWZBrian Paul2009-08-202-14/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOA dependencies can happen when a register is used both as a source and destination and the source is swizzled. For example: MOV T, T.yxwz; would expand into: MOV t0, t1; MOV t1, t0; MOV t2, t3; MOV t3, t2; The second instruction will produce the wrong result since we wrote to t0 in the first instruction. We need to use an intermediate temporary to fix this. This will take more work to fix for all TGSI instructions. This seems to happen with MOV instructions more than anything else so fix that case now and warn on others. Fixes piglit glsl-vs-loop test (when not using SSE). See bug 23317.
* | tgsi: added tgsi_full_instruction::Flags fieldBrian Paul2009-08-202-0/+3
| | | | | | | | Users of the parser can make use of this.