summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* gallium: use tgsi_dump_instruction() instead of ppc_comment()Brian Paul2009-01-101-84/+7
|
* gallium: remove unused struct typeBrian Paul2009-01-101-8/+0
|
* gallium: fix register clobber bug in TGSI->PPC codegenBrian Paul2009-01-101-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 codegenBrian Paul2009-01-101-2/+90
|
* gallium: code to dump/debug PPC code (disabled)Brian Paul2009-01-101-0/+5
|
* gallium: added comment/annotation support to PPC rtasmBrian Paul2009-01-102-62/+187
|
* cell: added rule to produce .s assembly filesBrian Paul2009-01-101-0/+3
|
* gallium: s/false/FALSE/Brian Paul2009-01-101-1/+1
|
* nouveau: Update nv30 swizzling.Younes Manton2009-01-102-9/+10
|
* nouveau: Factor out common winsys bits into libnouveaudrm.aYounes Manton2009-01-1044-922/+927
|
* g3dvl: Use Gallium thread wrappers.Younes Manton2009-01-101-4/+4
|
* g3dvl: Use Gallium MALLOC wrappers.Younes Manton2009-01-109-31/+34
|
* g3dvl: Get rid of old unbuffered motion compensation code.Younes Manton2009-01-104-2365/+1
|
* g3dvl: Map vertex bufs once per frame/flush.Younes Manton2009-01-101-36/+48
|
* nouveau: Catch some more leaks.Younes Manton2009-01-102-0/+3
|
* g3dvl: Fix some memory leaks.Younes Manton2009-01-102-0/+21
|
* g3dvl: Allocate one set of bufs, let winsys rename them as necessary.Younes Manton2009-01-102-158/+178
|
* nouveau: Add busy() query, determines if BOs can be mapped immediately.Younes Manton2009-01-102-0/+37
|
* nouveau: Use PIPE_BUFFER_USAGE_CPU_* instead of custom.Younes Manton2009-01-104-5/+4
|
* g3dvl: Expand YCbCr to full RGB range by default.Younes Manton2009-01-101-1/+1
|
* g3dvl: Work around mplayer weirdness in XvMCPutSurface().Younes Manton2009-01-101-2/+8
|
* g3dvl: Flag textures holding incoming data as dynamic.Younes Manton2009-01-101-1/+1
|
* nouveau: Put dynamic textures in GART for CPU access and don't swizzle.Younes Manton2009-01-105-8/+17
| | | | Also flag shadows as dynamic since they're for CPU access as well.
* gallium: Define PIPE_TEXTURE_USAGE_DYNAMIC.Younes Manton2009-01-101-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 Manton2009-01-102-24/+69
| | | | Limit of SIFM on nv40 is 1024x1024, not sure about others.
* draw: Add missing include.José Fonseca2009-01-091-0/+2
|
* st: build fixAlan Hourihane2009-01-091-1/+0
|
* glsl: fix typo in the vec2 += operator functionBrian Paul2009-01-092-2/+2
|
* mesa: set version string to 7.3-rc1Brian Paul2009-01-091-1/+1
|
* glsl: fix broken +=, -=, *=, /= operatorsBrian Paul2009-01-092-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 Paul2009-01-091-1/+1
|
* i965: Fix GLSL FS DPH to return the right value instead of src0.w * src1.w.Eric Anholt2009-01-091-1/+1
|
* i965: Remove worrisome comment about _NEW_PROGRAM signaling fp change.Eric Anholt2009-01-091-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 Anholt2009-01-098-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.cEric Anholt2009-01-093-61/+0
|
* i965: allow gl_FragData[0] usage when there's only one color bufferBrian Paul2009-01-091-2/+9
| | | | If gl_FragData[0] is written but not gl_FragCOlor, use the former.
* mesa: additional case in file_string()Brian Paul2009-01-091-0/+2
|
* glsl: pass GLcontext::Extension info down into GLSL preprocessorBrian Paul2009-01-093-35/+65
| | | | Now the #extension directives can be handled properly.
* glsl: bump up MAX_FOR_LOOP_UNROLL_COMPLEXITYBrian Paul2009-01-091-1/+1
|
* glsl: check that the fragment shader does not write both gl_FragColor and ↵Brian Paul2009-01-091-0/+11
| | | | gl_FragData[]
* i965: init dst reg RelAddr field to zeroBrian Paul2009-01-091-1/+2
|
* i965: Note when we drop saturate mode on the floor in a VP.Eric Anholt2009-01-091-0/+5
|
* i965: Add support for LRP in VPs.Eric Anholt2009-01-091-0/+42
| | | | Bug #19226.
* glsl: disable some unused functions (but don't remove just yet)Brian Paul2009-01-091-1/+8
|
* glsl: also unroll loops with variable declarations such as "for (int i = 0; ..."Brian Paul2009-01-091-24/+58
|
* glsl: remove dead codeBrian Paul2009-01-091-13/+2
|
* mesa: OSMesa Makefile fixes (use LIB_DIR)Brian Paul2009-01-091-4/+3
|
* glsl: loop unroll adjustmentsBrian Paul2009-01-091-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' loopsBrian Paul2009-01-091-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 Paul2009-01-091-0/+8
| | | | (cherry picked from commit 3740a06e28f4cd09e2a3dce2da60320aa9304df1)