summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-12noop: change var type to silence warningBrian Paul
2011-01-12glsl/Makefile: Fix build with --as-needed.Kenneth Graunke
2011-01-12mesa: Move declaration before code in extensions.c.Vinson Lee
Fixes SCons build.
2011-01-12mesa: Change OES_point_sprite to depend on ARB_point_spriteChad Versace
The extension string in GLES1 contexts always advertised GL_OES_point_sprite. Now advertisement depends on ARB_point_sprite being enabled. Reviewed-by: Ian Romanick <idr@freedesktop.org>
2011-01-12mesa: Change dependencies of some OES extension stringsChad Versace
Change all OES extension strings that depend on ARB_framebuffer_object to instead depend on EXT_framebuffer_object. Reviewed-by: Ian Romanick <idr@freedesktop.org>
2011-01-12mesa: Add/remove extensions in extension stringChad Versace
Add GL_OES_stencil8 to ES2. Remove the following: GL_OES_compressed_paletted_texture : ES1 GL_OES_depth32 : ES1, ES2 GL_OES_stencil1 : ES1, ES2 GL_OES_stencil4 : ES1, ES2 Mesa advertised these extensions, but did not actually support them. Reviewed-by: Ian Romanick <idr@freedesktop.org>
2011-01-12mesa: Refactor handling of extension stringsChad Versace
Place GL, GLES1, and GLES2 extensions in a unified extension table. This allows one to enable, disable, and query the status of GLES1 and GLES2 extensions by name. When tested on Intel Ironlake, this patch did not alter the extension string [as given by glGetString(GL_EXTENSIONS)] for any API. Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
2011-01-12glsl: Track variable usage, use that to enforce semanticsIan Romanick
In particular, variables cannot be redeclared invariant after being used. Fixes piglit test invariant-05.vert and bugzilla #29164. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-12i965/fs: Do flat shading when appropriate.Eric Anholt
We were trying to interpolate, which would end up doing unnecessary math, and doing so on undefined values. Fixes glsl-fs-flat-color.
2011-01-12r600g: also look at tex inst when for maximum gpu countChristian König
2011-01-12generate_builtins.py: Add missing import.Vinson Lee
Import sys for sys.exit.
2011-01-12meta: Actually use mipmapping when generating mipmaps.Eric Anholt
With the change to not reset baselevel, this GL_LINEAR filtering was resulting in generating mipmaps off of the base level instead of the next higher detail level. Fixes fbo-generatemipmap-filtering. Reported by: Neil Roberts <neil@linux.intel.com>
2011-01-12i965: Clarify when we need to (re-)calculate live intervals.Eric Anholt
The ad-hoc placement of recalculation somewhere between when they got invalidated and when they were next needed was confusing. This should clarify what's going on here.
2011-01-12r600g: implement output modifiers and use them to further optimize LRPChristian König
2011-01-12r600g: use special constants for 0, 1, -1, 1.0f, 0.5f etcChristian König
2011-01-12r600g: optimize temp register handling for LRPChristian König
2011-01-12r600g: optimize away CF_INST_POPChristian König
If last instruction is an CF_INST_ALU we don't need to emit an additional CF_INST_POP for stack clean up after an IF ELSE ENDIF.
2011-01-12r600g: make dumping of shaders an optionChristian König
2011-01-12r600g: fix alu dumpingChristian König
2011-01-12r600g: improve r600_bc_dumpChristian König
2011-01-12i965/vs: When MOVing to produce ABS, strip negate of the operand.Eric Anholt
We were returning the negative absolute value, instead of the absolute value. Fixes glsl-vs-abs-neg.
2011-01-12i965/fs: When producing ir_unop_abs of an operand, strip negate.Eric Anholt
We were returning the negative absolute value, instead of the absolute value. Fixes glsl-fs-abs-neg.
2011-01-12glsl: Make builtin_compiler build on Windows with MSVC.José Fonseca
2011-01-12glsl: Make builtin_compiler portable for non-unices.José Fonseca
2011-01-12getopt: Make code more portable.José Fonseca
2011-01-12getopt: Import OpenBSD getopt implementation for MSVC.José Fonseca
2011-01-12scons: Update windows build for vgapi->openvg rename.José Fonseca
2011-01-12scons: Fix build on systems without libOpenVG.soJosé Fonseca
2011-01-12egl: When EGL_DRIVER is set, do not add other drivers.Chia-I Wu
Setting EGL_DRIVER forces the driver to be loaded, as documented. There should be no fallbacks.
2011-01-12egl: libEGL depends on LOCAL_LIBS.Chia-I Wu
So that libEGL is rebuilt whenever LOCAL_LIBS changes.
2011-01-12egl_dri2: Fix eglGetProcAddress.Chia-I Wu
The driver struct is zeroed after dri2_load. Oops.
2011-01-12scons: Updates for targets/egl-static.Chia-I Wu
Update SConscripts to re-enable or add support for EGL on windows and x11 platforms respectively. targets/egl-gdi is replaced by targets/egl-static, where "-static" means pipe drivers and state trackers are linked to statically by egl_gallium, and egl_gallium is a built-in driver of libEGL. There is no more egl_gallium.dll on Windows.
2011-01-12targets/egl-static: New EGL target for scons.Chia-I Wu
This target is based on and replaces egl-gdi. It is suitable for both windows and x11.
2011-01-11glsl: Add type inference support for remaining expression opcodes.Kenneth Graunke
2011-01-11i965: Tighten up the check for flow control interfering with coalescing.Eric Anholt
This greatly improves codegen for programs with flow control by allowing coalescing for all instructions at the top level, not just ones that follow the last flow control in the program.
2011-01-12r600g: texture instructions also work fine with TGSI_FILE_INPUTChristian König
2011-01-12r600g: DP4 also supports writemaskingChristian König
2011-01-12r600g: Why all this fiddling with tgsi_helper_copy?Christian König
tgsi_helper_copy is used on several occasions to copy a temporary result into the real destination register to emulate writemasks for OP3 and reduction operations. According to R600 ISA that's unnecessary. This patch fixes this use for MAD, CMP and DP4.
2011-01-12r600g: fix tex and vtx joiningChristian König
2011-01-11glsl: Fix the lowering of variable array indexing to not lose write_masks.Eric Anholt
Fixes glsl-complex-subscript on 965.
2011-01-11i965: Remove dead fallback for stencil _Enabled but no stencil buffer.Eric Anholt
The _Enabled field is the thing that takes into account whether there's a stencil buffer. Tested with piglit glx-visuals-stencil.
2011-01-11r600g: Fixed SIN/COS/SCS for the case where the operand is a literal.Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de> Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
2011-01-11r600c: add evergreen ARL support.Alberto Milone
Signed-off-by: Alberto Milone <alberto.milone@canonical.com>
2011-01-11noop: remove dead dri targetJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-11r600g: move user fence into base radeon structureJerome Glisse
This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2011-01-11configure: bump libdrm version requirement to 2.4.23Brian Paul
NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
2011-01-11mesa: include teximage.h to silence warningBrian Paul
2011-01-11mesa: do a debug check of _mesa_format_to_type_and_comps()Brian Paul
Make sure that all formats are handled in this function. It's easy to miss this function when adding new pixel formats. See also http://bugs.freedesktop.org/show_bug.cgi?id=31544
2011-01-11mesa: fix a few format table mistakes, assertionsBrian Paul
The BaseFormat field was incorrect for a few R and RG formats. Fix a couple assertions too. NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-10glsl: Autogenerate builtin_functions.cpp as part of the build process.Kenneth Graunke
Python is already necessary for other parts of Mesa, so there's no reason we can't just generate it. This patch updates both make and SCons to do so.