Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-08 | gallium: use boolean instead of bool in p_refcnt.h | Roland Scheidegger | |
all code in gallium should use boolean not bool | |||
2009-12-08 | Format layout cannot be used to distinguish scaled/normalised formats. | Michal Krol | |
2009-12-08 | Merge branch 'gallium-strict-aliasing' | Roland Scheidegger | |
2009-12-08 | gallium: fix more potential strict aliasing issues | Roland Scheidegger | |
In particular, gcc man page warns that union a_union { int i; double d; }; int f() { double d = 3.0; return ((union a_union *) &d)->i; } "might" not be ok (why not?), even though it doesn't seem to generate any warnings. Hence don't use this and do the extra step to actually use assignment to get the values in/out of the union. This changes parts of 3456f9149b3009fcfce80054759d05883d3c4ee5. | |||
2009-12-08 | tgsi: fix some off-by-one errors in shader length, instruction length | Brian Paul | |
The ureg and/or tgsi-simplification work introduced some inconsistencies between the ureg and traditional TGSI construction code. Now the tgsi_instruction::NrTokens field is consistant and the tgsi_header::BodySize field isn't off by one. Fixes bug 25455. | |||
2009-12-08 | util/format: Take advantage of sequential nature of pipe_format enum. | Michal Krol | |
Make sure the format descriptor table can be indexed directly. | |||
2009-12-08 | gallium: Make pipe_format a sequential enum. | Michal Krol | |
2009-12-08 | util/format: Remove unreferenced local. | Michal Krol | |
2009-12-08 | Remove remaining pipe format utility functions. | Michal Krol | |
Depricate pf_type(), pf_size_*(), pf_layout() and pf_exp2(). Map depricated PIPE_FORMAT_TYPE to new UTIL_FORMAT_ values: UNKNOWN = TYPE_VOID UNORM = TYPE_UNSIGNED + LAYOUT_ARITH SNORM = TYPE_SIGNED + LAYOUT_ARITH FIXED = TYPE_FIXED FLOAT = TYPE_FLOAT USCALED = TYPE_UNSIGNED + LAYOUT_ARRAY SSCALED = TYPE_SIGNED + LAYOUT_ARRAY SRGB = TYPE_COLORSPACE_SRGB | |||
2009-12-08 | r600: and finally fix SCS | Andre Maasikas | |
2009-12-08 | r600: remove (now) dead code | Andre Maasikas | |
2009-12-08 | r600: fix SIN also | Andre Maasikas | |
2009-12-08 | r600: use the new inline constants feature to fix COS | Andre Maasikas | |
2009-12-08 | r600: add assembler support for literal(inline) constants | Andre Maasikas | |
and use it in cubemap instruction sequence for testing | |||
2009-12-08 | r600: merge alu_instruction/alu_instruction2 | Andre Maasikas | |
2009-12-08 | r600: add ABS support for source regs to assembler | Andre Maasikas | |
use it in tex cube instruction sequence | |||
2009-12-08 | r600: glsl - allow specifying texture sampler via uniforms | Andre Maasikas | |
looks kinda hackish, should rethink later | |||
2009-12-08 | r600: implement FRAG_ATTRIB_FACE, glsl/twoside works | Andre Maasikas | |
2009-12-08 | r600: quick hack to get KIL_NV working - does condition TR only for now | Andre Maasikas | |
2009-12-08 | r600: wip glsl - refactor conditional instructions a bit | Andre Maasikas | |
remember the dst register which is used for cond updates when it's time to use the cond codes issue a separate PRED instruction | |||
2009-12-08 | r600: execute SET funtions on all channels | Andre Maasikas | |
seems assemble_LOGIC was meant for non-condition-code instructions so execute in for all components as previously | |||
2009-12-08 | move assert to avoid crash in debug build. | Alan Hourihane | |
2009-12-08 | st/xorg Fail early if we don't intend to accelerate. | Thomas Hellstrom | |
Saves a number of unneeded computations and log noise. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2009-12-18 | i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test). | Eric Anholt | |
2009-12-18 | i915: Clean up some unnecessary x/y miptree code. | Eric Anholt | |
The base of the texture is always the base of the miptree. If it wasn't, we'd have issues with this code due to miptrees not walking the same direction for all LODs. | |||
2009-12-18 | i965: Add support for OPCODE_CMP in the VS to fix GLSL sqrt() | Eric Anholt | |
Bug #25628. Fixes piglit case glsl-vs-sqrt-zero. | |||
2009-12-18 | st/mesa: move assert on nr vs insns until after pos_invarient expansion | Keith Whitwell | |
It is possible to have a 1-instruction vertex shader before expanding pos_invarient. Not sure what this assert achieved, but at least move it where it is correct. | |||
2009-12-08 | Merge branch 'mesa_7_7_branch' | Michel Dänzer | |
2009-12-08 | vmware/xorg: Fix SCons build. | Michel Dänzer | |
Not sure how vmw_screen.c could build at all though... | |||
2009-12-08 | vmware/xorg: Avoid warning about HAVE_STDINT_H being redefined. | Michel Dänzer | |
2009-12-08 | Merge branch 'mesa_7_7_branch' | Andre Maasikas | |
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/main/version.h | |||
2009-12-08 | i915g: Fix memory leak when pci id is unknown. | Vinson Lee | |
2009-12-08 | i915g: Add missing break statement in i915_debug_packet. | Vinson Lee | |
2009-12-08 | rbug: Initialize variable in rbug_get_message. | Vinson Lee | |
Silences uninitialized variable warning. | |||
2009-12-08 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Andre Maasikas | |
2009-12-08 | llvmpipe: Use number of CPUs as default number of threads. | José Fonseca | |
Also bump MAX_THREADS to 8. | |||
2009-12-08 | r600: add support for TXB instruction | Andre Maasikas | |
makes testing other things easier - does not hang the card TODO: enable TEX dependency tracking in vertex programs | |||
2009-12-08 | r600: reorder state for render_target and blend | Andre Maasikas | |
First time around render targets are not enabled yet (done in r700SendRenderTargetState) so blend state is not emitted for any targets. Affects first glClear in some mesa tests. As a quick fix reorder state emit so that target is set first | |||
2009-12-07 | llvmpipe: Initialize variables in emit_instruction. | Vinson Lee | |
2009-12-07 | mesa: set version string to 7.7-rc1 | Ian Romanick | |
Also modify the Makefile to use the correct version for the tarballs. | |||
2009-12-07 | llvmpipe: remove some left-over debug code | Brian Paul | |
2009-12-07 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Ian Romanick | |
Conflicts: progs/demos/projtex.c progs/xdemos/glxinfo.c src/mesa/main/version.h To fix the confilicts in projtex.c and glxinfo.c I just took the code from mesa_7_6_branch. The conflicts seem to have occured from cherry-picks from mesa_7_7_branch to mesa_7_6_branch followed by commmits just to mesa_7_6_branch. | |||
2009-12-07 | Revert "intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system ↵ | Ian Romanick | |
buffers." This reverts commit 4598942b1b88a2a7d5af7febae7e79eedf00e385. XRGB8888 doesn't work as intended. Revert this for now, and we'll revisit it for 7.8 or something. | |||
2009-12-07 | llvmpipe: implement threaded rasterization | Brian Paul | |
The LP_NUM_THREADS env var controls how many threads are created. The default (and max) is 4, for now. If LP_NUM_THREADS = 0, threading is not used. | |||
2009-12-07 | gallium: added pipe_semaphore and related code | Brian Paul | |
2009-12-07 | llvmpipe: repartition lp_rasterizer state for threading | Brian Paul | |
Some of the state is per-thread. Put that state in new lp_rasterizer_task struct. | |||
2009-12-07 | llvmpipe: use bin iteration functions when rasterizing bins | Brian Paul | |
2009-12-07 | llvmpipe: introduce mutex and bin iteration functions | Brian Paul | |
2009-12-07 | mesa: set version string to 7.6.1-rc3 | Ian Romanick | |
2009-12-07 | radeon: fix cases when only first image where put directly into miptree. | Maciej Cencora | |
Make sure that minimal width, height and depth of texture image is 1. |