Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-12-29 | mesa: per-buffer blend enabled flags | Brian Paul | |
ctx->Color.BlendEnabled is now a GLbitfield instead of a GLboolean to indicate blend on/off status for each color/draw buffer. This is infrastructure for GL_EXT_draw_buffers2 and OpenGL 3.x New functions include _mesa_EnableIndexed(), _mesa_DisableIndexed(), and _mesa_IsEnabledIndexed(). The enable function corresponds to glEnableIndexedEXT() for GL_EXT_draw_buffers2 or glEnablei() for GL3. Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in drivers, etc. Those tests can remain as-is since the mask will be 0 or ~0 unless GL_EXT_draw_buffers2 is enabled. | |||
2009-12-29 | mesa: Initialize variable in get_tex_color_index. | Vinson Lee | |
2009-12-29 | glsl: added uniform initializer check | Brian Paul | |
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. | |||
2009-12-29 | ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slots | Brian Paul | |
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. | |||
2009-12-28 | intel: Fix false positives in checking for non-packed depth/stencil RB. | Eric Anholt | |
The wine d3d9 visual.c testcase was tripping over this and failing. Presumably it's binding a packed depth/stencil texture to both stencil and depth attachment points, and we make a new renderbuffer wrapper for each in that case. | |||
2009-12-28 | intel: Allow binding a stencil but not a depth buffer. | Eric Anholt | |
Wine's d3d9 visual.c testcase tries this a lot, so I've added some piglit tests (fbo-nodepth-test, fbo-nostencil-test, fbo-stencil-only) and enabled it. | |||
2009-12-28 | intel: Improve INTEL_DEBUG=fbo output. | Eric Anholt | |
2009-12-28 | intel: Remove dead fthrottle_mode option. We only do IRQ waits. | Eric Anholt | |
Noticed by clang. | |||
2009-12-28 | mesa: remove gratuitous stores I added in remove_instructions. | Eric Anholt | |
2009-12-28 | intel: Silence compiler warnings. | Vinson Lee | |
2009-12-27 | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | |
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 | |||
2009-12-27 | Merge branch 'mesa_7_7_branch' | Brian Paul | |
2009-12-27 | st/mesa: add missing case for PIPE_FORMAT_B8G8R8A8_UNORM | Brian Paul | |
2009-12-26 | mesa: Remove comma at end of enumerator list. | Vinson Lee | |
2009-12-26 | i915: Fix assert. | Vinson Lee | |
2009-12-26 | i965: Extra asserts on flow control instructions to clarify for clang. | Eric Anholt | |
2009-12-26 | i965: Clean up double initialization of dst_flags from a rebase resolve. | Eric Anholt | |
Caught by clang. | |||
2009-12-26 | i965: Fix setup of immediate types for gen4 disasm. | Eric Anholt | |
Caught by clang. | |||
2009-12-25 | intel: Silence implicit function declaration warning. | Vinson Lee | |
2009-12-25 | gallium: add geometry shader support to gallium | Zack Rusin | |
2009-12-24 | i965: Fix assert. | Vinson Lee | |
2009-12-24 | i965: Add missing va_end. | Vinson Lee | |
2009-12-23 | glsl: Initialize member a_obj of struct slang_operation. | Vinson Lee | |
2009-12-23 | gallium: adapt state trackers etc. to pipe_constant_buffer removal | Roland Scheidegger | |
2009-12-23 | gallium: only create pipe buffer when size is nonzero | Maarten Maathuis | |
- This fixes a crash upon starting spring (a rts engine/game). Signed-off-by: Maarten Maathuis <madman2003@gmail.com> | |||
2009-12-22 | ffb: Silence compiler warnings. | Vinson Lee | |
2009-12-22 | intel: Replace some gen3 IS_* checks with context structure usage. | Eric Anholt | |
Shaves 400 bytes or so from i915_dri.so. | |||
2009-12-22 | intel: Replace IS_965 checks with context structure usage. | Eric Anholt | |
Saves another 600 bytes or so of code. | |||
2009-12-22 | intel: Replace IS_G4X() across the driver with context structure usage. | Eric Anholt | |
Saves ~2KB of code. | |||
2009-12-22 | intel: Replace IS_IGDNG checks with intel->is_ironlake or needs_ff_sync. | Eric Anholt | |
Saves ~480 bytes of code. | |||
2009-12-22 | mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname); | Eric Anholt | |
Fixes piglit ati-fs-bad-delete. Caught by clang. | |||
2009-12-22 | mesa: remove unnecessary store. | Eric Anholt | |
2009-12-22 | mesa: Remove an unnecessary store reported by clang. | Eric Anholt | |
This was a workaround for a compiler warning that was showing a real error. The real error was later fixed. | |||
2009-12-22 | intel: Fix leakage of active texture state in glBitmap fp metaops. | Eric Anholt | |
Noticed by clang. | |||
2009-12-22 | i915: Fix use of uninitialized variable in OPCODE_NOISE stub. | Eric Anholt | |
We don't actually care which register is used since we're just swizzling (0,0,0,0), but it should be a valid variable number. Detected by clang. | |||
2009-12-22 | mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage. | Eric Anholt | |
The same code is generated, and readers and static analyzers are happier. | |||
2009-12-22 | intel: Remove unused stored values reported by clang. | Eric Anholt | |
2009-12-22 | mesa: Remove _mesa_exit wrapper for exit(). | Eric Anholt | |
It does nothing else while being less useful than exit() because it lacks attributes that real exit() has. | |||
2009-12-22 | mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr. | Brian Paul | |
This is a little more logical. Suggested in bug report 25654. | |||
2009-12-22 | mesa: adjust BRK/CONT BranchTarget to always point to ENDLOOP instruction | Brian Paul | |
To be more consistant. | |||
2009-12-22 | mesa: added some assertions in BNGLOOP/ENDLOOP cases | Brian Paul | |
2009-12-22 | mesa: fix binary() function, printf format string | Brian Paul | |
Need to use the constant 1ULL and 0xllx format string. This fixes incorrect results and a NULL pointer/parameter bug. | |||
2009-12-22 | Merge branch 'gallium-edgeflags' | Roland Scheidegger | |
Conflicts: src/mesa/state_tracker/st_draw.c | |||
2009-12-22 | Merge branch 'i965g-restart' | Keith Whitwell | |
Conflicts: configure.ac | |||
2009-12-21 | intel: Replace release info in DRIVER_DATE with "DEVELOPMENT" | Ian Romanick | |
2009-12-21 | Merge branch 'mesa_7_7_branch' | Ian Romanick | |
Conflicts: src/mesa/main/version.h | |||
2009-12-21 | mesa: set version string to 7.7 | Ian Romanick | |
2009-12-21 | intel: Bump driver date to reflect status as final Q4 driver RC | Ian Romanick | |
2009-12-21 | mesa: set version string to 7.6.1 | Ian Romanick | |
2009-12-21 | glsl: assorted clean-ups in slang_compile.c | Brian Paul | |