Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: use tgsi_dump_instruction() instead of ppc_comment() | Brian Paul | 2009-01-10 | 1 | -84/+7 |
| | |||||
* | gallium: remove unused struct type | Brian Paul | 2009-01-10 | 1 | -8/+0 |
| | |||||
* | gallium: fix register clobber bug in TGSI->PPC codegen | Brian Paul | 2009-01-10 | 1 | -10/+41 |
| | | | | | | | | When negating a src vector that's stored in a altivec register, need to put negated value into a new register so we don't upset the original value. This solves the dark colors in the mandelbrot GLSL demo. Also, use new predicate functions to check if a TGSI temp is stored in an altivec register. | ||||
* | gallium: emit comments in TGSI->PPC codegen | Brian Paul | 2009-01-10 | 1 | -2/+90 |
| | |||||
* | gallium: code to dump/debug PPC code (disabled) | Brian Paul | 2009-01-10 | 1 | -0/+5 |
| | |||||
* | gallium: added comment/annotation support to PPC rtasm | Brian Paul | 2009-01-10 | 2 | -62/+187 |
| | |||||
* | cell: added rule to produce .s assembly files | Brian Paul | 2009-01-10 | 1 | -0/+3 |
| | |||||
* | gallium: s/false/FALSE/ | Brian Paul | 2009-01-10 | 1 | -1/+1 |
| | |||||
* | nouveau: Update nv30 swizzling. | Younes Manton | 2009-01-10 | 2 | -9/+10 |
| | |||||
* | nouveau: Factor out common winsys bits into libnouveaudrm.a | Younes Manton | 2009-01-10 | 44 | -922/+927 |
| | |||||
* | g3dvl: Use Gallium thread wrappers. | Younes Manton | 2009-01-10 | 1 | -4/+4 |
| | |||||
* | g3dvl: Use Gallium MALLOC wrappers. | Younes Manton | 2009-01-10 | 9 | -31/+34 |
| | |||||
* | g3dvl: Get rid of old unbuffered motion compensation code. | Younes Manton | 2009-01-10 | 4 | -2365/+1 |
| | |||||
* | g3dvl: Map vertex bufs once per frame/flush. | Younes Manton | 2009-01-10 | 1 | -36/+48 |
| | |||||
* | nouveau: Catch some more leaks. | Younes Manton | 2009-01-10 | 2 | -0/+3 |
| | |||||
* | g3dvl: Fix some memory leaks. | Younes Manton | 2009-01-10 | 2 | -0/+21 |
| | |||||
* | g3dvl: Allocate one set of bufs, let winsys rename them as necessary. | Younes Manton | 2009-01-10 | 2 | -158/+178 |
| | |||||
* | nouveau: Add busy() query, determines if BOs can be mapped immediately. | Younes Manton | 2009-01-10 | 2 | -0/+37 |
| | |||||
* | nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom. | Younes Manton | 2009-01-10 | 4 | -5/+4 |
| | |||||
* | g3dvl: Expand YCbCr to full RGB range by default. | Younes Manton | 2009-01-10 | 1 | -1/+1 |
| | |||||
* | g3dvl: Work around mplayer weirdness in XvMCPutSurface(). | Younes Manton | 2009-01-10 | 1 | -2/+8 |
| | |||||
* | g3dvl: Flag textures holding incoming data as dynamic. | Younes Manton | 2009-01-10 | 1 | -1/+1 |
| | |||||
* | nouveau: Put dynamic textures in GART for CPU access and don't swizzle. | Younes Manton | 2009-01-10 | 5 | -8/+17 |
| | | | | Also flag shadows as dynamic since they're for CPU access as well. | ||||
* | gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC. | Younes Manton | 2009-01-10 | 1 | -0/+1 |
| | | | | | Knowing how the client intends to use the texture will give the driver the opportunity to optimize for such cases. | ||||
* | nouveau: Swizzle textures larger than nv04 SIFM limit in parts. | Younes Manton | 2009-01-10 | 2 | -24/+69 |
| | | | | Limit of SIFM on nv40 is 1024x1024, not sure about others. | ||||
* | draw: Add missing include. | José Fonseca | 2009-01-09 | 1 | -0/+2 |
| | |||||
* | st: build fix | Alan Hourihane | 2009-01-09 | 1 | -1/+0 |
| | |||||
* | glsl: fix typo in the vec2 += operator function | Brian Paul | 2009-01-09 | 2 | -2/+2 |
| | |||||
* | mesa: set version string to 7.3-rc1 | Brian Paul | 2009-01-09 | 1 | -1/+1 |
| | |||||
* | glsl: fix broken +=, -=, *=, /= operators | Brian Paul | 2009-01-09 | 2 | -737/+786 |
| | | | | | | | These functions need to return the final computed value. Now expressions such as a = (b += c) work properly. Also, no need to use __asm intrinsics in these functions. The resulting code is the same when using ordinary arithmetic operators and is more legible. | ||||
* | mesa: fix off-by-one bug in _mesa_delete_instructions() | Brian Paul | 2009-01-09 | 1 | -1/+1 |
| | |||||
* | i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w. | Eric Anholt | 2009-01-09 | 1 | -1/+1 |
| | |||||
* | i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change. | Eric Anholt | 2009-01-09 | 1 | -4/+0 |
| | | | | | Everything now depends on either BRW_NEW_FRAGMENT_PROGRAM or BRW_NEW_VERTEX_PROGRAM. | ||||
* | mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs. | Eric Anholt | 2009-01-09 | 8 | -41/+5 |
| | | | | | | | | There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <[email protected]> | ||||
* | i965: Remove dead brw_vs_tnl.c | Eric Anholt | 2009-01-09 | 3 | -61/+0 |
| | |||||
* | i965: allow gl_FragData[0] usage when there's only one color buffer | Brian Paul | 2009-01-09 | 1 | -2/+9 |
| | | | | If gl_FragData[0] is written but not gl_FragCOlor, use the former. | ||||
* | mesa: additional case in file_string() | Brian Paul | 2009-01-09 | 1 | -0/+2 |
| | |||||
* | glsl: pass GLcontext::Extension info down into GLSL preprocessor | Brian Paul | 2009-01-09 | 3 | -35/+65 |
| | | | | Now the #extension directives can be handled properly. | ||||
* | glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITY | Brian Paul | 2009-01-09 | 1 | -1/+1 |
| | |||||
* | glsl: check that the fragment shader does not write both gl_FragColor and ↵ | Brian Paul | 2009-01-09 | 1 | -0/+11 |
| | | | | gl_FragData[] | ||||
* | i965: init dst reg RelAddr field to zero | Brian Paul | 2009-01-09 | 1 | -1/+2 |
| | |||||
* | i965: Note when we drop saturate mode on the floor in a VP. | Eric Anholt | 2009-01-09 | 1 | -0/+5 |
| | |||||
* | i965: Add support for LRP in VPs. | Eric Anholt | 2009-01-09 | 1 | -0/+42 |
| | | | | Bug #19226. | ||||
* | glsl: disable some unused functions (but don't remove just yet) | Brian Paul | 2009-01-09 | 1 | -1/+8 |
| | |||||
* | glsl: also unroll loops with variable declarations such as "for (int i = 0; ..." | Brian Paul | 2009-01-09 | 1 | -24/+58 |
| | |||||
* | glsl: remove dead code | Brian Paul | 2009-01-09 | 1 | -13/+2 |
| | |||||
* | mesa: OSMesa Makefile fixes (use LIB_DIR) | Brian Paul | 2009-01-09 | 1 | -4/+3 |
| | |||||
* | glsl: loop unroll adjustments | Brian Paul | 2009-01-09 | 1 | -1/+20 |
| | | | | | | | Add a "max complexity" heuristic to allow unrolling long loops with small bodies and short loops with large bodies. The loop unroll limits may need further tweaking... | ||||
* | glsl: implement loop unrolling for simple 'for' loops | Brian Paul | 2009-01-09 | 1 | -24/+205 |
| | | | | | | | | | | | | | | | | | Loops such as this will be unrolled: for (i = 0; i < 4; ++i) { body; } where 'body' isn't too large. This also helps to fix the issue reported in bug #19190. The problem there is indexing vector types with a variable index. For example: vec4 v; v[2] = 1.0; // equivalent to v.z = 1.0 v[i] = 2.0; // variable index into vector!! Since the for-i loop can be unrolled, we can avoid the problems associated with variable indexing into a vector (at least in this case). | ||||
* | mesa: Move var declaration to top of scope. | Brian Paul | 2009-01-09 | 1 | -0/+8 |
| | | | | (cherry picked from commit 3740a06e28f4cd09e2a3dce2da60320aa9304df1) |