summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* glsl: added uniform initializer checkBrian Paul2009-12-293-0/+12
| | | | | | | | | GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader.
* ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slotsBrian Paul2009-12-294-295/+377
| | | | | | | | | This function will search the constant parameters in an effort to re-use constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in one constant slot and accessed with different swizzles. The swizzle info must be propogated though the parsing code in a few places. Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.
* intel: Silence compiler warnings.Vinson Lee2009-12-289-14/+16
|
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-276-3/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| * mesa: Remove comma at end of enumerator list.Vinson Lee2009-12-261-1/+1
| |
| * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| |
| * intel: Silence implicit function declaration warning.Vinson Lee2009-12-251-0/+1
| |
| * i965: Fix assert.Vinson Lee2009-12-241-1/+1
| |
| * i965: Add missing va_end.Vinson Lee2009-12-241-0/+1
| |
| * glsl: Initialize member a_obj of struct slang_operation.Vinson Lee2009-12-231-0/+1
| |
| * ffb: Silence compiler warnings.Vinson Lee2009-12-221-1/+1
| |
| * mesa: set version string to 7.6.1mesa_7_6Ian Romanick2009-12-211-1/+1
| |
| * mesa: Fix missing finite symbol error on Windows.José Fonseca2009-12-211-2/+1
| | | | | | | | | | | | Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order. (cherry picked from commit 622bdecabd73167d2f2f3aff0e223a8c64433f99)
| * mesa: Include <unistd.h> only when one is available.Michal Krol2009-12-212-0/+8
| | | | | | | | (cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f)
* | st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORMBrian Paul2009-12-271-0/+2
| |
* | gallium: only create pipe buffer when size is nonzeroMaarten Maathuis2009-12-231-6/+10
| | | | | | | | | | | | - This fixes a crash upon starting spring (a rts engine/game). Signed-off-by: Maarten Maathuis <[email protected]>
* | mesa: fix binary() function, printf format stringBrian Paul2009-12-221-3/+5
| | | | | | | | | | Need to use the constant 1ULL and 0xllx format string. This fixes incorrect results and a NULL pointer/parameter bug.
* | mesa: set version string to 7.7mesa_7_7Ian Romanick2009-12-211-1/+1
| |
* | intel: Bump driver date to reflect status as final Q4 driver RCIan Romanick2009-12-211-1/+1
| |
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-214-19/+23
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac progs/demos/morph3d.c progs/demos/textures.c progs/glsl/shtest.c progs/glsl/texaaline.c progs/tests/packedpixels.c progs/xdemos/corender.c src/mesa/main/version.h
| * radeon/r600: use new libdrm_radeon apiDave Airlie2009-12-2228-534/+645
| |
| * radeon: drop assert accessing cref which is meant to be hiddenDave Airlie2009-12-221-1/+0
| |
| * radeon: drop unused members of radeon_state.Dave Airlie2009-12-221-3/+0
| |
| * r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie2009-12-222-16/+15
| | | | | | | | these really shouldn't be exposed here
| * r600: fix glFrontFace(GL_CW)Dave Airlie2009-12-211-7/+2
| | | | | | | | | | | | fd.o bug #25290 Suggested fix from Rafael Monica
| * st/mesa: Check for single level mipmap trees.Younes Manton2009-12-211-0/+3
| | | | | | | | | | The assert in util_gen_mipmap() caught it, although it does the right thing anyway.
| * glsl: clear out shader code before compilingBrian Paul2009-12-181-11/+13
| | | | | | | | | | | | | | When we start compiling a shader, first free the existing gl_program. This (mostly) fixes the piglit glsl-reload-source test. Without this change, we were actually appending the new GPU code onto the previous program.
| * r600: Invert front face winding when rendering to FBOAlex Deucher2009-12-161-0/+4
| | | | | | | | | | | | fixes fdo bug 25679 Signed-off-by: Alex Deucher <[email protected]>
| * mesa: set version string to 7.6.1-rc4Ian Romanick2009-12-161-1/+1
| |
| * mesa: add missing semicolonBrian Paul2009-12-161-1/+1
| | | | | | | | See bug 25663.
* | radeon/r600: use new libdrm_radeon apiDave Airlie2009-12-2228-546/+644
| |
* | radeon: drop assert accessing cref which is meant to be hiddenDave Airlie2009-12-221-1/+0
| |
* | radeon: drop unused members of radeon_state.Dave Airlie2009-12-221-3/+0
| |
* | r600: move structs for legacy cmdbuf into cmdbuf C file.Dave Airlie2009-12-222-16/+15
| | | | | | | | these really shouldn't be exposed here
* | i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test).Eric Anholt2009-12-181-1/+6
| |
* | i915: Clean up some unnecessary x/y miptree code.Eric Anholt2009-12-181-10/+1
| | | | | | | | | | | | 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.
* | i965: Add support for OPCODE_CMP in the VS to fix GLSL sqrt()Eric Anholt2009-12-181-0/+14
| | | | | | | | Bug #25628. Fixes piglit case glsl-vs-sqrt-zero.
* | st/mesa: move assert on nr vs insns until after pos_invarient expansionKeith Whitwell2009-12-182-2/+2
| | | | | | | | | | | | 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.
* | mesa: set version string to 7.7-rc3mesa_7_7_rc3Ian Romanick2009-12-161-1/+1
| |
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchIan Romanick2009-12-1611-14/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/unichrome/via_ioctl.c src/mesa/drivers/dri/unichrome/via_screen.c src/mesa/main/version.h src/mesa/state_tracker/st_atom.c
| * | mesa: set version string to 7.6.1-rc4mesa_7_6_1_rc4Ian Romanick2009-12-161-1/+1
| |/
| * mesa: test for __blrts for CPU_TO_LE32()Brian Paul2009-12-161-1/+1
| | | | | | | | See bug 25663.
| * mesa: no dlopen on BlueGeneBrian Paul2009-12-161-4/+10
| | | | | | | | See bug 25663.
| * mesa: remove //-style commentsBrian Paul2009-12-162-2/+2
| |
| * st/mesa: remove //-style commentsBrian Paul2009-12-162-5/+5
| |
| * unichrome: Silence compiler warnings.Vinson Lee2009-12-154-6/+6
| |
| * sis: Silence compiler warnings.Vinson Lee2009-12-152-2/+2
| |
| * savage: Silence compiler warnings.Vinson Lee2009-12-153-3/+6
| |
| * r128: Silence uninitialized variable warnings in r128_tris.c.Vinson Lee2009-12-151-1/+2
| |
| * dri: Initialize variable in driBindContext.Vinson Lee2009-12-151-1/+1
| |