summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-01-14glapi: Add entrypoints and enums for GL_ARB_ES2_compatibility.Eric Anholt
2011-01-14r600g: compiler helper opcode fixes for evergreenAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-14r600g: pass r600_bc to some addition compiler helper functionsAlex Deucher
needed for asic specific opcodes Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-14generate_builtins.py: Whitespace fixes.Vinson Lee
Also removed unnecessary semicolons.
2011-01-14generate_builtins.py: Fix builds using Python 2.5.Vinson Lee
2011-01-14i965: Replace broken handling of dead code with an assert.Eric Anholt
This code should never have been triggered, but I often did anyway when I disabled optimization passes during debugging, then spent my time debugging that this code doesn't work.
2011-01-14i965: Add an invalidation of live intervals after register splitting.Eric Anholt
No effect, since it was called before live intervals were calculated.
2011-01-14mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages.Eric Anholt
The comment of "this is just like teximages except for..." is a pretty good clue that we're handling this wrong. By just using the teximage code, we catch a bunch of cases we'd missed, like GL_RED and GL_RG.
2011-01-14mesa: Add channel-wise copy propagation to ir_to_mesa.Eric Anholt
This catches more opportunities than the prog_optimize.c code on openarena's fixed function shaders turned to GLSL, mostly due to looking at multiple source instructions for copy propagation opportunities. It should also be much more CPU efficient than prog_optimize.c's code.
2011-01-14i915: Fix compiler warning from sw fallback removal change.Eric Anholt
2011-01-14r600g: Disable V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR case.Vinson Lee
The usage of macro V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR was introduced by commit 323ef3a1f07ba4333dadebab571ddcd49d95f45c but the macro is undefined. Disable this case to fix the build for now.
2011-01-14gles2: Also support GL_BGRA_EXT for glTexSubImage2dKristian Høgsberg
2011-01-14r600g: add more missing instructions to r600_bc_get_num_operandsChristian König
2011-01-14egl: Fix EGL_VERSION string.Chia-I Wu
Fix a copy-and-paste error in a4a38dcf61f141297a083ccac217200947d57b0d.
2011-01-14egl: Fix an assertion in _eglUpdateAPIsString.Chia-I Wu
dpy->ClientAPIs was renamed in a4a38dcf61f141297a083ccac217200947d57b0d.
2011-01-14i965: fix fbo-srgb on i965.Dave Airlie
Until we get the EXT_framebuffer_sRGB extension we should bind the sRGB formats for FBO as linear. Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-01-14srgb: fix fbo base format picking.Dave Airlie
Pointed out by Brian.
2011-01-13i915: Disable extension OES_standard_derivativesChad Versace
OES_standard_derivatives must be manually disabled for i915 because Mesa enables it by default.
2011-01-13mesa: Change OES_standard_derivatives to be stand-alone extensionChad Versace
Add a bit in struct gl_extensions for OES_standard_derivatives, and enable the bit by default. Advertise the extension only if the bit is enabled. Previously, OES_standard_derivatives was advertised in GLES2 contexts if ARB_framebuffer_object was enabled.
2011-01-13r600g: Move declaration before code in r600_asm.c.Vinson Lee
Fixes SCons build.
2011-01-13r600g: rework literal handlingChristian König
2011-01-13r600g: merge alu groupsChristian König
2011-01-13r600g: implement replacing gpr with pv and psChristian König
2011-01-13glsl: Emit errors or warnings when 'layout' is used with 'attribute' or ↵Ian Romanick
'varying' The specs that add 'layout' require the use of 'in' or 'out'. However, a number of implementations, including Mesa, shipped several of these extensions allowing the use of 'varying' and 'attribute'. For these extensions only a warning is emitted. This differs from the behavior of Mesa 7.10. Mesa 7.10 would only accept 'attribute' with 'layout(location)'. This behavior was clearly wrong. Rather than carrying the broken behavior forward, we're just doing the correct thing. This is related to (piglit) bugzilla #31804. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-13glsl: Allow 'in' and 'out' when 'layout' is also availableIan Romanick
All of the extensions that add the 'layout' keyword also enable (and required) the use of 'in' and 'out' with shader globals. This is related to (piglit) bugzilla #31804. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-13scons: Fix cross-compilation.José Fonseca
Hairy stuff. Don't know how to do it better though.
2011-01-13r600g: add missing RECIPSQRT_CLAMPED to r600_bc_get_num_operandsChristian König
2011-01-13r600g: rework bank swizzle codeChristian König
2011-01-13r600g: fix alu slot assignmentChristian König
2011-01-13r600g: optimize away CF ALU instructions even if type doesn't matchChristian König
2011-01-13nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH stateChristoph Bumiller
Point smoothing requires rasterization rules to be set to OGL. Sorry for the extra noise caused by the header update.
2011-01-14draw: Fix an off-by-one bug in a vsplit assertion.Chia-I Wu
When use_spoken is true, istart (the first vertex of this segment) is replaced by i0 (the spoken vertex of the fan). There are still icount vertices. Thanks to Brian Paul for spotting this.
2011-01-13i965: Remove unnecessary headers.Vinson Lee
2011-01-13targets/egl-static: Remove unnecessary header.Vinson Lee
2011-01-13r600g: Silence uninitialized variable warnings.Vinson Lee
2011-01-13mesa: Add missing break statement in SARGB8 case.Vinson Lee
2011-01-13egl: need stdio.h for non-Windows build too to avoid compiler warningBrian Paul
2011-01-13dri_util: fail driCreateNewScreen if InitScreen is NULLPaulo Zanoni
Without this, X doesn't start with UMS on r300g. NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2011-01-13scons: Ensure the OpenVG/EGL import libs are also prefixed with 'lib'.José Fonseca
2011-01-13scons: Build libOpenVG.dll & libEGL.dllJosé Fonseca
But without creating liblibOpenVG or liblibEGL elsewhere. Thanks Chia-I Wu for pointing this out.
2011-01-13util: Undo spurious changes in last commit.José Fonseca
2011-01-13util: Don't limit debug_printf message length on unices.José Fonseca
2011-01-13egl: Improve driver selection.Chia-I Wu
The idea is to be able to match a driver using the following order try egl_gallium with hw renderer try egl_dri2 try egl_gallium with sw renderer try egl_glx given the module list egl_gallium egl_dri2 egl_glx For that, UseFallback initialization option is added. The module list is matched twice: with the option unset and with the option set. In the first pass, egl_gallium skips its sw renderer and egl_glx rejects to initialize since UseFallback is not set. In the second pass, egl_gallium skips its hw renderer and egl_dri2 rejects to initialize since UseFallback is set. The process stops at the first driver that initializes the display.
2011-01-13egl: Simplify driver matching.Chia-I Wu
Add initialization options that drv->API.Initialize should support. Replace drv->Probe by TestOnly initialization option and simplify _eglMatchDriver.
2011-01-13egl: Cleanup _EGLDisplay initialization.Chia-I Wu
Reorder/rename and document the fields that should be set by the driver during initialization. Drop the major/minor arguments from drv->API.Initialize.
2011-01-12glsl/s_expression: Read and ignore Scheme-style comments.Kenneth Graunke
A single-semicolon until the end of the line, i.e. ; this is a comment.
2011-01-12glsl/builtins: Remove unnecessary (constant bool (1)) from assignments.Kenneth Graunke
This isn't strictly necessary, but is definitely nicer.
2011-01-12ir_reader: Make assignment conditions optional.Kenneth Graunke
You can now simply write (assign (xy) <lhs> <rhs>) instead of the verbose (assign (constant bool (1)) (xy) <lhs> <rhs>).
2011-01-12ir_reader: Convert to a class.Kenneth Graunke
This makes it unnecessary to pass _mesa_glsl_parse_state around everywhere, making at least the prototypes a lot easier to read. It's also more C++-ish than a pile of static C functions.
2011-01-12ir_reader: Combine the three dereference reading functions into one.Kenneth Graunke
These used to be more complicated, but now are so simple there's no real point in keeping them separate.