Tag '7.11-branchpoint' created by Eric Anholt <e...@anholt.net> at 2014-03-28 07:04 +0000
Mesa 7.11 branchpoint -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABCAAGBQJTNR7uAAoJELXWKTbR/J7o7PoP/2bR7vMngSrSDqxy1Tluu5dy yj0CNSSa1lkFY3uq/Ps3e5aS7JoJtmNXu9TljxxXtgCqa7GWi6SjI3sx0F8/SfWO QluavAxjagjgXP3SRz/11MDhH80t52mi1ShL0lentB0fhKB89vDmFHUuSEnfOZ8f LzG/OWjm49QXTS8KnapnSFyVKs8MgHxnzpIautDa74f3L2CfAse1MzZArDbQUIMr 2XfOx2FVNMysGzfRB+ctnuYjpRFpeAA2jcWxKnSsg03HREUg71R2f0Rv7uEuF1TW pZOlqt/Oi79YXeVL9j2MuPBBNpnqZIOnDMBuOJAXGEPkNg6RWRVyfQA0Mpjv+Lmo 0OqeT7efWsAhxxwIIBCLr/B3d6xLx/kp9+M1jBlNJGfZmmmUCOP3rt+4hP0ESwMN bER1NGb4Eb4YqTqXttZ3QLA3ovTrkgVWL6aroIr+nlUXOGj/uYIjNkZcqoUYPXBj YdpX+MKLiwPkHgEebH6gZ9aVaQvc1JTa9Y3o8Y+HqePPw+ueqkvSgb2ELl3vOgB7 dbdqB9N5KhiJQWZhbXHYswpd/hs0snYdoLqj2BqIHDTMJ11DPFGnKGlfACZZ8mF1 Vnqq28jv8PB82GUX4mM5td3Sa+jGAR6tj9CnIqlNlxZwyoWvqQhdQ8iK3q8l3wF1 2ZSHE00sRXHbCl6NuzxG =vamR -----END PGP SIGNATURE----- Changes since 7.10-branchpoint: Adam Jackson (13): swrastg: Add __DRI_TEX_BUFFER support r600: Build fix nouveau: Build fix r600g: revert unintentional commit mesa: Fix return type of _mesa_get_format_bytes() (#37351) drisw: dead store removal drisw: Namespace better for ease of navigation glx: Remove some misleading comments glx: More comment cleanup glx: Don't refer to the request buffer outside of {L,Unl}ockDisplay glx: Fix another case of using req outside of the display lock glx: Remove (unused, broken) fastImageUnpack fast path llvmpipe: SSE2 fastpaths for b8g8r8x8 {un,}swizzle Alan Coopersmith (2): Fix GET_PROGRAM_NAME() on Solaris to not try to modify a read-only string Make st_pipe_vertex_format return type in st_draw.h match st_draw.c Alan Hourihane (1): Check for out of memory when creating fence Alberto Milone (1): r600c: add evergreen ARL support. Alex Corscadden (2): util: Allow util_draw_texquad to draw quads with non-integer coordinates. util: Add remove to util_cache Alex Deucher (51): r600g: fix rendering with a vertex attrib having a zero stride r600g: remove useless switch statements r600g: support up to 64 shader constants r600g: add support for NI (Northern Islands) GPUs r600c: add support for NI asics r600c: fix up SQ setup in blit code for Ontario/NI r600g: pass r600_bc to some addition compiler helper functions r600g: compiler helper opcode fixes for evergreen r600g: FLT_TO_INT_FLOOR is trans instruction r600g: remove some non-existent evergreen reg fields r600g: fix OQ on evergreen r200: remove 0x4243 pci id egl_dri2: Add new radeon pci ids r600g: add alignment cases for linear aligned r600g: add missing evergreen INT_TO_FLT to r600_bc_get_num_operands r600g: truncate point sampled texture coordinates r600g: emit SURFACE_BASE_UPDATE packet on rv6xx r600g: Original R600 does not support per-MRT blends r600g: don't set per-MRT blend bits on R600 r600g: fix logic error in 028987c80362eddd39176628486a456b076f0427 r600c: add new ontario pci ids r600g: add some additional ontario pci ids r600c: add evergreen big endian support r600g: add evergreen+ big endian support r600g: fix userspace fences again r600g: add some new pci ids r600c: add some new pci ids r600g: fix cache flushes on r6xx r600g: further r6xx cache flush fixes r600g: fix up the rules for enabling SOURCE_FORMAT(EXPORT_NORM) r600g: add back SOURCE_FORMAT setting that get accidently dropped egl_dri2: add new radeon pci ids r600g: avoid recursion in rv670 flush workaround r600g: fix flushes on rs780/rs880 r600g: fix eg/cayman scissor workaround egl_dri2: add new cayman pci ids r600g: remove duplicate opcode in r600_opcodes.h r600g: cs init fixes r600g: add llano support r600c: add support for llano r600g: always clear query memory r600g: remove pre-r6xx asic families and pci ids r600g: fix mixup in GPR resource reg setup r600g: Handle CONFIG regs properly r600g: VGT_PRIMITIVE_TYPE is special r600c: add tiling support for evergreen+ r600g: fix fbo depth/stencil texture allocation for evergreen+ r600g: fix num_banks interpretation on eg+ r600c: add missing bank tiling case for evergreen r600g: eg+ support for FS_COLOR0_WRITES_ALL_CBUFS r600g: limit fs_write_all shader rebuild to eg+ Alon Levy (1): gallium/tests/trivial: make it build Andre Maasikas (7): r600c: use STATE_FB_WPOS_Y_TRANSFORM variable to do wpos transform r600: set border color as RGBA r600c: preserve correct buffer when using fbo r600c: bump sq gpr resources if a shader needs more than default r600c: get OQ results only for 4 DBs on r600 class r600c: only colors can be flat shaded r600c: use BASE_VTX_LOC & AUTO_INDEX for drawing nonindexed with offset Andreas Faenger (2): swrast: anisotropic filtering extension softpipe: Anisotropic filtering extension. Andy Skinner (1): xlib: pass Display pointer to XMesaGarbageCollect() Arkadiusz Miskiewicz (1): glsl/Makefile: Remove builtin_function.cpp if generation fails. Bas Nieuwenhuizen (1): r600g: don't flush caches if we already did so, even for a subset of the flags Ben Skeggs (29): nvfx: fix fragprog word swapping on big-endian machines nouveau: fix includes for latest libdrm Merge remote branch 'origin/master' into nvc0-new nvc0: fence.bo is mappable, mark it as such nvc0: BEGIN_RING->BEGIN_RING_NI in a couple of places nvc0: remove unused 'buf' parameter in pipe_buffer_unmap drm/nvc0: don't un-bind every subchannel on init nvc0: fix mp_stack_bo relocation nvc0: disable calling of sw methods we don't implement dri/nouveau: allow multiple maps of surface buffers nv50-nvc0: set cur_ctx during init if none currently bound nouveau: move nv50/nvc0 fencing to common location, and modify slightly nv50: move onto shared fence code nv50: make mm available as common code nouveau: fix compiler complaint nouveau: fix fence_ref() where fence and *ref are the same fence nouveau: create linear gart/vram mman in common screen init nouveau: common linear buffer manager, ported from nv50/nvc0 drivers nv50: move onto common linear buffer manager nv50: sync textures with render targets ourselves nv50: multiply polygon offset units by 2 nvc0: port to common fence/mm/buffer code nouveau: fix leak of nouveau_mman structs nouveau: ensure vbo_dirty is set when buffer write transfer complete nvc0: fix a crash on context destruction nouveau: remove nouveau_stateobj.h nouveau: allow pipe driver to define which buffers should start in sysmem dri/nouveau: fix gnome-shell segfault nvfx: nasty hack to make glFinish() actually finish.. Benjamin Bellec (2): mesa: faster logbase2 util: better logbase2/next_power_of_two implementations Benjamin Franzke (88): mesa: allow internalFormat=GL_BGRA_EXT in TexImage2D mesa/es: require internalFormat==format in TexImage2D st/mesa: support internalFormat=GL_BGRA in TexImage2D st/mesa: Enable EXT_texture_format_BGRA8888 for gles1/2 Add dri2::{Allocate,Release}Buffer extension st/dri: Implement dri2::{Allocate,Release}Buffer intel: Implement dri2::{Allocate,Release}Buffer egl: Add wayland platform egl: Implement libwayland-egl st/egl: native_helper: Add resource_surface_import_resource st/egl: drm_image: Check for MESA_drm_image st/egl: Add wayland platform egl_dri2: Enable pixmap bind_to_texture according to the extension egl_dri2: Export dri2_get_driver_for_fd egl_dri2: Add wayland platform st/egl: Fix platform selection st/egl wayland: Set color_format according to wl_visual st/dri: Fix surfaceless gl using contexts with previous bound surfaces st/dri: img_from_renderbuf: Fix incorrect usage of dri_context() st/dri: Set render_buffer in dri_fill_st_visual egl_dri2: Use double buffering for window surfaces egl_dri2: Always unbind old contexts egl_dri2 wayland: Sync front buffer release st/egl wayland: Sync front buffer release st/mesa: Fix surfaceless opengl with non-dummy contexts egl: Add EGL_WL_bind_wayland_display egl/wayland: build subdirs (wayland-drm) before depend egl_dri2 x11: Workaround device_name xcb-dri2 bug egl/wayland: Move wayland-egl into a subdir egl_dri2: Fix incompatible vfunc-pointer warning egl_dri2: Add attribute map for __DRI_ATTRIB_FRAMEBUFFER_SRGB_CAPABLE egl/wayland-drm: Fix include path egl/wayland: Update to per-surface frame events egl/wayland: Fix prefixes for interface names egl/wayland: Add new version parameter for post_drm egl_dri2: Create wl_buffers for pixmap surfaces st/egl: Update to wayland protocol,egl changes egl/wayland: Update to buffer.damage addition egl/wayland: Follow buffer.attach removal winsys: Add wayland shm sw winsys st/egl: Generalize wayland backend a bit st/egl: Add wayland shm softpipe support winsys/wayland: Fix typo in Makefile egl/wayland: Fix possible lockup in drm initialization egl/wayland-drm: Generalize interface egl/wayland: Follow wl_resource_destroy changes egl_dri2: Discard similar configs st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,wayland egl: Compile wayland-drm.a into libEGL independent of egl_dri2 st/egl/wayland: Deal with wayland visual changes st/dri: Support dri2 useflags in dri2_create_image st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESA wayland-egl: Remove left-over headers and struct egl_dri2: Fix usage of bool values st/egl: Fix udev linkage when egl_dri2 is not build Fiuxp make tarballs for wayland-egl/drm wayland-drm: Check visual for being NULL Add intel pci id lists Add radeon pci id lists egl_dri2: Use external driver pci list targets/egl: Support driver name lookup using pci lists radeon: Use pciid list to generate PCI_CHIP_<FAMILY>_<ID> defines r600g: Use radeon pciid list for the family lookup table r300g: Remove is_r3xx egl_dri2: Use libudev only if available egl_dri2: Add missing license egl_dri2: Add missing header egl_dri2/wayland: Add support for EGL_DEFAULT_DISPLAY st/eglwayland: Add support for EGL_DEFAULT_DISPLAY egl_dri2: Compare configs before matching them mapi: Fix tls with shared/es-glapi on x86-64 egl_dri2/x11: Check availability of the dri2 extension st/mesa: Invalidate drawables on context switch winsys/wayland: Fix warning egl_dri2/wayland: Hook up new buffer.release event st/egl/wayland: Take resize parameters only if size changes r600g: Add R8G8B8A8_UNORM to evergreen colorswap table dri: Add dupImage to DRIimageExtension intel: Implement DRIimageExtension::dupImage st/dri: Implement DRIimageExtension::dupImage Add gbm (generic/graphics buffer manager) gbm: Add dri backend gbm: Add gallium (drm) backend egl_dri2: Hookup gbm as drm platform st/egl: Hookup gbm for drm backend st/egl: Fix scons build configure: Disable drm egl platform by default egl_dri2: Build drm platform only if enabled Brian Paterni (1): r600g: silence a few valgrind warnings Brian Paul (469): gallium: added PIPE_CAP_INSTANCED_DRAWING st/mesa: GL_ARB_draw_instanced depends on PIPE_CAP_INSTANCED_DRAWING tgsi: add support for system values to TGSI interpreter tgsi: new tgsi_shader_info fields for system values tgsi/sse: add support for system values tgsi/ppc: add case for system values and assert mesa: add PROGRAM_SYSTEM_VALUE and related tokens mesa: program printing for PROGRAM_SYSTEM_VALUE glsl: add support for system values and GL_ARB_draw_instanced mesa: ir_to_mesa support for system values draw: setup instance ID for VS interpreter draw: setup instance ID for SSE generator st/mesa: translate shader system inputs gallivm/llvmpipe: implement system values and instanceID softpipe: enable instanced drawing cap llvmpipe: enable instanced drawing cap draw/llvm: remove extraneous conditional draw/llvm: remove redundant comment draw/llvm: don't flush in vs_llvm_delete() mesa: implement system values in program interpreter tnl: implement instanced drawing mesa: enable GL_ARB_draw_instanced for software drivers mesa/meta: fix broken assertion, rename stack depth var tnl: a better way to initialize the gl_program_machine memory gallivm: store callbacks in a linked list rather than fixed size array mesa, st/mesa: disable GL_ARB_geometry_shader4 Squashed commit of the following (st-mesa-per-context-shaders branch): st/mesa: add comments, fix formatting in st_cb_program.c st/mesa: make st_delete_program() static st/mesa: minor re-indenting st/mesa: rename variable st/mesa: use st_fragment_program() instead of cast st/mesa: program struct comments st/mesa: add geom program code in destroy_program_variants() st/mesa: 80-columns wrapping, whitespace fixes in st_cb_bitmap.c st/mesa: rename the varient release functions gallivm: do texture swizzle after shadow compare glsl: new glsl_strtod() wrapper to fix decimal point interpretation tgsi: document texture opcodes mesa: more program debug code softpipe: do texture swizzle during texture sampling st/mesa: fix incorrect prev pointer in destroy_program_variants() st/mesa: s/varient/variant softpipe: s/varient/variant i915g: s/varient/variant/ i965g: s/varient/variant/ svga: s/varient/variant/ draw: s/varient/variant/ gallivm: work around LLVM 2.6 bug when calling C functions gallivm: fix copy&paste error from previous commit softpipe: fix depth texture sampling regression softpipe: remove sp_tex_tile_cache_border_color() egl: add missing case in _eglError() mapi: add missing newline in error message st/mesa: 80-column wrapping st/mesa: 80-column wrapping mesa: s/GLuint/gl_buffer_index/ st/mesa: fix renderbuffer pointer check in st_Clear() mesa: fix AL44 texture fetch function nybble -> float conversion osmesa: pass context to _mesa_update_framebuffer_visual() i965g: include brw_types.h instead of GL/gl.h st/mesa: skip glDrawPixels/glBitmap-related code for ES build glext: upgrade to version 67 mesa: fix a few format table mistakes, assertions mesa: do a debug check of _mesa_format_to_type_and_comps() mesa: include teximage.h to silence warning configure: bump libdrm version requirement to 2.4.23 noop: change var type to silence warning glsl: remove trailing comma to silence warning st/mesa: add st_BeginQuery() case for GL_ANY_SAMPLES_PASSED mesa: fix num_draw_buffers==0 in fixed-function fragment program generation mesa: don't assert in GetIntegerIndexed, etc mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT() egl: need stdio.h for non-Windows build too to avoid compiler warning docs: skeleton file for 7.11 release notes, add missing links glsl: fix implicit int to bool warning Merge branch 'draw-instanced' docs: document GL_ARB_draw_instanced st/mesa: move/consolidate an assignment draw: add missing LP_CHECK_MEMBER_OFFSET() glapi: GL_ARB_instanced_arrays support glapi: regenerated files mesa: support for GL_ARB_instanced_arrays st/mesa: GL_ARB_instanced_arrays support docs: document GL_ARB_instanced_arrays docs: update GL3.txt status mesa: begin implementation of GL_ARB_draw_buffers_blend glapi: new entrypoint specs for GL_ARB_draw_buffers_blend glapi: regenerated files mesa: plug in GL_ARB_draw_buffers_blend functions mesa: display list support for GL_ARB_draw_buffers_blend functions mesa: implement glGet queries for GL_ARB_draw_buffers_blend docs: document GL_ARB_draw_buffers_blend mesa: move declarations before code mesa: add comment for _mesa_get_srgb_format_linear() mesa: minor tweaks in _mesa_set_fetch_functions() mesa: s/primcount/numInstances/ tnl: assert that num_instances > 0 vbo: init num_instances in split_prims() st/mesa: move PIPE_CAP_INDEP_BLEND_FUNC code llvmpipe: enable PIPE_CAP_INDEP_BLEND_FUNC softpipe: s/tex_cache/fragment_tex_cache/ softpipe: added some null pointer checks vbo: initialize num_instances in a few places softpipe: rename some functions for consistency llvmpipe: make sure binning is active when we begin/end a query gallium/docs: document result type for some types of queries mesa: implement glGetShaderPrecisionFormat() llvmpipe: implement TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS st/mesa: formatting, whitespace fixes mesa: document sRGBDecode field st/mesa: clean up the sampler view format code mesa: minor formatting fixes vbo: added comment mesa: move extra prim mode #defines mesa: clean-up _mesa_lookup_prim_by_nr() graw: fix logic error in pixel format selection softpipe: check for null pointers during context create/destroy docs: update README.WIN32 per Karl's request st/mesa: comments in update_viewport() st/mesa: update comment, use st_fb_orientation() gallium/util: added util_format_linear() softpipe: use proper type for format field gallium/softpipe: replace pipe_get_tile_swizzle() gallium/util: simplify pipe_get_tile_rgba() gallium/util: added pipe_put_tile_rgba_format() softpipe: pass surface format to get/put_tile functions st/mesa: ensure that all pixel paths operation on linear RGB data, not sRGB mesa: smarter glTexParameter state invalidation mesa: get rid of _NEW_ACCUM, clean-up _NEW_* #defines vega: sort filenames in Makefile, SConscript i965: remove _NEW_ACCUM gldirect: remove _NEW_ACCUM vega: replace casts with pointer/handle conversion functions vega: remove redundant functions found elsewhere vega: implement handler/pointer conversion using a hash table Revert "mesa: Simplify _mesa_base_fbo_format by making it exceptions to teximages." mesa: new cases in _mesa_base_fbo_format() mesa: plug in fallback function for ctx->Driver.ValidateFramebuffer() mesa: add red, red/green formats in _mesa_base_fbo_format() st/mesa: fix incorrect fragcoord.x translation st/mesa: add comments in emit_wpos() softpipe: fix off-by-one error in setup_fragcoord_coeff() Revert "glapi: adding missing @GOTPCREL qualifer in glapi_x86-64.S" glsl: silence uninitialized var warning in read_texture() mesa: add checks for GL_EXT_texture_array mesa: consolidate error handling in set_tex_parameteri() mesa: consolidate error handling code in _mesa_GetTexLevelParameteriv() mesa: use texFormat local var in more places mesa: remove isProxy local var tgsi: add support for 1D/2D texture arrays st/mesa: support for 1D/2D texture arrays softpipe: support for 1D/2D texture arrays mesa: fix MESA/EXT typo tgsi: add cases for array textures glsl: use local var to simplify code a bit glsl: move ir_var_system_value code glsl: move ir_var_out code glsl: remove needless conditional glsl: use 'this' pointer to be consistent mesa: omit VC8 project files from tarball docs: removed VC8 project files st/mesa: pass layers param to st_texture_create() mesa: fix typo, wrap long line softpipe: fix array textures to use resource array_size st/mesa: fix texture array dimensions gallium: added comments to pipe_transfer gallium/docs: add info about transfer boxes and array textures glsl: add cast to silence signed/unsigned comparison warning scons/glsl: add top-level 'include' dir to CPPPATH glsl: make _token_list_is_empty_ignoring_space() static glsl: regerated files llvmpipe: fix incorrect array index in image dump code cso: fix loop bound in cso_set_vertex_samplers() cso: rename fragment sampler-related fields cso: refactor texture sampler and sampler view code softpipe: rename fragment sampler/view fields softpipe: rename sampler[] -> fragment_samplers[] cso: don't tell drivers to bind null samplers, sampler views gallium/docs: more info about setting samplers and sampler views gallium/svga: added debug code for dumping framebuffer images (disabled) svga: rename a couple sampler, sampler view functions st/mesa: free the temporary bitmap/drawpix shader code st/mesa: fix shader deletion regression mesa: add/update VERBOSE_API logging mesa: remove _mesa_initialize_context_for_api() mesa: remove _mesa_create_context_for_api() mesa: remove unused BITFIELD64 macros r200: add cast to silence warning svga: remove old comment, remove extra whitespace svga: add max DMA size check in svga_winsys_buffer_create() draw: tweak AA line texture minimum alpha mesa: remove some unused gl_shader fields svga: more comments for need_pipeline field svga: comments and debug code svga: disable a debug_printf() call mesa: use gl_format type instead of GLuint mesa: 80-column wrap svga: disable a debug_printf() call mesa: make _mesa_write_renderbuffer_image() non-static svga: dimension the dirty[] array with SVGA_STATE_MAX svga: fix incorrect comment svga: use TRUE/FALSE instead of 0/1 rtasm: add dummy return statement to silence MSVC warning svga: flush when transitioning between HW and SW rendering paths gallium/util: init key with memset() softpipe: rename env vars to be consistent mesa: remove the MESA_NO_DITHER env var st/mesa: remove unused screen variables docs: updated environment variable list draw: update comments, rename vars in pstipple code st/mesa: fix incorrect glCopyPixels position on fallback path st/mesa: indentation fix mesa: fix comments for _mesa_clip_readpixels() st/mesa: implement blit-based path for glCopyPixels st/mesa: check buffer orientation in blit_copy_pixels() st/mesa: set renderbuffer _BaseFormat in a few places mesa: MESA_VERBOSE logging for glRead/Draw/CopyPixels, glBlitFramebuffer vbo: add debug code to verify that buffers are unmapped before drawing radeon: add default switch case to silence unhandled enum warning vbo: use ctx instead of exec->ctx vbo: rename some vars, add new comments, fix formatting, etc. vbo: replace assert(0) with proper assertions vbo: comments vbo: rename, document function params vbo: remove old debug code, add comments vbo: make vbo_exec_FlushVertices_internal() static vbo: more comments mesa: convert macros to inline functions st/mesa: fix mipmap generation for non-POW textures st/mesa: refactor guess_and_alloc_texture() code st/mesa: fix incorrect texture size allocation in st_finalize_texture() st/mesa: fix the default case in st_format_datatype() st/mesa: need to translate clear color according to surface's base format Revert "mesa: convert macros to inline functions" i915g: remove extra semicolons r300g: fix missing initializers warning vbo: use ctx intstead of exec->ctx vbo: simplify NeedFlush flag clearing mesa: move comment, change debug code vbo: removed unused #defines, add comments vbo: added vbo_check_buffers_are_unmapped() debug function mesa: s/mesaFormat/attFormat/ mesa: reduce calls to _mesa_test_framebuffer_completeness() mesa: reduce calls to _mesa_test_framebuffer_completeness() mesa: remove some old do-nothing code mesa: consolidate framebuffer target lookup code svga: add assertions in svga_shader_type() mesa: remove GL_SGI_texture_color_table support mesa: always generate error in glColorTableParameter[fi]v() mesa: move PBO-related functions into a new file draw: setup pipe's draw pointer for the aapoint stage softpipe: remove redundant draw_flush() call vbo: silence unused var warning i915g: remove extra semicolon vbo: generate GL_INVALID_VALUE for bad glVertexAttrib index vbo: add vbo_always_unmap_buffers() svga: reduce MAX_DMA_SIZE to 4MB vbo: fix error parameter Revert "mesa: reduce calls to _mesa_test_framebuffer_completeness()" mesa: increase INST_INDEX_BITS to 12 mesa: added gl_program_constants::MaxAddressOffset mesa: remove stray _mesa_finish() call in _mesa_CopyPixels() st/glx: whitespace, 80-column fixes st/mesa: fix incorrect version checking code mesa: initialize DummyBufferObject's mutex llvmpipe: clamp texcoords in lp_build_sample_compare() docs: added Depth format cube textures to GL3.txt list swrast: flip the conditionals in shadow_compare4() for readability glx: fix null pointer deref in __glXGenerateError() glsl: silence warning in printf() with a cast gallium/util: new polygon stipple utility helper vega: remove unused pipe var mesa: call FLUSH_VERTICES() before deleting shaders, buffers, query objects mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlines mesa: use check_resources() to check program against limits mesa: move location of some geometry program limits mesa: test against MaxUniformComponents in check_resources() mesa: use 1UL for 64-bit unsigned constant for C++ glsl: add cast to silence signed/unsigned comparison warning st/mesa: use BITFIELD64_BIT() macro in a few more places mesa: use BITFIELD64_BIT() macro mesa: clean up the glBindTexture early out code a bit mesa: remove unneeded local var in BindTexture() mesa: use _mesa_get_current_tex_unit() helper in BindTexture() swrast: report data type in error message mesa: only report up to 50 _mesa_problem() calls mesa: minor improvements in glTexEnvfv() mesa: 80-column wrapping mesa: rename functions to follow Mesa conventions mesa: 80-column wrapping mesa: replace macro with function mesa: 80-column wrapping mesa: consolidate clip plane update code mesa: consolidate enable/disable code for GL_TEXTURE_GEN_S/T/R/Q gl.h: reorder some #defines mesa: 80-column wrapping, update comment mesa: 80-column wrapping and comment updates mesa: remove _MESA_NEW_TRANSFER_STATE mesa: remove unused _MESA_NEW_NEED_NORMALS radeon: fix radeon_create_image_from_name() wrong parameter type r128: fix an old annoying warning radeon: reorder #includes to silence warnings svga: adjust triangle rasterization offset mesa: new MESA_EXTENSION_MAX_YEAR env var mesa: minor whitespace fixes mesa: added _mesa_dump_image() for debugging mesa: add void to save_TextureBarrierNV() docs: update info about Mesa packaging/contents docs: update prerequisites, remove old demo info mesa: work around failed assertion for GL_RGBA16_SNORM accum buffer st/mesa: fix zero-sized user vertex buffer bug st/mesa: use 'array' local var to simplify the code a bit st/mesa: minor assorted clean-ups and fixes mesa: 80-column wrapping mesa: added _mesa_get_attachment_teximage() helpers mesa: fix alpha value for texstore_rgbx8888 scons: generate empty git_sha1.h file for now mesa: API spec for GL_ARB_texture_buffer_object mesa: regenerated API entrypoints for GL_ARB_texture_buffer_object mesa: core support for GL_ARB_texture_buffer_object swrast: simplify assertion to silence warning mesa: TEXTURE_BUFFER fix-up mesa: fix popping of texture state for GL_TEXTURE_BUFFER mesa: init/release the default texture buffer object mesa: consolidate code in _mesa_update_array_max_element() mesa: fix error message text mesa: Update _ElementSize. svga: another tweak to adjust_x term (use -0.5) util: simplify bit shifting in util_cpu_detect() util: add cpu detection for sse 4.2 and avx llvmpipe: document issue with LLVM 2.8 and earlier with AVX docs: replace llvmpipe/README with docs/llvmpipe.html glapi: interface for GL_ARB_sampler_objects glapi: regenerated files for GL_ARB_sampler_objects mesa: move sampler state into new gl_sampler_object type mesa: add glGet for GL_ARB_sampler_objects mesa: new driver hooks for GL_ARB_sampler_objects mesa: alloc/free shared sampler objects mesa: new code/functions for GL_ARB_sampler_objects mesa: plug in new functions for GL_ARB_sampler_objects docs: GL_ARB_sampler_objects updates mesa: fixup r600 DRI driver for sampler object changes Merge branch 'arb_sampler_objects' r600: silence various compiler warnings configs: add r600 dir to DRI_DIRS ir_to_mesa: silence signed/unsigned comparison warnings mesa: fix some comments in sampler object code mesa: 80-column wrapping and whitespace fixes st/mesa: minor clean-ups in update_textures() svga: define SVGA3D_MAX_DRAW_PRIMITIVE_RANGES and update comments svga: defined QSZ in terms of SVGA3D_MAX_DRAW_PRIMITIVE_RANGES st/mesa: simplify a bit of the previous patch vega: move ureg_destroy(ureg) after last use of ureg var vbo: init prim[] array with memset() translate: s/varient/variant/ mesa: move error check code in compressedteximage() nvfx: comment-out unused var mesa: fix wrong parameter type in set_sampler_max_lod() mesa: fix void pointer arithmetic warnings Makefile: add missing Scons files translate: disable clamping of instanced array indexes mesa: fix void pointer arithmetic warning st/mesa: check image size before copy_image_data_to_texture() draw: fix point/line/tri flushing bug in vbuf code Squashed commit of the following: docs: add GL_ARB_robustness to 7.11 release notes docs: fix typo, wrap lines in 7.11 release notes st/mesa: whitespace fixes st/mesa: choose 3-component float formats before 4-component formats svga: emit user-defined clip plane state mesa: emit more info in program parser error message st/mesa: raise shader MaxParameters if driver supports more llvmpipe: move active_query assignment in lp_setup_begin_query() llvmpipe: move active_query assignment mesa: fix a few incorrect error messages mesa: remove commented-out #include mesa: fix error string, remove out of date comment mesa: remove unused restart.[ch] files i915g: add const qualifier to silence warning mesa: add some missing GLAPIENTRY keywords mesa: check that flex/bison are installed mesa: only update array _MaxElement if array is enabled mesa: simplify error check in _mesa_MapBufferRange() mesa: fix vertex array enable checking in check_valid_to_render() st/glx: refactor create-context functions st/glx: pass version, context flags, etc to create_context() st/glx: implement glXCreateContextAttribsARB() st/glx: pass major, minor, context flags, etc to XMesaCreateContext() st/glx: define/set new ST_CONTEXT_FLAG_bits r300: move declaration before code st/mesa: rewrite st_choose_format() to be table driven st/mesa: prefer formats without stencil for DEPTH_COMPONENT st/mesa: fix incorrect texture level/face/slice accesses st/mesa: simplify some st_context(ctx)->pipe code mesa: fill in missing sampler object display list functions mesa: plug in GL 3.0 ClearBuffer() display list functions mesa: plug shader object functions into display list dispatch mesa: display list support for glProgramParameteriARB() mesa: plug in sync object display list functions mesa: minor whitespace fixes mesa: simplify query object display list dispatch setup mesa: make query object API functions static mesa: more transform feedback display list functions mesa: more geometry shader display list functions mesa: plug in GL_ARB_vertex_array_object display list functions mesa: plug _mesa_GetObjectParameterivAPPLE into display list dispatch table mesa: s/height/depth/ in texsubimage() st/mesa: add format table entry for GL_RGB9_E5 st/mesa: add GL_R11F_G11F_B10F to format table util: faster logbase2 r300: remove MIN3 macro, already defined in macros.h glapi: add glDrawElementsInstancedBaseVertex() function to xml dri: add missing files from 873379a8818eed9ab16c24728b7091a3a3705c5b mesa: add some minor fixes for geometry shaders mesa: refactor/consolidate uniform lookup code mesa: consolidate glGetUniform code mesa: 80-column wrapping mesa: fix typo (s/GLGL/GLSL/) st/mesa: fix renderbuffer internal format for accum buffer draw: s/1/TRUE/ draw/llvm: whitespace, formatting fixes draw: rename draw_vs_varient.c to draw_vs_variant.c tgsi: s/varient/variant/ draw: fix edge flag handling in clipper (for unfilled tris/quads/polygons) gallium: s/bool/boolean/ mesa: add more sampler types to is_sampler_type() mesa: remove old comment gallium: fix comments for pipe_stream_output_state vbo: added a comment st: use _mesa_is_bufferobj() vbo: check array indexes to prevent negative indexing vbo: remove node->count > 0 test in vbo_save_playback_vertex_list() vbo: rename DO_FALLBACK -> dlist_fallback mesa: add include/c99/*.h files to tarballs vbo: run 'indent' on vbo_save_api.c svga: fix typos, update comments st/mesa: more helpful debug message in destroy_program_variants_cb() mesa: move invariant code out of loop in get_tex_rgba() vbo: minor simplification in print_draw_arrays() debug function mesa: move texrender.c to swrast dri: include swrast.h, not s_texrender.h st/mesa: improved is_interleaved_arrays() checking docs: 7.10.3 updates st/mesa: fix comments, whitespace st/mesa: replace st->ctx with ctx st/mesa: fix indentation, whitespace i915g: add const qualifier to silence warning mesa: updated comments in _make_current() mesa: refactor, create _mesa_update_draw_buffers() helper mesa: use helper functions to distinguish between user/winsys FBOs st/mesa: move comment for ChooseTextureFormat() to right place st/mesa: remove trailing whitespace in st_format.c st/mesa: remove redundant _mesa_is_depth_format() call st/mesa: remove unneeded test for GL_TRUE mesa: allow depth texture arrays st/mesa: put const qualifer on format_map table mesa: update comment for gl_texture_unit mesa: update/fix comments in update_program() mesa: update comments in update_program_enables() mesa: comments and 80-column wrapping st/wgl: return height, not width for WGL_PBUFFER_HEIGHT_ARB st/mesa: fix format selection regression mesa: fix incorrect error string gallium/tests/trivial: use CXX to do final link gallium/tests/trivial: update comment st/mesa: fix all_varyings_in_vbos() regression st/mesa: fix pipe_get_transfer() call in fallback_copy_texsubimage() indices: fix conversion of PIPE_PRIM_POLYGON to lines Bryan Cain (3): nv50: prevent NV_OP_SELECT from having flags_def defined glsl: fix conversions from uint to bool and from float/bool to uint glsl: Fix typos in comments. Carl Worth (9): glcpp: Demote "macro redefined" from an error to a warning Revert "glcpp: Demote "macro redefined" from an error to a warning" Add an expected file for 093-divide-by-zero Add an expected file for 094-divide-by-zero-short-circuit Add an expected file for 084-unbalanced-parentheses glcpp: Add --valgrind option to the glcpp-test utility glcpp: Simplify calling convention of parser's active_list functions Add expected file for 095-recursive-define test case. glcpp: Fix attempts to expand recursive macros infinitely (bug #32835). Carl-Philip Haensch (2): mesa: provide more info for glCompressedTexImage() errors r600g: add support for anisotropic filtering Carl-Philip Hänsch (1): r600g: Fix VS sampler view offsets for r600/r700. Chad Versace (94): glsl: Comment ast_type_qualifier.flags glsl: Allow redeclaration of gl_Color and its variants in GLSL 1.30 glsl: Check that integer vertex outputs are qualified with flat glsl: At link-time, check that globals have matching centroid qualifiers glcpp: Fix segfault when validating macro redefinitions glcpp: Regenerate glcpp-parse.c mesa: Refactor handling of extension strings mesa: Add/remove extensions in extension string mesa: Change dependencies of some OES extension strings mesa: Change OES_point_sprite to depend on ARB_point_sprite mesa: Change OES_standard_derivatives to be stand-alone extension i915: Disable extension OES_standard_derivatives glsl: Add method ast_type_qualifier::interpolation_string() glsl: Check that interpolation qualifiers do not precede 'varying' glsl: Check that interpolation quals only apply to vertex ins and fragment outs glsl: Check that 'centroid in' does not occur in vertex shader glsl: Change default value of ast_type_specifier::precision glsl: Fix parser rule for type_specifier glsl: Add semantic checks for precision qualifiers glsl: Add support for default precision statements glsl: Remove redundant semantic check in parser glsl: Refresh autogenerated parser files doxygen: Add doxyfile for glsl module glsl: Fix semantic checks on precision qualifiers glsl: Fix segfault due to missing printf argument glsl: Remove unused class ast_declaration_statment glsl: Mark 'in' variables at global scope as read-only glsl: Improve error message when read-only vars are written mesa: Add AMD_conservative_depth to extension list glcpp: Conditionally define macro GL_AMD_conservative_depth glsl: Add depth layout qualifiers to ast_type_qualifier glsl: Add support for AMD_conservative_depth to parser glsl: Refresh autogenerated parser files glsl: Define enum ir_depth_layout glsl: Propagate depth layout qualifier from AST to IR glsl: Raise linking error if gl_FragDepth layout is inconsistent mesa: Propagate gl_FragDepth layout from GLSL IR to Mesa IR glsl: Enable AMD_conservative_depth in parser mesa: Simplify logic in get_extension_override() mesa: Allow extensions in MESA_EXTENSION_OVERRIDE to be prefixed with '+' glsl: Remove extraneously extraneous parens glsl: Refresh autogenerated lexer file mesa: Fix available APIs for AMD_conservative_depth glsl: Fix constant-folding for reciprocal expressions glsl: Avoid division-by-zero during constant-folding glcpp: Raise error when modulus is zero glsl: Set operators '%' and '%=' to be reserved when GLSL < 1.30 tnl: Add support for datatype GL_FIXED in vertex arrays Revert "glsl: Fix constant-folding for reciprocal expressions" glsl: Reinstate constant-folding for division by zero glsl: Document glsl_type::sampler_dimensionality i965: Remove dead assignment i965: Fix tex_swizzle when depth mode is GL_RED i965: Remove unnecessary release/reference of brw_context.state.depth_region i965: Document brw_context.state.depth_region i965: Define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT i965: Change assertion condition from implicit to explicit intel: Add flags to intel_context for hiz and separate stencil mesa: Add MESA_FORMAT_X8_Z24 to _mesa_choose_tex_format intel: Change supported texture formats for separate stencil intel: Allocate region for separate stencil buffer intel: Add is_hiz_depth_format() to intel_contex.vtbl intel: Add hiz_region to intel_renderbuffer intel: Refactor the wrapping of textures with renderbuffers intel: Add hiz_region to intel_mipmap_tree intel: Fix intel_draw_buffer() to accomodate hiz and separate stencil intel: Change FBO validation criteria to accomodate hiz and seprate stencil i965/brw: Emit state for hiz and separate stencil buffers intel: Define span functions for S8 renderbuffers dri2: Add token for DRI2BufferHiz intel: Define enum intel_dri2_has_hiz intel: Add flags to intel_screen for hiz and separate stencil intel/intel_context.c: Remove unused functions intel: Add function intel_renderbuffer_set_hiz_region() intel: Refactor intel_update_renderbuffers() intel: Add assertions to intelCreateBuffer() intel: Request DRI2 buffers for separate stencil and hiz i965/brw: Fix emit_depthbuffer() when packed depth/stencil texture is attached i965/gen5,6: Fix hang when emitting hiz buffer without stencil buffer intel: Fix typo in intel_offset_S8 comments intel: Unconditionally enable support for S8_Z24 texture format intel: Add fields to intel_renderbuffer for unwrapping packed depth/stencil buffers intel: Unobfuscate intel_alloc_renderbuffer_storage intel: Allocate s8_z24 non-texture renderbuffers when using separate stencil intel: Add fields to intel_texture for faking s8z24 with separate stencil intel: Define functions intel_texture_s8z24_scatter/gather intel: Perform gather on s8z24 texture images during glGetTexImage intel: Change signature of intel_create_wrapped_renderbuffer intel: Declare some functions in intel_fbo.c as non-static intel: During glTexImage, allocate renderbuffers for faking s8z24 textures intel: Factor region updates out of intel_update_wrapper intel: In intel_update_wrapper, support s8z24 textures when using separate stencil intel: Change framebuffer validation criteria intel: Fix workaround for _mesa_update_framebuffer Chia-I Wu (86): target/egl: Fix misleading debug message. targets/egl: Improve st_GL.so loading. mapi: Fix a warning in !THREADS build. egl: Do not unload drivers. st/egl: Make config optional for create_pixmap_surface. st/egl: Remove unnecessary egl_g3d_find_pixmap_config. st/egl: Remove native_config::slow_config. st/egl: Remove native_config::samples. st/egl: Allow single-buffered pixmaps. st/egl: Plug pbuffer leaks. st/egl: Fix eglCopyBuffers. st/egl: Assorted fixes for dri2_display_get_configs. mapi: Store alias entry instead of alias name. mapi: Minor ABIPrinter refactoring. mapi: Add "handcode" attribute to the script. mapi: Fix hidden entries. mapi: Allow blocks to be disabled from the output. mapi: Make struct mapi_stub opaque. mapi: Add and use entry_get_public. mapi: Define MAPI_TMP_DEFINES only when needed. mapi: Move mapi_func typedef to entry.h. docs/egl: Update egl.html. st/egl: Fix eglChooseConfig when configs is NULL. mapi: Add ABI-tag note. mapi: Clean up u_current interface. mapi: Clean up sources.mk. docs: Add an example for EGL_DRIVERS_PATH. autoconf: Fix --with-driver=xlib --enable-openvg. egl_dri2: Look up _glapi_get_proc_address dynamically. egl_glx: Load libGL dynamically. egl: Make egl_dri2 and egl_glx built-in drivers. mesa: Remove GLES overlay. st/egl: Fix a void pointer arithmetic warning. targets/egl-static: New EGL target for scons. scons: Updates for targets/egl-static. egl_dri2: Fix eglGetProcAddress. egl: libEGL depends on LOCAL_LIBS. egl: When EGL_DRIVER is set, do not add other drivers. egl: Cleanup _EGLDisplay initialization. egl: Simplify driver matching. egl: Improve driver selection. draw: Fix an off-by-one bug in a vsplit assertion. egl: Fix an assertion in _eglUpdateAPIsString. egl: Fix EGL_VERSION string. targets/egl: i965 needs libwsw. targets/egl-static: Assorted cleanups and fixes. mesa: Add glDepthRangef and glClearDepthf to APIspec.xml. d3d1x: Fix broken build. autoconf: Fail when --with-state-trackers is incomplete. glapi: Add gl_and_es_API.xml. mapi: Add the ability to parse GLAPI XML. mapi: Allow prefix to be macro. mapi: Fix glapi printers for gl_and_es_API.xml. mapi: Add a new glapi.h implementation. mapi: u_current_table may be renamed. mapi: Add support for bridge mode. glapi: Fix OpenGL ES 1.1 and 2.0 interop. glapi: Fix OpenGL and OpenGL ES interop. mapi: ENTRY_CURRENT_TABLE_GET should be stringified. scons: Add support for GLES. mapi: Workaround a bug in makedepend. egl: Make the transition to built-in drivers more smooth. egl_dri2: Export glapi symbols for DRI drivers. st/vega: s/vg[A-Z]/vega[A-Z]/. st/vega: Remove an invalid sanity check. st/vega: Disable blending when the paint is opaque. egl_dri2: Return NULL when xcb_get_geometry_reply fails. mesa: fix GLES remap table setup again mesa: fix function remapping for dlist mesa: merge glapidispatch.h into dispatch.h st/egl: set EGL_ALPHA_MASK_SIZE egl_dri2: add dri2_load_driver_swrast egl_dri2: try swrastg_dri if swrast_dri fails wayland-drm: remove depend on "make clean" mapi: declare x86_entry_start/end static configure.ac: remove deprecated EGL options docs: update EGL for changed configure options st/mesa: use a helper for st_framebuffer creation st/egl: use a helper to get st_api from the loader st/egl: drop guess_gl_api from egl_g3d_loader targets/gbm: build pipe drivers targets/egl-static: add support for driver lookup targets/egl-static: allow st/mesa to be dynamically loaded targets/egl-static: replace targets/egl targets/egl: removed st/egl: make native_buffer interface typed Chris Wilson (68): intel: Check for unsupported texture when finishing using as a render target i965: Fallback on encountering a NULL render buffer i965: Trim the trailing NOOP from 3DSTATE_INDEX_BUFFER intel: Use system memory for DYNAMIC_DRAW source objects intel: Pack dynamic draws together i965: Combine vb upload buffer with the general upload buffer intel: Replace the bo for a complete update intel: Buffered upload i965: switch gen6 to use its own cc state bo i965: write cc straight to batch i965: directly write wm state to batch i965: drop state_bo references to batch_bo intel: use pwrite for batch i965: Move repeat-instruction-suppression to batchbuffer core i965: suppress repeat-emission of identical vertex elements i965: upload transient indices into the same discontiguous buffer i965: emit one vb packet per vbo i965: interleaved vbo i965: upload normal arrays as interleaved intel: combine short memcpy using a temporary allocated buffer i965: Clean up brw_prepare_vertices() intel: Use specified alignment for writes into the upload buffer intel: extend current vertex buffers intel: Skip the flush before read-pixels via blit i965: Remove unused 'next_free_page' member intel: use throttle ioctl for throttling i965: Micro-optimise check_state i965: Use compiler builtins when available i915: Eliminate redundant CONSTANTS updates i915: suppress repeated sampler state emission i915: Only flag context changes if the actual state is changed i915: Separate BLEND from general context state. i915: Suppress emission of redundant stencil updates i915: Emit a single relocation per vbo i965: Remove spurious duplicate ADVANCE_BATCH intel: Fix insufficient integer width for upload buffer offset i965: Zero the offset into the vbo when uploading non-interleaved i965: Reinstate max-index paranoia i965: Trim the interleaved upload to the minimum number of vertices i915: And remember assign the new value to the state reg... intel: gen3 is particular sensitive to batch size intel: Protect against waiting on a NULL render target bo i965: Unmap the correct pointer after discontiguous upload intel: Reset the buffer offset after releasing reference to packed upload i965: Remember to pack the constant blend color as floats into the batch i965: Upload all vertices used i965: Fix uploading of shortened vertex packets i965: Undo 'continuation of vb packets' i965: Use negative relocation deltas to minimse vertex uploads configure: Bump libdrm requirements i965: Prevent using a zero sized (or of unknown type) vertex array intel: Add couple of missing gen6 commands to decode i965: Align index to type size and flush if the type changes i965: Handle URB_FENCE erratum for Broadwater i965: Fix extending VB packets intel: Add some defense against bo allocation failure intel: Add some defense against buffer allocation failure for subimage blits intel: check for miptree allocation failure i965: Pack the tracked state atoms into separate arrays for prepare/emit. i915: Detect allocation failure of batch buffer i965: Avoid name clash of loop counter and member intel: Protect intel_clear_with_blit from failed buffer allocations Revert "intel: Add some defense against buffer allocation failure for subimage blits" intel: Add some defense against buffer allocation failure for subimage blits