summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: remove trailing comma to silence warningBrian Paul2011-01-121-1/+1
|
* noop: change var type to silence warningBrian Paul2011-01-121-1/+1
|
* glsl/Makefile: Fix build with --as-needed.Kenneth Graunke2011-01-121-1/+1
|
* mesa: Move declaration before code in extensions.c.Vinson Lee2011-01-121-6/+16
| | | | Fixes SCons build.
* mesa: Change OES_point_sprite to depend on ARB_point_spriteChad Versace2011-01-121-1/+1
| | | | | | | | 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 <[email protected]>
* mesa: Change dependencies of some OES extension stringsChad Versace2011-01-121-5/+5
| | | | | | | Change all OES extension strings that depend on ARB_framebuffer_object to instead depend on EXT_framebuffer_object. Reviewed-by: Ian Romanick <[email protected]>
* mesa: Add/remove extensions in extension stringChad Versace2011-01-121-5/+5
| | | | | | | | | | | | | 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 <[email protected]>
* mesa: Refactor handling of extension stringsChad Versace2011-01-122-490/+406
| | | | | | | | | | | | 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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* glsl: Track variable usage, use that to enforce semanticsIan Romanick2011-01-123-2/+26
| | | | | | | | | 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.
* i965/fs: Do flat shading when appropriate.Eric Anholt2011-01-122-20/+42
| | | | | We were trying to interpolate, which would end up doing unnecessary math, and doing so on undefined values. Fixes glsl-fs-flat-color.
* r600g: also look at tex inst when for maximum gpu countChristian König2011-01-121-1/+7
|
* generate_builtins.py: Add missing import.Vinson Lee2011-01-121-0/+1
| | | | Import sys for sys.exit.
* meta: Actually use mipmapping when generating mipmaps.Eric Anholt2011-01-121-1/+1
| | | | | | | | 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 <[email protected]>
* i965: Clarify when we need to (re-)calculate live intervals.Eric Anholt2011-01-123-5/+27
| | | | | | 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.
* r600g: implement output modifiers and use them to further optimize LRPChristian König2011-01-124-0/+33
|
* r600g: use special constants for 0, 1, -1, 1.0f, 0.5f etcChristian König2011-01-121-12/+44
|
* r600g: optimize temp register handling for LRPChristian König2011-01-121-34/+38
|
* r600g: optimize away CF_INST_POPChristian König2011-01-123-3/+29
| | | | | 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.
* r600g: make dumping of shaders an optionChristian König2011-01-121-4/+14
|
* r600g: fix alu dumpingChristian König2011-01-121-19/+13
|
* r600g: improve r600_bc_dumpChristian König2011-01-121-28/+131
|
* i965/vs: When MOVing to produce ABS, strip negate of the operand.Eric Anholt2011-01-121-0/+1
| | | | | We were returning the negative absolute value, instead of the absolute value. Fixes glsl-vs-abs-neg.
* i965/fs: When producing ir_unop_abs of an operand, strip negate.Eric Anholt2011-01-121-0/+1
| | | | | We were returning the negative absolute value, instead of the absolute value. Fixes glsl-fs-abs-neg.
* glsl: Make builtin_compiler build on Windows with MSVC.José Fonseca2011-01-121-1/+13
|
* glsl: Make builtin_compiler portable for non-unices.José Fonseca2011-01-121-31/+28
|
* getopt: Make code more portable.José Fonseca2011-01-123-12/+18
|
* getopt: Import OpenBSD getopt implementation for MSVC.José Fonseca2011-01-125-0/+607
|
* scons: Update windows build for vgapi->openvg rename.José Fonseca2011-01-121-1/+1
|
* scons: Fix build on systems without libOpenVG.soJosé Fonseca2011-01-122-5/+6
|
* egl: When EGL_DRIVER is set, do not add other drivers.Chia-I Wu2011-01-121-5/+14
| | | | | Setting EGL_DRIVER forces the driver to be loaded, as documented. There should be no fallbacks.
* egl: libEGL depends on LOCAL_LIBS.Chia-I Wu2011-01-121-1/+1
| | | | So that libEGL is rebuilt whenever LOCAL_LIBS changes.
* egl_dri2: Fix eglGetProcAddress.Chia-I Wu2011-01-121-1/+2
| | | | The driver struct is zeroed after dri2_load. Oops.
* scons: Updates for targets/egl-static.Chia-I Wu2011-01-128-33/+187
| | | | | | | | 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.
* targets/egl-static: New EGL target for scons.Chia-I Wu2011-01-127-129/+469
| | | | | This target is based on and replaces egl-gdi. It is suitable for both windows and x11.
* glsl: Add type inference support for remaining expression opcodes.Kenneth Graunke2011-01-111-0/+48
|
* i965: Tighten up the check for flow control interfering with coalescing.Eric Anholt2011-01-111-12/+26
| | | | | | 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.
* r600g: texture instructions also work fine with TGSI_FILE_INPUTChristian König2011-01-121-1/+3
|
* r600g: DP4 also supports writemaskingChristian König2011-01-121-8/+6
|
* r600g: Why all this fiddling with tgsi_helper_copy?Christian König2011-01-121-21/+41
| | | | | | | | 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.
* r600g: fix tex and vtx joiningChristian König2011-01-121-2/+2
|
* glsl: Fix the lowering of variable array indexing to not lose write_masks.Eric Anholt2011-01-111-13/+37
| | | | Fixes glsl-complex-subscript on 965.
* i965: Remove dead fallback for stencil _Enabled but no stencil buffer.Eric Anholt2011-01-111-8/+0
| | | | | The _Enabled field is the thing that takes into account whether there's a stencil buffer. Tested with piglit glx-visuals-stencil.
* r600g: Fixed SIN/COS/SCS for the case where the operand is a literal.Tilman Sauerbeck2011-01-111-2/+15
| | | | | Signed-off-by: Tilman Sauerbeck <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
* r600c: add evergreen ARL support.Alberto Milone2011-01-111-14/+69
| | | | Signed-off-by: Alberto Milone <[email protected]>
* noop: remove dead dri targetJerome Glisse2011-01-114-141/+0
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: move user fence into base radeon structureJerome Glisse2011-01-116-43/+42
| | | | | | | This avoid any issue when context is free and we still try to access fence through radeon structure. Signed-off-by: Jerome Glisse <[email protected]>
* configure: bump libdrm version requirement to 2.4.23Brian Paul2011-01-111-3/+3
| | | | NOTE: This is a candidate for the 7.10 (and 7.9?) branch.
* mesa: include teximage.h to silence warningBrian Paul2011-01-111-0/+1
|
* mesa: do a debug check of _mesa_format_to_type_and_comps()Brian Paul2011-01-112-1/+28
| | | | | | | 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
* mesa: fix a few format table mistakes, assertionsBrian Paul2011-01-111-7/+8
| | | | | | | 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.