Mesa 7.10 Release Notes / January 7, 2011
Mesa 7.10 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 7.10.1.
Mesa 7.10 implements the OpenGL 2.1 API, but the version reported by glGetString(GL_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 2.1.
See the Compiling/Installing page for prerequisites for DRI hardware acceleration.
MD5 checksums
0a70c15c135561824bdcae92bf232e43 MesaLib-7.10.tar.gz 33fb94eccc02cbb4d8d1365615e38e46 MesaLib-7.10.tar.bz2 5cafdc0eda0f9bf370b95c98df3338fa MesaLib-7.10.zip bc644be551ed585fc4f66c16b64a91c9 MesaGLUT-7.10.tar.gz 5c2677a155672352d62b177e4f0f92e8 MesaGLUT-7.10.tar.bz2 2ce5001f74496d1ba719ef74d910a5cf MesaGLUT-7.10.zip
New features
- GL_ARB_explicit_attrib_location extension (Intel and software drivers).
- GL_ARB_texture_rg (Intel, software drivers, gallium drivers).
- GL_EXT_separate_shader_objects extension (Intel and software drivers).
- GL_NV_primitive_restart extension (Gallium softpipe, llvmpipe).
- New fragment shader back-end for i965-class hardware.
- Support for Sandybridge chipset in i965 DRI driver.
Bug fixes
This list is likely incomplete.
- Bug 28800 - [r300c, r300g] Texture corruption with World of Warcraft
- Bug 29420 - Amnesia / HPL2 RendererFeatTest - not rendering correctly
- Bug 29946 - [swrast] piglit valgrind glsl-array-bounds-04 fails
- Bug 30261 - [GLSL 1.20] allowing inconsistent invariant declaration between two vertex shaders
- Bug 30632 - [softpipe] state_tracker/st_manager.c:489: st_context_notify_invalid_framebuffer: Assertion `stfb && stfb->iface == stfbi' failed.
- Bug 30694 - wincopy will crash on Gallium drivers when going to front buffer
- Bug 30771 - [r600g] vert-tex glsl demo
- Bug 30787 - Invalid asm shader does not generate draw-time error when used with GLSL shader
- Bug 30974 - [llvmpipe] SIGABRT src/gallium/drivers/llvmpipe/lp_state_fs.c:779
- Bug 30993 - getFramebufferAttachmentParameteriv wrongly generates error
- Bug 31101 - [glsl2] abort() in ir_validate::visit_enter(ir_assignment *ir)
- Bug 31193 - [regression] aa43176e break water reflections
- Bug 31194 - The mesa meta save/restore code doesn't ref the current GLSL program
- Bug 31371 - glslparsertest: ir.cpp:358: ir_constant::ir_constant(const glsl_type*, const ir_constant_data*): Assertion `(type->base_type >= 0) && (type->base_type <= 3)' failed.
- Bug 31439 - Crash in glBufferSubData() with size == 0
- Bug 31495 - [i965 gles2c bisected] OpenGL ES 2.0 conformance GL2Tests_GetBIFD_input.run regressed
- Bug 31514 - isBuffer returns true for unbound buffers
- Bug 31560 - [tdfx] tdfx_tex.c:702: error: ‘const struct gl_color_table’ has no member named ‘Format’
- Bug 31617 - Radeon/Compiz: 'failed to attach dri2 front buffer', error case not handled
- Bug 31648 - [GLSL] array-struct-array gets assertion: `(size >= 1) && (size <= 4)' failed.
- Bug 31650 - [GLSL] varying gl_TexCoord fails to be re-declared to different size in the second shader
- Bug 31673 - GL_FRAGMENT_PRECISION_HIGH preprocessor macro undefined in GLSL ES
- Bug 31690 - i915 shader compiler fails to flatten if in Aquarium webgl demo.
- Bug 31832 - [i915] Bad renderbuffer format: 21
- Bug 31841 - [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
- Bug 31894 - Writing to gl_PointSize with GLES2 corrupts other varyings
- Bug 31909 - [i965] brw_fs.cpp:1461: void fs_visitor::emit_bool_to_cond_code(ir_rvalue*): Assertion `expr->operands[i]->type->is_scalar()' failed.
- Bug 31934 - [gallium] Mapping empty buffer object causes SIGSEGV
- Bug 31983 - [i915 gles2] "if (expression with builtin/varying variables) discard" breaks linkage
- Bug 31985 - [GLSL 1.20] initialized uniform array considered as "unsized"
- Bug 31987 - [gles2] if input a wrong pname(GL_NONE) to glGetBoolean, it will not case GL_INVALID_ENUM
- Bug 32035 - [GLSL bisected] comparing unsized array gets segfault
- Bug 32070 - llvmpipe renders stencil demo incorrectly
- Bug 32273 - assertion fails when starting vdrift 2010 release with shaders enabled
- Bug 32287 - [bisected GLSL] float-int failure
- Bug 32311 - [965 bisected] Array look-ups broken on GM45
- Bug 32520 - [gles2] glBlendFunc(GL_ZERO, GL_DST_COLOR) will result in GL_INVALID_ENUM
- Bug 32825 - egl_glx driver completely broken in 7.9 branch [fix in master]
Changes
Adam Jackson (2):
- i965: Update renderer strings for sandybridge
- drivers/x11: unifdef XFree86Server
Alex Deucher (30):
- r600c: fix mipmap stride on evergreen
- r600c: add reloc for CB_COLOR0_ATTRIB
- r600c: pull over 6xx/7xx vertex fixes for evergreen
- r600c: fix segfault in evergreen stencil code
- r100: revalidate after radeon_update_renderbuffers
- r600c: add missing radeon_prepare_render() call on evergreen
- r600c: properly align mipmaps to group size
- egl_dri2: Add radeon chip ids
- r600c/evergreen: texture align is group_bytes just like 6xx/7xx
- r600g: fix buffer alignment
- r600g: All EVENT_WRITE packets need the EVENT_INDEX field
- r600g: translate ARR instruction for evergreen
- r600g: use meaningful defines for chiprev
- r600g: use full range of VS resources for vertex samplers
- r600g: fix additional EVENT_WRITE packet
- r600g: fix some winsys functions to deal properly with evergreen
- r600c: add Ontario Fusion APU support
- r600g: add support for ontario APUs
- r600c: fix VC flush on cedar and palm
- gallium/egl: fix r300 vs r600 loading
- r600c: fix some opcodes on evergreen
- r600c: bump texture limits to hw limits
- r600g: bump texture/cb limits appropriately for evergreen
- radeon: bump mip tree levels to 15
- r600g: fix rendering with a vertex attrib having a zero stride
- r600g: remove useless switch statements
- r600g: add support for NI (northern islands) asics
- r600c: add support for NI asics
- r600g: support up to 64 shader constants
- r600c: fix up SQ setup in blit code for Ontario/NI
Andre Maasikas (3):
- r600c: fix buffer height setting in dri2 case
- r600g: break alu clause earlier
- r600g: fix evergreen interpolation setup
Andrew Randrianasulu (2):
- dri/nv04: Don't expose ARB_texture_env_combine/dot3.
- dri/nv04: Enable eng3dm for A8/L8 textures.
Aras Pranckevicius (2):
- glsl: fix crash in loop analysis when some controls can't be determined
- glsl: fix matrix type check in ir_algebraic
Bas Nieuwenhuizen (3):
- r600g: set ENABLE_KILL in the shader state in the new design
- r600g: set ENABLE_KILL on evergreen too
- r600g: use dirty list to track dirty blocks
Ben Skeggs (3):
- nv50: DST
- nv50: DPH
- nv50: silence some unknown get_param warnings
Benjamin Franzke (2):
- st/egl image: multiply drm buf-stride with blocksize
- r600g: implement texture_get_handle (needed for eglExportDRMImageMESA)
Brian Paul (296):
- glx: add const qualifiers to __indirect_glMultiDrawArraysEXT()
- glsl2: fix signed/unsigned comparison warning
- llvmpipe: cast to silence warning
- llvmpipe: s/boolean/unsigned/ in bitfield to silence warning
- nv50: use unsigned int for bitfields to silence warnings
- tgsi: fix incorrect usage_mask for shadow tex instructions
- gallivm: expand AoS sampling to cover all filtering modes
- gallivm: fix incorrect vector shuffle datatype
- gallivm: move i32_vec_type inside the #ifdef
- mesa: include mfeatures.h in formats.c
- gallivm: fix wrong return value in bitwise functions
- tgsi/sse: fix aos_to_soa() loop to handle num_inputs==0
- gallivm: added missing case for PIPE_TEXTURE_RECT
- gallium: better docs for pipe_rasterizer_state::sprite_coord_enable
- gallium: rework handling of sprite_coord_enable state
- gallium/docs: added new pipeline.txt diagram
- mesa: don't call valid_texture_object() in non-debug builds
- glsl2: silence compiler warnings in printf() calls
- docs: remove old broken link
- docs: mark as obsolete, remove dead links
- llvmpipe: fix query bug when no there's no scene
- gallivm: remove debug code
- llvmpipe: maintain fragment shader state for draw module
- llvmpipe: indentation fix
- llvmpipe: reformatting, remove trailing whitespace, etc
- llvmpipe: clean-up, comments in setup_point_coefficient()
- llvmpipe: rename sprite field, add sprite_coord_origin
- llvmpipe: implement sprite coord origin modes
- draw: fix test for using the wide-point stage
- llvmpipe: check bitshift against PIPE_MAX_SHADER_OUTPUTS
- draw: check bitshift against PIPE_MAX_SHADER_OUTPUS
- Merge branch 'sprite-coord'
- draw: new draw_fs.[ch] files
- glsl2: fix typo in error msg
- gallivm: fix lp_build_sample_compare()
- softpipe: add missing calls to set draw vertex samplers/views
- mesa: don't advertise bogus GL_ARB_shading_language_120 extension
- configs: remove egl-swrast target from linux-dri config
- llvmpipe: fix sprite texcoord setup for non-projective texturing
- mesa: fix assertions to handle srgb formats
- st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format()
- st/mesa: use the wrapped renderbuffer in CopyPixels()
- llvmpipe: make min/max lod and lod bias dynamic state
- llvmpipe: make texture border_color dynamic state
- softpipe: fix repeat() function for NPOT textures
- gallivm: fix repeat() function for NPOT textures
- swrast: update comments for REMAINDER() macro
- softpipe: rename sp_state_fs.c -> sp_state_shader.c
- softpipe: make shader-related functions static
- softpipe: make blend/stencil/depth functions static
- softpipe: make sampler state functions static
- softpipe: make vertex state functions static
- softpipe: make rasterizer state functions static
- softpipe: make stream out state functions static
- softpipe: make clip state functions static
- softpipe: minor asst. clean-ups
- softpipe: allocate tile data on demand
- llvmpipe: fix swizzling of texture border color
- softpipe: fix swizzling of texture border color
- draw: pass sampler state down to llvm jit state
- gallivm: check for level=0 case in lp_build_minify()
- gallivm: added some comments
- draw: check for null sampler pointers
- swrast: fix choose_depth_texture_level() to respect mipmap filtering state
- st/mesa: replace assertion w/ conditional in framebuffer invalidation
- glsl2: fix signed/unsigned comparison warning
- st/xlib: add some comments
- ir_to_mesa: assorted clean-ups, const qualifiers, new comments
- mesa: remove assertion w/ undeclared variable texelBytes
- gallivm: remove newlines
- draw/llvmpipe: replace DRAW_MAX_TEXTURE_LEVELS with PIPE_MAX_TEXTURE_LEVELS
- mesa: reformatting, comments, code movement
- x11: fix breakage from gl_config::visualType removal
- gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8
- mesa: remove post-convolution width/height vars
- gallivm: add compile-time option to emit inst addrs and/or line numbers
- llvmpipe: code to dump bytecode to file (disabled)
- gallivm: added lp_build_print_vec4()
- gallivm: added lp_build_load_volatile()
- glsl: add ir_unop_round_even case to silence unhandled enum warning
- st/mesa: fix regressions in glDrawPixels(GL_STENCIL_INDEX)
- st/mesa: reformatting in st_cb_drawpixels.c
- st/mesa: use GLuint to avoid problem w/ uint not defined on mingw32
- st/mesa: update function name, comments
- gallivm: use util_snprintf()
- llvmpipe: remove lp_setup_coef*.c files from Makefile
- mesa: fix mesa version string construction
- gallivm: fix incorrect type for zero vector in emit_kilp()
- llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()
- draw: use float version of LLVM Mul/Add instructions
- draw: fix typo in comment
- mesa: add GL_RG case to _mesa_source_buffer_exists()
- mesa: add missing cases for packing red/green images
- st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()
- docs: update texture red/green support in GL3.txt
- docs: add GL_ARB_texture_rg to release notes
- mesa: driver hook for primitive restart
- mesa: set/get primitive restart state
- mesa: API spec for primitive restart
- mesa: regenerated files with primitive restart
- mesa: plug in primitive restart function
- vbo: support for primitive restart
- gallium: new CAP, state for primitive restart
- st/mesa: support for primitive restart
- draw: implement primitive splitting for primitive restart
- softpipe: enable primitive restart
- llvmpipe: enable primitive restart
- docs: added GL_NV_primitive_restart extension
- Merge branch 'primitive-restart-cleanup'
- winsys/xlib: formatting fixes
- winsys/xlib: use Bool type for shm field
- winsys/xlib: fix up allocation/dealloction of XImage
- winsys/xlib: rename xm->xlib
- galahad: silence warnings
- mesa: move declaration before code
- docs: updated GL3 status for primitive restart
- mesa: 80-column wrapping
- mesa: simplify fbo format checking code
- mesa: split up the image.c file
- mesa: add pixel packing for unscaled integer types
- mesa: _mesa_ClearColorIuiEXT() and _mesa_ClearColorIiEXT()
- mesa: _mesa_is_format_integer() function
- mesa: minor reformatting, clean-ups
- mesa: added _mesa_is_fragment_shader_active() helper
- mesa: new glDrawPixels error check for integer formats
- softpipe: added some texture sample debug code (disabled)
- mesa: added new gl_extensions::EXT_gpu_shader4 field
- mesa: added new gl_framebuffer::_IntegerColor field
- mesa: added glGet query for GL_RGBA_INTEGER_MODE_EXT
- mesa: compute _IntegerColor field in _mesa_test_framebuffer_completeness()
- mesa: added cases for GL_EXT_texture_integer formats
- mesa: added cases for GL_EXT_texture_integer
- st/mesa: add format selection for signed/unsigned integer formats
- mesa: simplify target_can_be_compressed() function
- glapi: GL_EXT_texture_integer API
- glapi: include/build EXT_texture_integer.xml
- mesa: regenerated API files for GL_EXT_texture_integer
- mesa: plug in GL_EXT_texture_integer functions
- mesa: display list support for GL_EXT_texture_integer
- st/mesa: be smarter choosing texture format for glDrawPixels()
- softpipe: remove >32bpp color restriction
- mesa: silence enum comparison warning
- mesa: fix uninitialized var warning
- xlib: silence unused var warning
- util: use pointer_to_func() to silence warning
- rtasm: use pointer_to_func() to silence warning
- translate: use function typedefs, casts to silence warnings
- translate: remove unused prototypes
- mesa: additional glReadPixels error checks for GL_EXT_texture_integer
- mesa: additional switch cases for GL_EXT_texture_integer
- mesa: additional teximage error checks for GL_EXT_texture_integer
- mesa: do integer FB / shader validation check in _mesa_valid_to_render()
- mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmap
- mesa: remove the unused _mesa_is_fragment_shader_active() function
- mesa: fix bug in _mesa_is_format_integer()
- mesa: rename function to _mesa_is_format_integer_color()
- mesa: remove 'normalized' parameter from _mesa_VertexAttribIPointer()
- vbo: re-indent file
- glapi: xml spec file for GL_EXT_gpu_shader4
- glapi: include EXT_gpu_shader4.xml
- glapi: regenerated API files
- mesa: plug in stubs for glBindFragDataLocation(), glGetFragDataLocation()
- mesa: add glGetUniformuiv(), plug in uint glUniform funcs
- mesa: plug in more GL_EXT_gpu_shader4 functions
- mesa: add new GLvertexformat entries for integer-valued attributes
- mesa: implement integer-valued vertex attribute functions
- mesa: add gl_client_array::Integer field and related vertex array state code
- mesa: consolidate glVertex/Color/etcPointer() code
- mesa: state/queries for GL_MIN/MAX_PROGRAM_TEXEL_OFFSET_EXT
- mesa: glArrayElement support for integer-valued arrays
- mesa: clean-up array element code
- mesa: add extension table entry for GL_EXT_gpu_shader4
- mesa: remove obsolete comment
- mesa: fix incorrect type in _mesa_texstore_rgba_int16()
- mesa: fix integer cases in _mesa_is_legal_format_and_type()
- mesa: add const qualifier to _mesa_is_legal_format_and_type()
- mesa: additional integer formats in _mesa_bytes_per_pixel()
- mesa: pixel transfer ops do not apply to integer-valued textures
- mesa: remove dead code
- osmesa: fix renderbuffer memleak in OSMesaMakeCurrent()
- mesa: use GLubyte for edge flag arrays
- mesa: move the gl_config struct declaration
- dri/util: add a bunch of comments
- mesa: remove always-false conditional in check_compatible()
- mesa: fix aux/accum comment and error message mixups
- llvmpipe: assign context's frag shader pointer before using it
- llvmpipe: add a cast
- mesa: silence new warnings in texobj.c
- egl/gdi: fix typo: xsurf->gsurf
- mesa: code to unpack RGBA as uints
- gallivm: implement scatter stores into temp register file
- gallivm: add some LLVM var labels
- gallivm: added debug code to dump temp registers
- gallivm: add pixel offsets in scatter stores
- gallivm: added lp_elem_type()
- gallivm: implement execution mask for scatter stores
- tgsi: remove unused function
- llvmpipe: added some debug assertions, but disabled
- gallivm: alloca() was called too often for temporary arrays
- gallivm: add const qualifiers, fix comment string
- softpipe: disable vertex texturing with draw/llvm
- mesa: consolidate pixel packing/unpacking code
- mesa: rename vars in pixel pack/unpack code
- mesa: implement uint texstore code
- mesa: remove stray GL_FLOAT case in _mesa_is_legal_format_and_type()
- mesa: make fixed-pt and byte-valued arrays a runtime feature
- softpipe: can't no-op depth test stage when occlusion query is enabled
- mesa: no-op glBufferSubData() on size==0
- mesa: #include mfeatures.h in enums.h
- mesa: improve error message
- mesa: add missing formats in _mesa_format_to_type_and_comps()
- mesa: handle more pixel types in mipmap generation code
- mesa: make glIsBuffer() return false for never bound buffers
- mesa: fix glDeleteBuffers() regression
- tdfx: s/Format/_BaseFormat/
- mesa: consolidate assertions in teximage code
- radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2()
- r600: set gl_texture_image::TexFormat field in r600SetTexBuffer2()
- r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2()
- r300: set gl_texture_image::TexFormat field in r300SetTexBuffer2()
- evergreen: set gl_texture_image::TexFormat field in evergreenSetTexBuffer()
- st/mesa: fix glDrawPixels(depth/stencil) bugs
- glsl: fix assorted MSVC warnings
- mesa: add more work-arounds for acoshf(), asinhf(), atahf()
- glsl: remove opt_constant_expression.cpp from SConscript
- mesa: fix error messages and minor reindenting
- mesa: whitespace cleanups
- mesa: 80-column wrapping
- mesa: reorder texture_error_check() params
- mesa: minor clean-ups in context code
- mesa: upgrade to glext.h version 66
- mesa: pass gl_format to _mesa_init_teximage_fields()
- mesa: fix error msg typo
- glapi: rename GL3.xml to GL3x.xml as it covers all GL 3.x versions
- mesa: hook up GL 3.x entrypoints
- docs: update some GL 3.0 status
- mesa: fix get_texture_dimensions() for texture array targets
- swrast: init alpha value to 1.0 in opt_sample_rgb_2d()
- glsl: fix off by one in register index assertion
- glsl: use gl_register_file in a few places
- mesa: rename, make _mesa_register_file_name() non-static
- mesa: _mesa_valid_register_index() to validate register indexes
- mesa: replace #defines with new gl_shader_type enum
- mesa: use gl_shader_type enum
- glsl: better handling of linker failures
- glsl: start restoring some geometry shader code
- mesa: add assertion and update comment in _mesa_format_image_size()
- mesa: added _mesa_format_image_size64()
- x11: remove test_proxy_teximage() function
- st/mesa: fix mapping of zero-sized buffer objects
- gallivm/llvmpipe: squash merge of the llvm-context branch
- mesa: raise max texture sizes to 16K
- softpipe: increase max texture size to 16K
- mesa: replace large/MAX_WIDTH stack allocations with heap allocations
- mesa: replace large/MAX_WIDTH stack allocations with heap allocations
- swrast: avoid large stack allocations in blend code
- swrast: avoid large stack allocations in tex combine code
- st/mesa: avoid large stack allocations in readpixels code
- mesa: replace more MAX_WIDTH stack allocations with heap allocations
- gallivm/llvmpipe: remove lp_build_context::builder
- gallivm: fix null builder pointers
- mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query
- mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type
- llvmpipe: fix broken stencil writemask
- mesa: consolidate some compiler -D flags
- swrast: allow GL_RG format in glDrawPixels()
- swrast: fix indentation
- swrast: accept GL_RG in glReadPixels()
- swrast: restructure some glReadPixels() code
- mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUM
- mesa: remove unneeded cast
- mesa: update comments, remove dead code
- st/mesa: new comment about updating state vars
- mesa: add error margin to clip mask debug/check code
- gallium/util: minor formatting fixes
- mesa/llvm: use llvm-config --cppflags
- st/mesa: fix mipmap generation bug
- mesa: test for cube map completeness in glGenerateMipmap()
- mesa: set gl_texture_object::_Complete=FALSE in incomplete()
- mesa: consolidate glTexImage1/2/3D() code
- mesa: simplify proxy texture code in texture_error_check()
- mesa: consolidate the glTexSubImage1/2/3D() functions
- mesa: consolidate glCopyTexImage1/2D() code
- mesa: consolidate glCopyTexSubImage1/2/3D() functions
- mesa: consolidate glCompressedTexImage1/2/3D() functions
- mesa: make _mesa_test_proxy_teximage() easier to read
- configure: use llvm-config --cppflags instead of --cflags
- mesa: revamp error checking for compressed texture images
- mesa: simplify target checking for TexImage functions
- draw/llvm: don't flush in vs_llvm_delete()
- tnl: Initialize gl_program_machine memory in run_vp.
- tnl: a better way to initialize the gl_program_machine memory
- mesa, st/mesa: disable GL_ARB_geometry_shader4
- mesa/meta: fix broken assertion, rename stack depth var
- glsl: new glsl_strtod() wrapper to fix decimal point interpretation
- st/mesa: fix renderbuffer pointer check in st_Clear()
Brian Rogers (1):
- mesa: Add missing else in do_row_3D
Chad Versace (25):
- intel_extensions: Add ability to set GLSL version via environment
- glsl: Add glsl_type::uvecN_type for N=2,3
- glsl: Add lexer rules for uint and uvecN (N=2..4)
- glsl: Changes in generated file glsl_lexer.cpp
- glsl: Add lexer rules for << and >> in GLSL 1.30
- glsl: Change generated file glsl_lexer.cpp
- glsl: Implement ast-to-hir for binary shifts in GLSL 1.30
- glsl: Implement constant expr evaluation for bitwise-not
- glsl: Implement constant expr evaluation for bit-shift ops
- glsl: Implement constant expr evaluation for bitwise logic ops
- glsl: Fix ir validation for bit logic ops
- glsl: Define shift_result_type() in ast_to_hir.cpp
- glsl: Implement ast-to-hir for bit-shift-assignment
- glsl: Define bit_logic_result_type() in ast_to_hir.cpp
- glsl: Implement ast-to-hir for bit-logic ops
- glsl: Fix lexer rule for ^=
- glsl: Commit generated file glsl_lexer.cpp
- glsl: Fix ast-to-hir for ARB_fragment_coord_conventions
- mesa: Fix C++ includes in sampler.cpp
- glsl: Fix ir_expression::constant_expression_value()
- glsl: Fix erroneous cast in ast_jump_statement::hir()
- glsl: Fix Doxygen tag file in recently renamed files
- glsl: Improve usage message for glsl_compiler
- glsl: Fix linker bug in cross_validate_globals()
- glsl: In ast_to_hir, check sampler array indexing
Chia-I Wu (149):
- glapi: Fix build errors for ES.
- glapi: Fix ES build errors again.
- mesa: Update ES APIspec.xml.
- st/xlib: Notify the context when the front/back buffers are swapped.
- targets/egl: Use C++ compiler to link GL/ES state trackers.
- libgl-xlib: Remove unused st_api_create_OpenGL.
- st/egl: Split modeset code support to modeset.c.
- st/egl: Rename kms backend to drm.
- st/egl: s/kms/drm/ on the drm backend.
- egl: Enable drm platform by default.
- egl: Check extensions.
- st/egl: Skip single-buffered configs in EGL.
- mapi: Fix compiler warnings.
- st/egl: Drop context argument from egl_g3d_get_egl_image.
- targets/egl: Fix linking with libdrm.
- st/vega: Fix version check in context creation.
- egl: Use attribute names as the _EGLConfig member names.
- egl: Access config attributes directly.
- st/egl: Access _EGLConfig directly.
- st/egl: Do not finish a fence that is NULL.
- mesa: Remove unused vtxfmt_tmp.h.
- egl_dri2: Drop the use of _egl[SG]etConfigKey.
- egl_glx: Drop the use of [SG]ET_CONFIG_ATTRIB.
- egl_glx: Fix borken driver.
- egl: Move attributes in _EGLImage to _EGLImageAttribs.
- egl: Parse image attributes with _eglParseImageAttribList.
- egl: Move fallback routines to eglfallbacks.c.
- egl: Drop dpy argument from the link functions.
- egl: Minor changes to the _EGLConfig interface.
- egl: Minor changes to the _EGLScreen interface.
- egl: Fix _eglModeLookup.
- st/egl: Fix native_mode refresh mode.
- egl: Add reference count for resources.
- egl: Use reference counting to replace IsLinked or IsBound.
- egl: Fix a false negative check in _eglCheckMakeCurrent.
- st/egl: Use resource reference count for egl_g3d_sync.
- egl_dri2: Fix a typo that make glFlush be called at wrong time.
- glapi: Do not use glapidispatch.h.
- glapi: Move glapidispatch.h to core mesa.
- glapi: Do not use glapioffsets.h.
- glapi: Merge glapioffsets.h into glapidispath.h.
- vbo: Use CALL_* macros.
- mesa: Remove unnecessary glapitable.h includes.
- autoconf: Better client API selection.
- docs: Update egl and openvg docs.
- autoconf: Update configuration info.
- Merge branch 'glapi-reorg'
- targets: Add missing quotes to Makefile.xorg.
- autoconf: st/vega requires --enable-openvg.
- st/mesa: Unreference the sampler view in st_bind_surface.
- autoconf: Tidy configure output for EGL.
- targets/egl: Fix a warning with --disable-opengl build.
- egl: Rework _eglGetSearchPath.
- mesa: Select FEATURE_remap_table when multiple APIs are enabled.
- mesa: Allow contexts of different APIs to coexist.
- egl: Set up the pthread key even TLS is used.
- st/egl: Add native_surface::present callback.
- st/egl: Use native_surface::present callback.
- d3d1x: Use native_surface::present.
- st/egl: Remove flush_frontbuffer and swap_buffers.
- st/egl: Add support for swap interval and swap behavior.
- st/egl: Add support for EGL_MATCH_NATIVE_PIXMAP.
- st/egl: Add extern "C" wrapper to native.h.
- st/egl: Add native_display_buffer interface.
- st/egl: Use native_display_buffer for EGL_MESA_drm_image.
- autoconf: Add --enable-gallium-egl.
- docs: Update egl docs.
- st/dri: Add support for surfaceless current contexts.
- egl_dri2: Fix __DRI_DRI2 version 1 support.
- st/vega: Do not wait NULL fences.
- gallium: Add st_api::name.
- gallium: Add st_context_iface::share to st_api.
- st/wgl: Use st_context_iface::share for DrvShareLists.
- st/glx: Replace MESA_VERSION_STRING by xmesa_get_name.
- mesa: Clean up core.h.
- scons: Define IN_DRI_DRIVER.
- tgsi: Add STENCIL to text parser.
- st/vega: vegaLookupSingle should validate the state.
- st/vega: Set wrap_r for mask and blend samplers.
- st/vega: Fix vgReadPixels with a subrectangle.
- egl_dri2: Fix one context, multiple surfaces.
- auxiliary: util_blit_pixels_tex should restore the viewport.
- st/vega: Fix a crash with empty paths.
- st/vega: Masks and surfaces should share orientation.
- st/vega: No flipping in vg_prepare_blend_surface.
- st/vega: Fix a typo in EXTENDED_BLENDER_OVER_FUNC.
- llvmpipe: Fix build errors on x86.
- st/vega: Overhaul renderer with renderer states.
- st/vega: Add DRAWTEX renderer state.
- st/vega: Add SCISSOR renderer state.
- st/vega: Add CLEAR renderer state for vgClear.
- st/vega: Add FILTER renderer state for image filtering.
- st/vega: Use the renderer for vgMask.
- st/vega: Add POLYGON_STENCIL and POLYGON_FILL renderer state.
- st/vega: Delay fb state update to vg_validate_state.
- st/vega: Use st_framebuffer for fb width/height.
- st/vega: Move g3d states to renderer.
- st/vega: Make shader_bind call into the renderer.
- st/vega: vg_manager should care about only the color buffer.
- st/vega: Clean up vg_context fields and functions.
- st/vega: Clean up renderer fields and functions.
- st/vega: vg_copy_texture and vg_copy_surface should share code.
- st/vega: Get rid of renderer_copy_texture.
- st/vega: Update to latest headers.
- st/vega: Fix image sampler views for alpha-only formats.
- st/vega: Make path_render and path_stroke take a matrix.
- st/vega: Make image_draw take a matrix.
- st/vega: Add primitive text support.
- st/vega: Revive mask layer support.
- st/vega: More flexible shader selection.
- st/vega: Add color transformation support.
- st/vega: Bump version to 1.1.
- st/vega: Fix paint coordinates transformations.
- st/vega: Fix negated logic in image_draw.
- st/vega: Fix degenerate paints.
- st/vega: Simplify radial gradient.
- st/vega: Remove st_inlines.h.
- st/vega: Delay blend texture creation until needed.
- st/vega: Create drawing surface mask as needed.
- st/vega: Initialize pipe states with renderer.
- st/vega: Avoid unnecessary constant bufer upload.
- st/vega: Destroy the pipe context with vg_context.
- st/vega: polygon_array requires a deep free.
- st/egl: Set pipe_resource::array_size to 1.
- st/vega: Set pipe_resource::array_size to 1.
- st/vega: Move vertex transformation to shader.
- st/vega: Add a missing break.
- st/vega: Add some comments to pipeline shaders.
- st/vega: Refactor blend shaders.
- st/vega: Move masking after blending.
- st/vega: Add support for per-channel alpha.
- st/vega: Blending should use premultiplied alpha.
- st/vega: Fix VG_BLEND_MULTIPLY.
- st/vega: Add blend shaders for all blend modes.
- st/vega: Fix pipe blend state for various blend modes.
- egl: _eglFilterArray should not allocate.
- mapi: Rewrite mapi_abi.py to get rid of preprocessor magic.
- vbo: Drop second ATTR macro.
- vbo: Fix GLES2 glVertexAttrib.
- mesa: Do not advertise GL_OES_texture_3D.
- mesa: Fix GL_FIXED arrays.
- mesa: Fix glTexCoordPointer with type GL_FIXED.
- st/egl: Plug pbuffer leaks.
- st/egl: Fix eglCopyBuffers.
- st/egl: Assorted fixes for dri2_display_get_configs.
- docs/egl: Update ../egl.html.
- st/egl: Fix eglChooseConfig when configs is NULL.
- docs: Add an example for EGL_DRIVERS_PATH.
- autoconf: Fix --with-driver=xlib --enable-openvg.
Chris Wilson (2):
- i915g: Fix closure of full batch buffers
- intel: Check for unsupported texture when finishing using as a render target
Christoph Bumiller (80):
- nv50: import new compiler
- nouveau: update nouveau_class.h
- nv50: introduce the big formats table
- nv50: don't produce MOV immediate to output reg in store opt
- nv50: change back accidentally swapped UNORM,SNORM vertex type
- nv50: add/fix some license headers
- nv50: simple reload elimination and local CSE
- nv50: fix constant_operand opt mul by 2 case
- nv50: permit usage of undefined TGSI TEMPs
- nv50: add missing 2nd source for POW multiplication
- nv50: add signed RGTC1 to format table, allow 2_10_10_10 for vbufs
- nv50: fix for empty BBs
- nv50: insert MOVs also for PHI sources from dominating block
- nv50: explicitly set src type for SET ops
- nv50: fixes for nested IFs
- nv50: don't eliminate loads to dedicated values
- nv50: fix constbuf validation
- nv50: build proper phi functions in the first place
- nv50: fix reg count
- nv50: begin implementing loops
- nv50: more constant folding
- nv50: loops part 2
- nv50: flatten simple IF/ELSE/ENDIF constructs
- nv50: fix thinko in store to output reg possible check
- nv50: generate JOINs for outermost IF clauses
- nv50: more TGSI opcodes (SIN, SCS, ARL, RET, KILP)
- nv50: fix PSIZ and PRIMID mapping
- nv50: check dst compatibility in CSE
- nv50: initialize edgeflag input index
- nv50: emit predicate for interp
- Merge remote branch 'origin/master' into nv50-compiler
- nv50: DP2, fix ARL
- nv50: yet another case we need a nop.exit
- nv50: fix check for sprite/point coord enable
- nv50: handle TEXTURE_SWIZZLE and GEOMETRY_SHADER4 caps
- nv50: set the FragDepth output index
- nv50: turn off verbose debug output by default
- nv50: attempt at making more complicated loops work
- nv50: SSG
- nv50: make FrontFacing -1 or +1
- nv50: re-add proper TEXBIAS sequence
- nv50: make use of TGSI immediate type
- nv50: must join SELECT inputs before MOV inputs
- nv50: fix XPD, was negated
- nv50: fix find_dom_frontier
- nv50: fix build-predicate function
- Merge remote branch 'origin/master' into nv50-compiler
- nv50: load address register before using it, not after
- nv50: save tgsi instructions
- nv50: prepare for having multiple functions
- nv50: don't parse again in tgsi_2_nc
- nv50: use actual loads/stores if TEMPs are accessed indirectly
- nv50: create value references with the right type
- nv50: duplicate interps in load_proj_tex_coords
- nv50: address regs are 16 bit
- nv50: fix can_load check for 3rd source
- nv50: reduce bb_reachable_by runtime from pot to linear
- nv50: minor compiler fixes and cleanups
- nv50: cannot move from local mem to output reg directly
- nv50: newlines in shader bincode printing
- nv50: match TEMP limit with nv50 ir builder
- nv50: handle TGSI EXP and LOG again
- nv50: check for immediates when turning MUL ADD into MAD
- nv50: interp cannot write flags reg
- nv50: MOV TEMP[0], -CONST[0] must be float32 negation
- nv50: fix indirect CONST access with large or negative offsets
- nv50: fix TXP depth comparison value
- nv50: consider address register in reload elimination
- nv50: improve and fix modifier folding optimization
- nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNT
- Merge remote branch 'origin/nv50-compiler'
- nv50: don't segfault on shaders with 0 instructions
- nv50: get shader fixups/relocations into working state
- nv50: add relocs for stack and local mem buffers
- nv50: emit constbuf relocs before uploading constants
- nv50: fix typo in fifo packet length limit
- nv50: use formats table in nv50_surface.c
- nv50: use CLEAR_BUFFERS for surface fills
- nv50: fix/handle a few more PIPE_CAPs
- nv50: fix GP state bind and validate
Corbin Simpson (8):
- r600g: Use align() instead of handrolled code.
- r600g: Trivially deobfuscate r600_hw_states.
- r600g: Deobfuscate and comment a few more functions in r600_hw_states.
- r600g: Clean up some indentation and |= vs. | usage.
- r600g: Fix false and true.
- r600g: "tmp" is such a bad name for a texture.
- r600g: Clean up PS setup.
- r600g: Cleanup viewport floats.
Daniel Lichtenberger (1):
- radeon: fix potential segfault in renderbuffer update
Daniel Vetter (21):
- r200: revalidate after radeon_update_renderbuffers
- i915g: rip out ->sw_tiled
- i915g: s/hw_tiled/tiling
- i915g: add pineview pci ids
- i915g: kill RGBA/X formats
- i915g: kill buf->map_gtt
- i915g: kill idws->pool
- i915g: drop alignment parameter from iws->buffer_create
- i915g: add winsys function to create tiled buffers
- i915g: switch to tiled allocations, kill set_fence
- i915g: prepare winsys/batchbuffer for execbuf2
- i915g: return tiling in iws->buffer_from_handle
- i915g: implement unfenced color&depth buffer using tiling bits
- i915g: implement unfenced relocs for textures using tiling bits
- i915g: postpone mipmap/face offset calculation
- i915g: don't pot-align stride for tiled buffers
- i915g: enable X-tiling for textures
- i915g: switch rendering to mipmapped textures to (x,y) offsets
- i915g: enable x-tiling for render targets
- i915g: assert(depth_surface->offset == 0)
- i915g: track TODO items
Dave Airlie (182):
- r300g: fix buffer reuse issue caused by previous commit
- r600g: pull r600_draw struct out into header
- r600g: use index min/max + index buffer offset.
- r600g: add vgt dma src defines
- r600g: fixup texture state on evergreen.
- r600g: fix texture bos and avoid doing depth blit on evergreen
- r600g: hide radeon_ctx inside winsys.
- r600g: attempt to abstract kernel bos from pipe driver.
- r600g: move constant buffer creation behind winsys abstraction.
- r600g: use malloc bufmgr for constant buffers
- r600g: add support for kernel bo
- r600g: add winsys bo caching.
- r600g: add upload manager support.
- r600g: fixup map flushing.
- r600g: use calloc for ctx bo allocations
- r600g: oops got the use_mem_constant the wrong way around.
- r600g; add uses waterfall to asm cf for r6xx.
- r600g: only emit uses waterfall on r6xx hw.
- util/r300g: split the r300 index buffer modifier functions out to util
- r600g: modify index buffers for sizes the hw can't deal with.
- r600g: send correct surface base update for multi-cbufs
- r600g: fix fbo-drawbuffers-maxtargets
- r600g: clean up valgrind issues on maxtargets test.
- r600g: drop debugging that snuck in
- r600g: fix tiling support for ddx supplied buffers
- r600g: add z16 to color setup
- r600g: add color/texture support for more depth formats.
- r600g: fix r700 cube map sizing.
- r600g: fixup r700 CB_SHADER_CONTROL register.
- r600g: add missing BC_INST wrapper for evergreen
- r600g: only flush for the correct colorbuffer, not all of them.
- r600g: deal with overflow of VTX/TEX CF clauses.
- r600g: set back to correct codepaths.
- r600g: fixup evergreen miptree setup.
- r600g: fix eg texture borders.
- r600g: fix typo in struct member name
- r600g: cleanup some of the DB blit code
- r600g: make stencil readback work
- r600g: disable dirty handling on texture from depth code.
- r600g: use floats instead of hex for blit vbo
- r600g: fix depth readback on rv610 and other quirky variants.
- r600g: fix typo in evergreen register list
- u_blitter: add a custom blitter call passing a dsa cso
- r600g: use blitter to do db->cb flushing.
- r600g: fix warnings since last commit.
- egl: fix build since 17eace581d25a626a7d75d9d1205d012cbb14a6e
- r300g: fix point sprite coord.
- r600g: add vert support for 16/16 and 16/16/16 floats.
- r600g: add some more vertex format support.
- r600g: some more vertex formats
- r600g: fix draw-elements and draw-elements-base-vertex
- r600g: drop index_offset parameter to index buffer translate.
- r600g: fixup tex wrapping.
- r600g: fixup VP->FP output->input routing.
- r600g: fix typo in r700 alu emit
- r600g: fixup sprite coord enable.
- r600g: fix polygon mode
- mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0
- r600g: add eg poly mode code.
- r600g: make index bias fix for evergreen
- r600g: add eg db count control register.
- r300g: fix glsl-fs-pointcoord
- r600g: add evergreen texture resource properly.
- r600g: fix db flush breaking config state
- r600g: on evergreen the centroid isn't set in this register.
- r600g: add back evergreen name.
- r600g: add evergreen texture border support to new path
- r600g: move radeon.h members around to add back map flushing.
- r600g: add initial vertex translate support.
- r600g: remove old assert from new codepath
- Revert "r600g: add initial vertex translate support."
- r600g: port r300g fix for X* formats in texformat code
- r600g: add L8A8 unorm.
- r600g: clean up some code from move to new paths.
- r600g: return string for chip family
- r600g: use Elements macro instead of manual sizeofs
- r600g: fix evergreen depth flushing.
- r600g: add winsys support for CTL constants.
- r600g: drop depth quirk on evergreen
- r600g: add reloc for evergreen color attrib
- r600g: realign evergreen code with r600 code.
- r600g: add assembler support for other vtx fetch fields.
- r600g: fixup vertex format picking.
- r600g: sync vertex/texture cache on resources on evergreen
- r600g: add cb flushing for extra buffers + depth buffer on r600/evergreen
- r600g: fix evergreen draw-buffers
- r600g: flush SH cache on constant change on evergreen
- r600g: only set the Z export if shader exports it.
- r600g: setup basic loop consts on r600 + evergreen.
- mesa/st: initial attempt at RG support for gallium drivers
- r600g: break out of search for reloc bo after finding it.
- r600g: the code to check whether a new vertex shader is needed was wrong
- r600g: fix wwarning in bo_map function
- r600g: TODO domain management
- r600g: add bo fenced list.
- pb: don't keep checking buffers after first busy
- r600g: add bo busy backoff.
- r600g: drop mman allocator
- r600g: drop use_mem_constant.
- r600g: avoid unneeded bo wait
- pb: fix numDelayed accounting
- r600g: add evergreen stencil support.
- r600g: use format from the sampler view not from the texture.
- r600g: fix Z export enable bits.
- r600g: add some RG texture format support.
- r600g: drop width/height per level storage.
- r600g: fix input/output Z export mixup for evergreen.
- r600g: evergreen has no request size bit in texture word4
- r600g: enable vertex samplers.
- r600g: add TXL opcode support.
- r600g: don't run with scissors.
- r600g: fix typo in vertex sampling on r600
- gallium/tgsi: add support for stencil writes.
- gallium/format: add support for X24S8 and S8X24 formats.
- gallium/format: add X32_S8X24_USCALED format.
- gallium/util: add S8 tile sampling support.
- mesa: add support for FRAG_RESULT_STENCIL.
- mesa: improve texstore for 8/24 formats and add texstore for S8.
- softpipe: add support for shader stencil export capability
- st/mesa: add option to choose a texture format that we won't render to.
- st/mesa: use shader stencil export to accelerate shader drawpixels.
- r600g: add support for S8, X24S8 and S8X24 sampler formats.
- r600g: add shader stencil export support.
- glsl: add support for shader stencil export
- st/mesa: enable stencil shader export extension if supported
- r600g: fix depth0 setting
- r600g: fix scissor/cliprect confusion
- r600g: store samplers/views across blit when we need to modify them
- r600g: reduce size of context structure.
- r600g: the vs/ps const arrays weren't actually being used.
- r600g: add copy into tiled texture
- r600g: split out miptree setup like r300g
- r600g: use common texture object create function
- r600g: rename pitch in texture to pitch_in_bytes
- r600g: remove bpt and start using pitch_in_bytes/pixels.
- r600g: fix transfer stride.
- r600g: drop all use of unsigned long
- r600g: use blitter for hw copy region
- r600g: evergreen add stencil export bit
- r600g: add missing eg reg definition
- r600g: fix stencil export for evergreen harder
- r600g: drop unused context members
- r600g: only pick centroid coordinate when asked.
- r600g: fixup pos/face ena/address properly
- r600g: fixup typo in macro name
- r600g: select linear interpolate if tgsi input requests it
- r300g: clean up warning due to unknown cap.
- tgsi: add scanner support for centroid inputs
- r600g: evergreen interpolation support.
- r600g: add evergreen ARL support.
- r600g: switch to a common formats.h file since they are in different regs
- r600g: add defines for tiling
- r600g: get tiling info from kernel
- r600g: set tiling bits in hw state
- r600g: do proper tracking of views/samplers.
- r600g: fix typo in tiling setup cb code.
- r600g: depth needs to bound to ds
- r600g: attempt to cleanup depth blit
- r600g: fix transfer function for tiling.
- r600g: retrieve tiling info from kernel for shared buffers.
- r600g: all non-0 mipmap levels need to be w/h aligned to POT.
- r600g: move to per-miplevel array mode.
- r600g: start adding hooks for aligning width/height for tiles.
- r600g: add r600 surface to store the aligned height.
- r600g: introduce a per-driver resource flag for transfers.
- r600g: add texture tiling alignment support.
- r600g: add texture tiling enable under a debug option.
- r600g: initial translate state support
- r600g: start splitting out common code from eg/r600.
- r600g: not fatal if we can't get tiling info from kernel
- r600g: merge more of the common r600/evergreen state handling
- r600g: drop more common state handling code
- r600g: fix magic 0x1 ->flat shade ena
- r600g: add assembler suppor