Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: added uniform initializer check | Brian Paul | 2009-12-29 | 3 | -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 slots | Brian Paul | 2009-12-29 | 4 | -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 Lee | 2009-12-28 | 9 | -14/+16 |
| | |||||
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-27 | 6 | -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 Lee | 2009-12-26 | 1 | -1/+1 |
| | | |||||
| * | i915: Fix assert. | Vinson Lee | 2009-12-26 | 1 | -1/+1 |
| | | |||||
| * | intel: Silence implicit function declaration warning. | Vinson Lee | 2009-12-25 | 1 | -0/+1 |
| | | |||||
| * | i965: Fix assert. | Vinson Lee | 2009-12-24 | 1 | -1/+1 |
| | | |||||
| * | i965: Add missing va_end. | Vinson Lee | 2009-12-24 | 1 | -0/+1 |
| | | |||||
| * | glsl: Initialize member a_obj of struct slang_operation. | Vinson Lee | 2009-12-23 | 1 | -0/+1 |
| | | |||||
| * | ffb: Silence compiler warnings. | Vinson Lee | 2009-12-22 | 1 | -1/+1 |
| | | |||||
| * | mesa: set version string to 7.6.1mesa_7_6 | Ian Romanick | 2009-12-21 | 1 | -1/+1 |
| | | |||||
| * | mesa: Fix missing finite symbol error on Windows. | José Fonseca | 2009-12-21 | 1 | -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 Krol | 2009-12-21 | 2 | -0/+8 |
| | | | | | | | | (cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f) | ||||
* | | st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM | Brian Paul | 2009-12-27 | 1 | -0/+2 |
| | | |||||
* | | gallium: only create pipe buffer when size is nonzero | Maarten Maathuis | 2009-12-23 | 1 | -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 string | Brian Paul | 2009-12-22 | 1 | -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_7 | Ian Romanick | 2009-12-21 | 1 | -1/+1 |
| | | |||||
* | | intel: Bump driver date to reflect status as final Q4 driver RC | Ian Romanick | 2009-12-21 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-21 | 4 | -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 api | Dave Airlie | 2009-12-22 | 28 | -534/+645 |
| | | |||||
| * | radeon: drop assert accessing cref which is meant to be hidden | Dave Airlie | 2009-12-22 | 1 | -1/+0 |
| | | |||||
| * | radeon: drop unused members of radeon_state. | Dave Airlie | 2009-12-22 | 1 | -3/+0 |
| | | |||||
| * | r600: move structs for legacy cmdbuf into cmdbuf C file. | Dave Airlie | 2009-12-22 | 2 | -16/+15 |
| | | | | | | | | these really shouldn't be exposed here | ||||
| * | r600: fix glFrontFace(GL_CW) | Dave Airlie | 2009-12-21 | 1 | -7/+2 |
| | | | | | | | | | | | | fd.o bug #25290 Suggested fix from Rafael Monica | ||||
| * | st/mesa: Check for single level mipmap trees. | Younes Manton | 2009-12-21 | 1 | -0/+3 |
| | | | | | | | | | | The assert in util_gen_mipmap() caught it, although it does the right thing anyway. | ||||
| * | glsl: clear out shader code before compiling | Brian Paul | 2009-12-18 | 1 | -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 FBO | Alex Deucher | 2009-12-16 | 1 | -0/+4 |
| | | | | | | | | | | | | fixes fdo bug 25679 Signed-off-by: Alex Deucher <[email protected]> | ||||
| * | mesa: set version string to 7.6.1-rc4 | Ian Romanick | 2009-12-16 | 1 | -1/+1 |
| | | |||||
| * | mesa: add missing semicolon | Brian Paul | 2009-12-16 | 1 | -1/+1 |
| | | | | | | | | See bug 25663. | ||||
* | | radeon/r600: use new libdrm_radeon api | Dave Airlie | 2009-12-22 | 28 | -546/+644 |
| | | |||||
* | | radeon: drop assert accessing cref which is meant to be hidden | Dave Airlie | 2009-12-22 | 1 | -1/+0 |
| | | |||||
* | | radeon: drop unused members of radeon_state. | Dave Airlie | 2009-12-22 | 1 | -3/+0 |
| | | |||||
* | | r600: move structs for legacy cmdbuf into cmdbuf C file. | Dave Airlie | 2009-12-22 | 2 | -16/+15 |
| | | | | | | | | these really shouldn't be exposed here | ||||
* | | i915: Fix GL_TEXTURE_MAX_LEVEL support (piglit levelclamp test). | Eric Anholt | 2009-12-18 | 1 | -1/+6 |
| | | |||||
* | | i915: Clean up some unnecessary x/y miptree code. | Eric Anholt | 2009-12-18 | 1 | -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 Anholt | 2009-12-18 | 1 | -0/+14 |
| | | | | | | | | Bug #25628. Fixes piglit case glsl-vs-sqrt-zero. | ||||
* | | st/mesa: move assert on nr vs insns until after pos_invarient expansion | Keith Whitwell | 2009-12-18 | 2 | -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_rc3 | Ian Romanick | 2009-12-16 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Ian Romanick | 2009-12-16 | 11 | -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_rc4 | Ian Romanick | 2009-12-16 | 1 | -1/+1 |
| |/ | |||||
| * | mesa: test for __blrts for CPU_TO_LE32() | Brian Paul | 2009-12-16 | 1 | -1/+1 |
| | | | | | | | | See bug 25663. | ||||
| * | mesa: no dlopen on BlueGene | Brian Paul | 2009-12-16 | 1 | -4/+10 |
| | | | | | | | | See bug 25663. | ||||
| * | mesa: remove //-style comments | Brian Paul | 2009-12-16 | 2 | -2/+2 |
| | | |||||
| * | st/mesa: remove //-style comments | Brian Paul | 2009-12-16 | 2 | -5/+5 |
| | | |||||
| * | unichrome: Silence compiler warnings. | Vinson Lee | 2009-12-15 | 4 | -6/+6 |
| | | |||||
| * | sis: Silence compiler warnings. | Vinson Lee | 2009-12-15 | 2 | -2/+2 |
| | | |||||
| * | savage: Silence compiler warnings. | Vinson Lee | 2009-12-15 | 3 | -3/+6 |
| | | |||||
| * | r128: Silence uninitialized variable warnings in r128_tris.c. | Vinson Lee | 2009-12-15 | 1 | -1/+2 |
| | | |||||
| * | dri: Initialize variable in driBindContext. | Vinson Lee | 2009-12-15 | 1 | -1/+1 |
| | |