aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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)
| * | | | mesa: Add _mesa_snprintf.José Fonseca2009-01-085-7/+22
| | | | | | | | | | | | | | | | | | | | On Windows snprintf is renamed as _snprintf.
| * | | | mesa: fix GL_DEPTH_CLEAR_VALUE castingBrian Paul2009-01-082-4/+4
| | | | |
| * | | | mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)Brian Paul2009-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3) Conflicts: src/mesa/main/get.c
| * | | | mesa: Move var declaration to top of scope.José Fonseca2009-01-081-1/+1
| | | | |
| * | | | wgl: Do not provide DllMain inside the state tracker.José Fonseca2009-01-085-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MS CRT libraries already provide a default DllMain entrypoint, and MS Linker will complain if it finds the same symbol in two different libraries. Therefore the DllMain has to be in (each) winsys.
| * | | | wgl: Ensure public symbols get the proper DLL linkage attributes.José Fonseca2009-01-0813-36/+52
| | | | |
| * | | | mesa: Ensure gl* symbols are marked as dllexport on windows.José Fonseca2009-01-081-0/+6
| | | | |
| * | | | mesa: Use explicit casts when precision is lost.José Fonseca2009-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | Silences MSVC.
| * | | | mesa: Fix windows build when UNICODE is defined.José Fonseca2009-01-081-1/+1
| | | | |
| * | | | Merge commit 'origin/master' into gallium-0.2Brian Paul2009-01-0612-15/+108
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
| * | | | | gallium: fix MaxTextureCoordUnits initBrian Paul2009-01-041-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes Cell regression.
| * | | | | gallium: assorted state tracker fixes for > 8 texture samplersBrian Paul2009-01-025-7/+13
| | | | | |
| * | | | | Merge commit 'origin/master' into gallium-0.2Brian Paul2009-01-0228-302/+791
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/ffvertex_prog.c src/mesa/main/texenvprogram.c
| * | | | | | gallium: fix texcoord loop for rasterpos attributesBrian Paul2009-01-021-1/+1
| | | | | | |
| * | | | | | gallium: clamp MaxVertexTextureImageUnits against Mesa limitBrian Paul2009-01-021-1/+2
| | | | | | |
| * | | | | | mesa: remove redudant lines for libglapi.aBrian Paul2009-01-021-5/+1
| | | | | | |
| * | | | | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-3020-171/+412
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/config.h
| * | | | | | | mesa: Do not specify types in bitfields.José Fonseca2008-12-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As advised by gcc -pedantic.
| * | | | | | | gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
| | | | | | | |
| * | | | | | | scons: Specify C99 throughout all the tree.José Fonseca2008-12-301-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC may not support full C99, but supports more than plain C90. And -pedantic without -std=c99 generates too many spurious warnings (specially C++ style comments) to be of any use. Note that using certain C99 features in the cross-platform parts of Gallium is still not possible; namely mid-of-scope variable declarations and named structure initializers will break MSVC builds.
| * | | | | | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-197-118/+565
| |\ \ \ \ \ \ \
| * | | | | | | | gallium: set ST_NEW_FRAMEBUFFER when setting new surfacesAlan Hourihane2008-12-191-0/+11
| | | | | | | | |
| * | | | | | | | gallium: fix two-sided lighting test in state trackerBrian Paul2008-12-181-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes two-sided lighting for vertex shaders.
| * | | | | | | | glsl: Fix handling of nested parens in macro actual arguments.Michal Krol2008-12-181-2/+15
| | | | | | | | |
| * | | | | | | | i915: check WRAP_T instead of WRAP_R for cube map texture.Xiang, Haihao2008-12-181-1/+1
| | | | | | | | |
| * | | | | | | | i915: fix abort issue. (bug #19147)Xiang, Haihao2008-12-182-4/+24
| | | | | | | | |
| * | | | | | | | mesa: remove unneeded _mesa_reference_fragprog() callBrian Paul2008-12-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The subsequent if/else cases always call _mesa_reference_fragprog() anyway.
| * | | | | | | | mesa: updated commentsBrian Paul2008-12-181-10/+12
| | | | | | | | |
| * | | | | | | | mesa: choose GLSL vertex shader over ARB/internal vertex program in ↵Brian Paul2008-12-171-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get_fp_input_mask() This is a work-around the for the fact that we do fragment shader state validation before vertex shader validation (see comments in state.c) so in get_fp_input_mask() we can't rely on ctx->VertexProgram._Current being up to date yet. This fixes a glean glsl1 test failure.
| * | | | | | | | mesa: fix fixed-function test in get_fp_input_mask() - again.Brian Paul2008-12-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem we're solving only occured when there was a user-defined vertex shader but no fragment shader. Check for that case now. Fixes glean api2 vertex array failure.
| * | | | | | | | mesa: add missing cases for texture array targetsBrian Paul2008-12-171-6/+10
| | | | | | | | |
| * | | | | | | | Revert "mesa: fix vertex program test in get_fp_input_mask()"Brian Paul2008-12-171-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8dc88cb64305c591dfadded2b5acbb1e6b04cd7f. This change broke other things...
| * | | | | | | | mesa: fix vertex program test in get_fp_input_mask()Brian Paul2008-12-171-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were accidentally using the fixed-function logic when a vertex shader was being used.
| * | | | | | | | mesa: remove redundant Makefile linesBrian Paul2008-12-161-3/+1
| | | | | | | | |
| * | | | | | | | mesa: updated list of src filesBrian Paul2008-12-161-1/+2
| | | | | | | | |
| * | | | | | | | mesa: update SConscript with new source filesBrian Paul2008-12-161-1/+2
| | | | | | | | |
| * | | | | | | | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-12-1641-4116/+4743
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge commit 'origin/gallium-0.1' into gallium-0.2Alan Hourihane2008-12-1515-253/+393
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/winsys/gdi/SConscript