summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: make function call code in tgsi_sse.c less opaqueKeith Whitwell2009-07-162-25/+92
| | | | | | Explictly pass src and dst arguments (previously dst argument was also being used as a src). Separate argument handling from the rest of the function call emit.
* gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell2009-07-166-40/+54
| | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
* Merge branch 'mesa_7_5_branch'Brian Paul2009-07-137-17/+117
|\
| * tgsi: update some assertionsBrian Paul2009-07-101-4/+4
| |
| * tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | Same story as in the tgsi_dump.c code (see prev commit).
| * tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | | | | | | | | | Fixes TGSI dump output when front/back-face register is declared. Also, add some assertions to make sure the semantic/interpolate string arrays have as many elements as there are tokens in the p_shader_tokens.h file. That should catch problems like this in the future.
| * tgis: implement indirect addressing for destination registersBrian Paul2009-07-106-11/+101
| | | | | | | | Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-041-1/+27
|\|
| * gallium: Fixes for clobbering stencil values in combined depth/stencil textures.Michel Dänzer2009-07-071-1/+27
| | | | | | | | | | Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.
* | gallium: rearrange some members to avoid memory holes/paddingZack Rusin2009-07-061-2/+2
| | | | | | | | plus it saves us a cacheline in the cso
* | pipebuffer: handle possible null pointer dereferenceZack Rusin2009-07-062-0/+4
| | | | | | | | reported by clang static analyzer
* | cso: possible null pointer dereferenceZack Rusin2009-07-061-0/+4
| | | | | | | | reported by clang static analyzer
* | util: fix possible null pointer usageZack Rusin2009-07-064-11/+46
| | | | | | | | found by the clang static analyzer
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-031-4/+2
|\| | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * util: Increase OutputDebugStringA to 4k.José Fonseca2009-07-011-4/+2
| | | | | | | | | | | | | | According to http://unixwiz.net/techtips/outputdebugstring.html that's how big the buffer is. The 512bytes limitation is in kernel mode.
* | Nuke old trace-drm integration.Corbin Simpson2009-07-021-165/+0
| | | | | | | | AFAICT nobody will miss it.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-301-1/+3
|\| | | | | | | | | | | Conflicts: src/mesa/vbo/vbo_exec_draw.c
| * util: Set PIPE_BUFFER_USAGE_FLUSH_EXPLICIT when calling ↵José Fonseca2009-06-301-1/+3
| | | | | | | | buffer_flush_mapped_range.
* | gallium/draw: sketch out some missing pointcoord codeBrian Paul2009-06-291-1/+11
| | | | | | | | | | | | The gl_PointCoord attribute is currently expected to be in the fog coord register's z/w components. This was never totally fleshed out though. This is just some placeholder code.
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-06-141-1/+1
|\|
| * tgsi: correct handling of return value from util_vsnprintfKeith Whitwell2009-06-261-5/+13
| | | | | | | | | | | | | | We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation.
| * aux/indices: don't use 'prim' value once it is known to be badKeith Whitwell2009-06-261-1/+1
| | | | | | | | Theoretical bugfix only - no known case where this might happen.
* | tgsi: correct handling of return value from util_vsnprintfKeith Whitwell2009-06-261-5/+13
| | | | | | | | | | | | | | We were failing to deal with: - vsnprintf returns negative value on error. - vsnprintf returns the number of chars that *would* have been written on truncation.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-2414-86/+93
|\| | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
| * util: Add cast.José Fonseca2009-06-181-1/+1
| | | | | | | | It is expected to loose precision here.
| * draw: Replace pointer arithmetic with cast.José Fonseca2009-06-181-1/+2
| | | | | | | | | | | | | | Using uintptr_t as intermediate type for pointer -> integer conversions is easier to understand and does not cause any size mismatch warnings. uintptr_t is part of C99, and we already provide a suitable replacement definition for all platforms we care about.
| * pipebuffer: Use a type consistently for sizes/offsets.José Fonseca2009-06-1812-84/+90
| | | | | | | | | | | | | | Avoids warnings on 64bit builds. Use regular unsigned since that's what gallium expects, but use a typedef to facilitate possible changes in the future.
* | draw: use u_reduced_prim() functionBrian Paul2009-06-194-28/+4
| |
* | gallium/util: s/boolean/unsigned/Brian Paul2009-06-191-1/+1
| |
* | Merge branch 'ext-provoking-vertex'Brian Paul2009-06-195-59/+150
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: docs/relnotes-7.6.html progs/tests/Makefile src/gallium/drivers/softpipe/sp_prim_vbuf.c src/glx/x11/indirect.c src/mesa/glapi/Makefile src/mesa/glapi/dispatch.h src/mesa/glapi/glapioffsets.h src/mesa/glapi/glapitable.h src/mesa/glapi/glapitemp.h src/mesa/glapi/glprocs.h src/mesa/main/dlist.c src/mesa/main/enums.c src/mesa/sparc/glapi_sparc.S src/mesa/x86-64/glapi_x86-64.S src/mesa/x86/glapi_x86.S
| * | draw: use flatfirst variableBrian Paul2009-06-181-1/+1
| | |
| * | draw: remove debug codeBrian Paul2009-06-181-7/+0
| | |
| * | draw: fix first provoking vertex mode for quads, quad strips and polygonsBrian Paul2009-06-181-18/+55
| | |
| * | draw: fix first provoking vertex mode for unfilled quadsBrian Paul2009-06-181-10/+24
| | |
| * | draw: clean up indentationBrian Paul2009-06-181-11/+11
| | |
| * | draw: implement flatshade_first for drawing pipelineBrian Paul2009-06-092-20/+67
| | |
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-161-3/+3
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/mesa/main/api_validate.c
| * | rtasm: Use 32bit constant.José Fonseca2009-06-151-3/+3
| | | | | | | | | | | | As we're only using 32bit bitmasks.
* | | Merge branch 'mesa_7_5_branch'José Fonseca2009-06-111-1/+1
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_framebuffer.c
| * | util: Single precision constants.José Fonseca2009-06-101-1/+1
| | |
* | | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-06-091-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h src/mesa/shader/slang/slang_preprocess.c src/mesa/state_tracker/st_cb_bufferobjects.c
| * | pipebuffer: Silence out of heap space debug printJakob Bornecrantz2009-06-081-1/+1
| | |
* | | rbug: Change block protocol around a bitJakob Bornecrantz2009-06-094-217/+45
| | |
* | | rbug: Extend context info and block opsJakob Bornecrantz2009-06-094-0/+293
| | |
* | | llvm: fix compile on gcc 4.4Dave Airlie2009-06-081-0/+2
| | |
* | | util: Fix winsock include.Michal Krol2009-06-051-1/+1
| | |
* | | rbug: Update rbug protocol with new context callsJakob Bornecrantz2009-06-047-43/+336
| | |
* | | Merge branch 'mesa_7_5_branch'Brian Paul2009-06-045-7/+43
|\| | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/context.c
| * | tgsi: increase MAX_LABELS to 4096Brian Paul2009-06-041-1/+1
| | |
| * | util: Unsaved change missing from last commit.José Fonseca2009-06-021-1/+1
| | |