Tag 'mesa-17.0.0-rc1-1' created by Andreas Boll <andreas.boll....@gmail.com> at 2017-01-19 17:40 +0000
Tagging upload of mesa 17.0.0~rc1-1 to experimental. -----BEGIN PGP SIGNATURE----- iQIcBAABCgAGBQJYgPojAAoJEB7vU9OKOpxnnmgP/A0H/U/YmmF3feE2qN0O8FAN 8obW4hepkvH7A3dLY1Stsqq9vHCtZmb/zmiZL0P1896GB4QTB295TSyTowaAypfk 88GAUzzHMqixwRjDKh2FApnTwNrZ1xUurL29WHUA/5jWLtiE4rDcGfYtAS18vdT4 Vrtcrw7nfUNS4V7Qc2jTErkJWl2yhMNz7/5Okq2oy/hBBdfv8pQZ6v2vvgNeujWp fLcMfYvcJWDjJ4UTLa0lbfSY6Z/Dovp0LKCDNcklGyg4Cm9I91Bi+Lt3CRc9QZdd DGPnucbrB3X/rykER30Mxd5br3jRdQUAJJlk0OG5wclEd9hJawqVq3cqn5+um1QM oQWcr1Trma0i8LEeMRDObQK3ROmbVNjPf0Zo9a1TJaj/XSygw7zq5GyFXOz3pKLv oNBl+tUXthonM0UlcbCaZuElmWVbUeYOO28rJv/m7u3rWXJcATF546xmrNowAfQi 32lPt0Oa42Ek1tqHSDuBriGvpAKaj/54y4FYU6FAhOPYXlk1biIB7dhoQyGtDmsR 4Bp51rNWr9x+HHXbuG2GEIGCw5Fsshe2Rz634rzARDMaCM2iiJAxSJdxfOadHvF3 f2wkjUlLTENBirW0V9JIW1JsVhbEiRCkif4H8HiC2XzOvB21UjBkJWRudzajr910 qnRAbab81eZZqicM3u2u =6bkZ -----END PGP SIGNATURE----- Changes since mesa-13.0.3-1: Aaron Watry (3): llvmpipe: Fix build after removal of deprecated attribute API v2 compiler/glsl/tests: Fix print format when building 32-bit binaries on 64-bit host compiler/glsl/tests: Fix print format when building 32-bit binaries on 64-bit host Adam Jackson (3): glx/glvnd: Don't modify the dummy slot in the dispatch table glx/glvnd: Fix dispatch function names and indices glx/glvnd: Use bsearch() in FindGLXFunction instead of open-coding it Alejandro Piñeiro (10): main/buffers: update error handling on DrawBuffers for 4.5 main/buffers: take into account FRONT_AND_BACK on ReadBuffer i965: return PASSTHRU surface types also on gen7 i965: downsize *64*PASSTHRU formats to equivalent *32*FLOAT formats on gen < 8 i965/vec4: use attribute slots for first non payload GRF i965/vec4/nir: vec4 also needs to remap vs attributes i965/vec4: take into account doubles when creating attribute mapping i965: Enable ARB_vertex_attrib_64bit for Haswell main/fboject: return if it is color_attachment on get_attachment main/fbobject: throw invalid operation when get_attachment fails if needed Andreas Boll (13): glx/windows: Add wgl.h to the sources list Merge branch 'upstream-unstable' into debian-experimental-new Merge branch 'debian-unstable' into debian-experimental-new Bump changelog Bump libdrm-dev build-dep to 2.4.74 per configure.ac. Bump libwayland-dev build-dep to 1.11.0 per configure.ac. Remove libgcrypt20-dev build-dep per configure.ac. Update watch url. Drop vl-zscan-fix-Fix-trivial-sign-compare-warnings.diff and Drop workaround-binutils-mips-844357.diff, binutils regression has been fixed. Rename EGL_DISPLAYS to EGL_PLATFORMS. Update extend-diff-ignore. Upload to experimental. Andres Gomez (16): dir-locals.el: Adds White Space support glsl: ignore all but the rightmost layout-qualifier-name glsl: merge layouts into the default one as the last step in interface blocks glsl: split default out layout qualifier merge glsl: split default in layout qualifier merge glsl: simplifies the merge of the default in layout qualifier glsl: remove unneeded check for incompatible primitive types in GS glsl: assert on incoherent point mode layout-id-qualifier validation glsl: refactor duplicated validations between 2 layout-qualifiers glsl: ignore all but the rightmost layout qualifier name from the rightmost layout qualifier glsl: simplified ast_type_qualifier::merge_into_[in|out]_qualifier API glsl: simplified error checking for duplicated layout-qualifiers glsl: push layout-qualifier-name values from variable declarations to global Revert "glsl: geom shader max_vertices layout must match." Revert "glsl: allow layout qualifier overrides with ARB_shading_language_420pack" docs: fix small typos in the submit patches page Andres Rodriguez (3): radv: use a winsys context per-queue, instead of per device v2 radv: rename global extension properties structs radv: make device extension setup dynamic Andy Furniss (2): radeon/vce Handle H.264 level 5.2 st/omx/enc Raise default encode level Antia Puentes (1): i965/gen8: Fix vertex attrib upload for dvec3/4 shader inputs Anuj Phogat (10): i965/gen8: Use DrawBuffer->_IntegerBuffers in gen8_upload_blend_state() i965/gen8: Use DrawBuffer->_IntegerBuffers in gen8_upload_ps_blend() i965/gen8: Don't enable alpha test and alpha to coverage if draw bufer zero is integer type mesa: Use separate line for function return type mesa: Add helper function _mesa_is_alpha_test_enabled() mesa: Add helper function _mesa_is_alpha_to_coverage_enabled() i965: Fix alpha-to-coverage and alpha test enabled checks i965: Remove unnecessary white space i965: Add space before paren i965: Fix GPU hang related to multiple render targets and alpha testing Arda Coskunses (2): vulkan/wsi/x11: don't crash on null visual vulkan/wsi/x11: don't crash on null wsi x11 connection Axel Davy (131): st/nine: Fix leak with integer and boolean constants gallium/util: Add align_calloc st/nine: Use align_calloc instead of align_malloc st/nine: Fix mistake in Volume9 UnlockBox st/nine: Fix locking CubeTexture surfaces. gallium-docs: Add documentation for threading requirements gallium-docs: Add documentation for when using several contexts st/nine: Improve doc of D3DPMISCCAPS_POSTBLENDSRGBCONVERT st/nine: Add validation to SetSamplerState st/nine: Remove useless call to nine_update_state st/nine: Don't update stream_usage_mask in sw path st/nine: Fix useless swapchain init checks st/nine: Fix ps multisample check st/nine: Remove unused ff.changed.group st/nine: Fix bad light initialization in stateblocks st/nine: Remove useless check in surface9 ctor st/nine: Add some debug info in stateblocks st/nine: Add missing changed states to pixel stateblocks st/nine: Capture texturestage states in pixel stateblocks st/nine: Avoid crash on empty Draw*Up st/nine: Handle when cursor stride is not what is expected st/nine: Correctly release sw cursor image st/nine: Fix leak in user constant upload path st/nine: Do not generate gallium NOP on d3d NOP st/nine: Silent warnings with guid_str d3dadapter/present: Add new API to ID3DPresent d3dadapter/present: Add precision for WaitBufferReleased st/nine: Fix a leak in Swapchain dtor st/nine: Rework buffer presentation path st/nine: Add new driconf options to control DISCARD behaviour driconf: Fix missing gettext st/nine: Ignore MULTISAMPLEMASK when RT is not multisampled st/nine: Fix specular enable for alpha st/nine: Fix ff COLOR0 w component computation st/nine: Do not saturate illumination coefficients in ff st/nine: Fix check for ff specular st/nine: Always initialize current in ff ps st/nine: Fix ff cases when stages should be disabled st/nine: Remove useless code in ff ps st/nine: Fix two special cases in ff ps st/nine: Convert redundant check to assert in ff ps st/nine: Fix ff texture coordinate selection st/nine: Implement WFOG properly st/nine: Introduce nine_context st/nine: Move core of device clear to nine_state st/nine: Move draw calls to nine_state st/nine: Track changed.texture only for stateblocks st/nine: Move texture setting to nine_context_* st/nine: Back textures into nine_context st/nine: Move stream_usage_mask to nine_context st/nine: Move vtxbuf to nine_context st/nine: Move stream freq data to nine_context st/nine: Back vdecl to nine_context st/nine: Back vs to nine_context st/nine: Back sampler states to nine_context st/nine: Back all shader constants to nine_context st/nine: Back current index buffer to nine_context st/nine: Back RT to nine_context st/nine: Back scissor to nine_context st/nine: Back viewport to nine_context st/nine: Put ff data in a separate structure st/nine: Refactor SetLight st/nine: Refactor LightEnable st/nine: Back all ff states in nine_context st/nine: Back ds to nine_context st/nine: Back ps to nine_context st/nine: Back User Clip Planes to nine_context st/nine: Track dirty state groups in nine_context st/nine: Use atomics for nine_bind st/nine: Move query9 pipe calls to nine_context st/nine: Remove NineDevice9_GetCSO st/nine: Access pipe_context via NineDevice9_GetPipe st/nine: Rename cso in nine_context to cso_shader st/nine: Rename pipe to pipe_data in nine_context st/nine: Move pipe and cso to nine_context st/nine: Integrate nine_pipe_context_clear to nine_context_clear st/nine: Move Managed Pool handling out of nine_context st/nine: Do not use NineBaseTexture9 in nine_context st/nine: Decompose nine_context_set_stream_source st/nine: Decompose nine_context_set_indices st/nine: Decompose nine_context_set_texture st/nine: Reimplement nine_context_apply_stateblock st/nine: Change the way nine_shader gets the pipe st/nine: Back swvp in nine_context st/nine: Create pipe_surfaces on resource creation. st/nine: Call GetPipe for implicit pipe usages st/nine: Simplify the logic to bind textures st/nine: Fix BASETEX_REGISTER_UPDATE st/nine: Track bindings for buffers st/nine: Upload Managed buffers just before draw call using them st/nine: SYSTEMMEM ignores DISCARD. st/nine: Add nine_context_get_pipe_acquire/release st/nine: Add secondary pipe for device st/nine: Implement Fast path for dynamic buffers and csmt st/nine: use get_pipe_acquire/release when possible st/nine: Simplify ColorFill st/nine: Optimize ColorFill st/nine: Use nine_context_clear_render_target st/nine: Avoid flushing the queue for queries GetData st/nine: Simplify ARG_BIND_REF st/nine: Fix NineUnknown_Detach st/nine: Detach buffers in swapchain dtor. st/nine: Comment and simplify iunknown st/nine: Do not bind the container if forward is false st/nine: Implement nine_context_range_upload st/nine: Optimize managed buffer upload st/nine: Implement nine_context_gen_mipmap st/nine: Use nine_context_gen_mipmap in BaseTexture9 st/nine: Implement nine_context_box_upload st/nine: Use nine_context_box_upload for surfaces st/nine: Fix leak with cubetexture dtor st/nine: Fix leak with volume dtor st/nine: Use nine_context_box_upload for volumes st/nine: Bind destination for surface/volume uploads st/nine: Idem for nine_context_gen_mipmap st/nine: Add arguments to context's blit and copy_region st/nine: Do not wait for DEFAULT lock for surfaces when we can st/nine: Do not wait for DEFAULT lock for volumes when we can st/nine: Allow non-zero resource offset for vertex buffers st/nine: Implement new buffer upload path st/nine: Dirty MANAGED buffers at Lock time st/nine: Upload on secondary context for Draw*Up st/nine: Do not map SUB and ABS to their gallium equivalent. st/nine: Remove all usage of ureg_SUB in nine_ff st/nine: Remove all usage of ureg_SUB in nine_shader st/nine: Remove duplicated checks st/nine: Rework CreatePipeSurface st/nine: Flush pending commands if needed for surface9 changes st/nine: Process pending commands on Reset st/nine: Flush the queue at device dtor st/nine: Protect dtors with mutex Bas Nieuwenhuizen (37): radv: Store UUID in physical device. radv: Use library mtime for cache UUID. radv: Incorporate GPU family into cache UUID. radv: Don't generate radv_timestamp.h radv: Use different intrinsic for ubo loads. radv: Initialize the shader_stats_dump flag. ac/nir: Fix accessing an unitialized value. ac/nir: Fix out of bounds array access. ac/nir: Only use the first component for SSBO atomics. radv: Clean up some unused variables. radv: Use enum for memory heaps. radv: Use enum for memory types. radv: Don't bail out on pipeline create failure. radv/winsys: Expose number of compute/dma rings. radv: Use correct pitch for views with different block size. radv/winsys: Make WaitIdle queue aware. radv: Implement cache flushing for the MEC. radv: update vkCmdUpdateBuffer for the MEC. radv: Implement indirect dispatch for the MEC. radv: Use RELEASE_MEM packet for MEC timestamp query. radv: Don't enable CMASK on compute queues. radv: Create an empty CS per ring type. radv: Only emit PFP ME syncs for DMA on the GFX queue. radv: Use correct workgroup size limits. radv: Also skip DCC clear flushes for compute. ac/debug: Move sid_tables.h generation to common code. ac/debug: Move IB decode to common code. radv: Dump command buffer on hang. ac/debug: Dump indirect buffers. radv: Create single RADV_DEBUG env var. radv: Only call remove_dead_variables once. radv: Call nir_lower_constant_initializers. radv: Call NIR passes using NIR_PASS_V. radv: Support loader interface version 3. radv: Get physical device from radv_device instead of the instance. radv: Support multiple devices. ac/debug: Decrease num_dw for type 2 NOP's. Ben Widawsky (16): i965: Add some APL and KBL SKU strings i965: Reorder PCI ID list to match release order i965/miptree: Directly gtt map the mcs buffer i965: Drop the aux mt when not used i965/miptree: Create a hiz mcs type i965/gen9: Add HiZ auxiliary buffer support i965/glk: Add basic Geminilake support i965: Consolidate GEN9 LP definition i965: Fix KBL typo in string i965: "Fix" aux offsets Partial revert "i965: "Fix" aux offsets" i965: Restructure fast clear eligibility decision i965: Enable fast clears for multi-lod i965: Replace bool aux disable with enum i965/miptree: Create a disable CCS flag i965: Fix SURFACE_STATE to handle non-zero aux offsets Boyan Ding (8): glsl: Do not allow scalar types in vector relational functions egl/dri2: Unify the style of function pointer calls in structs loader/dri3: Unify the style of function pointer calls in structs glX_proto_send.py: Unify the style of function pointer calls in structs nouveau: Unify the style of function pointer calls in structs radeon: Unify the style of function pointer calls in structs xlib: Unify the style of function pointer calls in structs mesa/get: Remove unused extra_ARB_viewport_array Boyuan Zhang (2): st/va: force to submit two consecutive single jobs st/va: fix gop size for rate control Brian Paul (31): vbo: trivial indentation fix in vbo_exec_api.c vbo: make vbo_reset_attr() static vbo: rename reset_attrfv() to vbo_reset_all_attr() vbo: move attribute type assignment vbo: minor clean-up in vbo_exec_api.c vbo: whitespace fixes and reformatting in vbo_exec_api.c vbo: clean up with 'indent', whitespace fixes, etc in vbo_exec_array.c tgsi: trivial build fix for MSVC gallium/stapi: fix comment for st_visual::buffer_mask mesa: rename gl_vertex_array_object::VertexBinding to BufferBinding mesa: update comment on vertex_attrib_binding() mesa: code clean-up in _mesa_update_vao_client_arrays() mesa: rename gl_client_array -> gl_vertex_array svga: add SVGA_NEW_FRAME_BUFFER to svga_hw_tss_binding state atom svga: collect stats for time spent in svga_context_finish() svga: whitespace / formatting clean-up in svga_context.c svga: move svga_mark_surfaces_dirty() prototype to svga_surface.h gallium/hud: call fflush() after printing error messages st/mesa: initialize members of glsl_to_tgsi_instruction in emit_asm() util: add MSVC HAS_TRIVIAL_DESTRUCTOR implementation glsl: include inttypes.h for PRIx64 macro mesa: fix comment indentation in bind_buffers_check_offset_and_size() glsl: define __STDC_FORMAT_MACROS to get PRIx64 macro mesa: if MESA_DEBUG=context, create a debug context docs: document MESA_DEBUG=context mesa: remove trailing whitespace in errors.c mesa: remove unneeded #includes in errors.c i915: remove unneeded #include "util/simple_list.h" r200: remove unneeded #include "util/simple_list.h" radeon: remove unneeded #include "util/simple_list.h" tnl: remove unneeded #include "util/simple_list.h" Bruce Cherniak (3): swr: Fix active_queries count swr: Implement fence attached work queues for deferred deletion. swr: fix icc compile error Carl Worth (4): glcpp: Add testing for no space between macro name and replacement list glcpp: Allow vertical tab and form feed characters in GLSL glcpp: Exhaustively test all legal characters in GLSL glcpp: Remove illegal characters from tests Chad Versace (15): i965/mt: Disable aux surfaces after making miptree shareable i965/mt: Disable HiZ when sharing depth buffer externally (v2) egl: Fix crashes in eglCreate*Surface() anv: Reject VkMemoryAllocateInfo::allocationSize == 0 egl: Check config's surface types in eglCreate*Surface() dri: Add __DRI_IMAGE_FORMAT_ARGB1555 mesa/texformat: Handle GL_RGBA + GL_UNSIGNED_SHORT_5_5_5_1 i965: Allow import/export of ARGB1555 images egl: Emit correct error when robust context creation fails anv: Handle vkGetPhysicalDeviceQueueFamilyProperties with count == 0 mesa/shaderobj: Fix races on refcounts meta: Disable dithering during glGenerateMipmap vulkan: Add new cast macros for VkIcd types vulkan: Update vk_icd.h to interface version 3 anv: Support loader interface version 3 (patch v2) Chandu Babu Namburu (1): st/omx/dec/h264: consider POC as signed instead of unsigned Charmaine Lee (13): svga: add SVGA_3D_CMD_INVALIDATE_GB_SURFACE support svga: set rendered_to flag with texture uploaded using TransferFromBuffer command svga: fix texture upload path condition svga: add can_use_upload flag svga: set rendered-to flag after updating the texture using PredCopyRegion svga: allow copy_region if sample counts match svga: add a helper function to check for typeless format svga: create BGRX render target view for BGRX_UNORM surface svga: allow quad blit for more formats Revert "svga: use untyped surface formats in most cases" svga: invalidate new surface before it is bound to a render target view util: fix missing swizzle components in the SINT <-> UINT conversion string util: fix memory leak from the fragment shaders for SINT<->UINT blits Chih-Wei Huang (1): android: avoid using libdrm with host modules Chris Wilson (2): i965: Use rzalloc for cfg_t i965: Move the pipelined test for SO register access to the screen Christian Gmeiner (9): loader: add loader_get_extensions_name(..) helper dri: make use of dri_get_extensions_name(..) helper loader: fixup driver names if needed dri: make use of loader_get_extensions_name(..) helper gallium: add renderonly library imx: gallium driver for imx-drm scanout driver etnaviv: handle PIPE_CAP_TGSI_FS_FBFETCH etnaviv: add flags parameter to texture barrier Revert "etnaviv: Fake occlusion query capability" Christian Inci (1): radeonsi: Bugfix needed for hashcat Christian König (1): vl/zscan: fix "Fix trivial sign compare warnings" Chuck Atkins (1): glx: Add missing glproto dependency for gallium-xlib glx Connor Abbott (7): i965/vec4/nir: simplify glsl_type_for_nir_alu_type() i965/vec4/nir: allocate two registers for dvec3/dvec4 i965/vec4/nir: set the right type for 64-bit registers i965/vec4: add support for printing DF immediates i965: add brw_vecn_grf() i965/vec4: don't constant propagate 64-bit immediates nir/gcm: fix a bug with metadata handling Damien Grassart (2): radv: return count of queue families written anv: return count of queue families written Daniel Scharrer (1): ac/nir/llvm: Fix setting function attributes for intrinsics Daniel Stone (1): Revert "wayland: Block for the frame callback in get_back_bo not dri2_swap_buffers" Darren Salt (1): radv/pipeline: Don't dereference NULL dynamic state pointers Dave Airlie (109): radv: use emit_icmp for samples_identical anv: drop unused zero macro. radv: allow cmask transitions without fast clear radv/ac/llvm: trim texture return values vulkan/wsi/x11: handle timeouts properly in next image acquire (v1.1) vulkan/wsi: store present mode in swapchain base class vulkan/wsi/x11: add support for IMMEDIATE present mode radv: drop some unused cmask info members. radv: expose xlib platform extension radv: fix dual source blending Revert "st/vdpau: use linear layout for output surfaces" radv: emit correct last export when Z/stencil export is enabled ac/nir: add support for discard_if intrinsic (v2) nir: add conditional discard optimisation (v4) radv: enable conditional discard optimisation on radv. radv: fix GetFenceStatus for signaled fences ac/nir/llvm: adopt to new LLVM attribute API. radv: fixup botched llvm API changes. radv: fix texturesamples to handle single sample case vulkan: import latest public vulkan headers + and fix drivers. wsi: fix VK_INCOMPLETE for vkGetSwapchainImagesKHR radv: don't crash on null swapchain destroy. ac/nir/llvm: fix channel in texture gather lowering code. radv: make sure to flush input attachments correctly. radv: fix image view creation for depth and stencil only radv: spir-v allows texture size query with and without lod. radv/meta: cleanup resolve vertex state emission radv/ac: cleanup ddxy emission radv/ac: add implementation of load_sample_pos intrinsic. radv: fix sample id loading radv: add support for shader stats dump radv: move pipeline barrier image transitions after src flushing anv: fix segfault in anv_BindImageMemory radv/meta: just local vars for src/dst subresources. radv: fix flipped blits radv: fix texel fetch offset with 2d arrays. radv/si: fix optimal micro tile selection radv/ac/llvm: shadow samplers only return one value. radv/ac/llvm: fix regression with shadow samplers fix radv: brown-paper bag for a forgotten else. radv: fix 3D clears with baseMiplevel anv: set maxFragmentDualSrcAttachments to 1 radv: set maxFragmentDualSrcAttachments to 1 nir: print var binding in dumps. radv: force persample shading when required. radv: set spi_baryc_cntl.pos_float_location to 0 radv: fix another regression since shadow fixes. radv: consolidate compute pipeline flushing (v1.1) radv: pass pipeline to constant flush function radv: refactor descriptor set userdata emission out. radv: move descriptor set userdata emission to draw flush time. radv: only bind descriptor sets to stages that need them radv: refactor out the descriptor user sgpr setting. radv: refactor out the constant setting user sgpr code. radv: move userdata sgpr ownership to compiler side. radv: only emit descriptor sgprs when needed radv: make push constants optional radv/ac: use build_gep0 instead of opencoding it. radv: add missing license file to radv_meta_bufimage. radv/ac: don't pass nir to create_function radv/meta: clean up buffer->image code. radv/meta: split copyimage api into api and meta function radv/meta: cleanup image info setup. radv/meta: don't pass rect into blit2d src function. radv: split out a chunk of variant filling code. radv/ac: pass a mask of array params not a number. radv: fix warnings in ubo load code. radv/ac: no need to pass nir to the post outputs handling radv: handle fence allocation failing radv/winsys: consolidate request->fence code radv/winsys: start adding support for DMA/compute queue radv: start fixing up queue allocate for multiple queues radv: Store queue family in command buffers. radv: add a compute shader implementation for buffer to image radv: implement image->image copies using compute shader radv/meta: split clear image out into a separate layer clear function radv: clear image implementation for compute queue radv: hook compute clears into clear image api. radv/meta: update header info radv: init compute queue and avoid initing transfer queues radv: pass queue index into winsys submission radv: add semaphore support radv: expose the compute queue glsl: allow invariant on fragment shader outputs. radv: flush smem for uniform buffer bit. radv/image: only touch queue family info for concurrent images. radv: enable shaderGatherImageExtended radv: enable shaderStorageImageExtendedFormats radv: bump texel offsets to align with radeonsi radv: set some proper values for interp offset limits. radv: handle multi-component shared load/stores. radv: fix rendering to b10g11r11_ufloat_pack32 radv: handle queue present directly to winsys radv: add some asserts for operations on general queue spirv: add interface for drivers to define support extensions. radv: denote support for extended storage image formats. radv: only allow cmask/dcc on exclusive or concurrent with graphics queue. radv: only allow cmask/dcc in color optimal. radv: drop unused fields in physical device. radv/ac: add support for multi sample image coords radv: fix multi-viewport emission radv/meta: consolidate the depth stencil clear renderpasses radv/ac: use ctx->voidt in more places. (v2) radv/meta: split color renderpass creation out. radv: add support for writing layer/viewport index (v2) radv/ac: switch an if to switch radv/ac: split part of llvm compile into a separate function radv: add support for layered clears (v2) radv: disable vertex reuse when writing viewport index Derek Foreman (3): egl/dri2: add image_loader_extension back into loader extensions for wayland gbm/drm: Pick the oldest available buffer in get_back_bo i915: Add XRGB8888 format to intel_screen_make_configs Edmondo Tommasina (6): gallium/hud: dump hud_driver_query values to files gallium/hud: move file initialization to a function gallium/hud: set filedescriptor for cpu graph gallium/hud: set filedescriptor for fps graph docs: document GALLIUM_HUD_DUMP_DIR envvar gallium/hud: add a path separator between dump directory and filename Eduardo Lima Mitev (8): vulkan/wsi/x11: Fix behavior of vkGetPhysicalDeviceSurfaceFormatsKHR drivers/meta: Accept GL_TEXTURE_3D as target for tex image decompression vulkan/wsi/x11: Fix behavior of vkGetPhysicalDeviceSurfacePresentModesKHR vulkan/wsi/x11: Smplify implementation of vkGetPhysicalDeviceSurfaceFormatsKHR meta/GetTexSubImage: Account for GL_PACK_SKIP_IMAGES on compressed textures main/getteximage: Use the height argument to calculate memcpy copy size main/texobj: Check that texture id > 0 before looking it up in hash-table mesa/getteximage: Add validation of target to glGetTextureImage Edward O'Callaghan (4): vulkan: use STATIC_ASSERT instead of static_assert anv: Clean up some unused variables virgl: Fix a strict-aliasing violation in the encoder svga: Fix a strict-aliasing violation in shader dumper Elie TOURNIER (1): docs: Fix GLSL compiler link Emil Velikov (112): docs: add 13.1.0-devel release notes template, bump version automake: don't forget to pick wglext.h in the tarball anv: automake: cleanup the generated json file during make clean compiler: automake: add shader_info.h to the sources list docs: Update 13.0.0 release notes docs: add sha256 checksums for 13.0.0 docs: add news item and link release notes for 13.0.0 egl: remove explicit config_id management from dri2_add_config() configure.ac: honour LLVM_LIBDIR when linking against LLVM amd/addrlib: limit fastcall/regparm to GCC i386 anv: use correct .specVersion for extensions radv: use correct .specVersion for extensions radv: Suffix the radeon_icd file with the host CPU Revert "egl: remove explicit config_id management from dri2_add_config()" Revert "configure.ac: honour LLVM_LIBDIR when linking against LLVM" radv: automake: list correct file in the EXTRA_DIST docs: add release notes for 12.0.4 docs: add sha256 checksums for 12.0.4 docs: add news item and link release notes for 12.0.4 glsl: automake: add opt_add_neg_to_sub.h to the sources list egl/wayland: fix return value in dri2_wl_swrast_commit_backbuffer docs: add release notes for 13.0.1 docs: add sha256 checksums for 13.0.1 docs: add news item and link release notes for 13.0.1 Revert "dri: make use of dri_get_extensions_name(..) helper" amd: automake: android: rename sources lists to foo_FILES gbm: automake: remove unused defines loader: automake: whitespace cleanup egl/wayland: remove non-applicable destroyDrawable from error path mesa: drop unneeded assert mesa: fold always true conditional revieweds: add Tomasz for the Android/EGL implementation docs: mention that coding style can differ between drivers docs: mention/suggest testing your patch against dEQP docs: split Codying style into separate document docs: split Submitting Patches into separate document docs/repository: refer to Submitting patches docs/autoconf: update glx driver / enable-debug text docs/submittingpatches: flesh out "how to nominate" methods docs/submittingpatches: fix tags mis/abuse docs: flesh out releasing.html docs: sourcetree.html misc updates docs: rework/update install.html docs: recommend using --enable-mangling over the manual -DUSE... reviewers: add Rob H for the Android EGL+build parts egl/x11: factor out dri2_get_xcb_connection() egl/x11: store xcb_screen_t *screen instead of int screen auxiliary/vl/dri: call get_xcb_screen() only once docs/submitting patches: mention get_reviewers.pl anv: fix enumeration of properties radv: honour the number of properties available docs: add release notes for 13.0.2 docs: add sha256 checksums for 13.0.2 docs: add news item and link release notes for 13.0.2 docs/release: drop references to patchwork docs/releasing: correctly document touch-testing docs/releasing: use correct page title docs: add git tips how to do commit fixups and squash them anv: use do { } while (0) in the anv_finishme macro radv: Make radv_finishme only warn once per call-site isl: Make isl_finishme only warn once per call-site anv: Store UUID in physical device. anv: Use library mtime for cache UUID. anv: automake: don't generate anv_timestamp.h configure.ac: remove no longer used TIMESTAMP_CMD anv: don't double-close the same fd anv: don't leak memory if anv_init_wsi() fails radv: don't leak the fd if radv_physical_device_init() succeeds radv: don't return VK_SUCCESS if radv_device_get_cache_uuid() fails docs: add release notes for 12.0.5 docs: add sha256 checksums for 12.0.5 docs: add news item and link release notes for 12.0.5 st/va: automake: cleanup C{PP,}FLAGS egl/surfaceless: remove duplicate KHR_image_base enablement egl: add and enable EGL_KHR_config_attribs docs: document how to (self-) reject stable patches configure: enable glx-tls by default configure: cleanup GLX_USE_TLS handling docs: add release notes for 13.0.3 docs: add sha256 checksums for 13.0.3 docs: add news item and link release notes for 13.0.3 automake: add the new drivers etnaviv and imx to make distcheck automake: use shared llvm libs for make distcheck ac: automake: rework sid_tables.h generation etnaviv: automake: include all files in the sources lists winsys/etnaviv: automake: introduce Makefile.sources ac, radeonsi: automake: add missing builddir include ac: automake: ensure that ./common is generated get-typod-pick-list.sh: add new script vulkan: automake: do not use EXTRA_DIST in a conditional glx: remove always false ifdef GLX_NO_STATIC_EXTENSION_FUNCTIONS configure: use standard check for attribure alias scons: set HAVE_FUNC_ATTRIBUTE_ALIAS android: set HAVE_FUNC_ATTRIBUTE_ALIAS mesa: make use of HAVE_FUNC_ATTRIBUTE_ALIAS macro glx: use GLX_ALIAS for glXGetProcAddress glx: unify GLX_SGIX_pbuffer aliased declarations egl/wayland: use the destroy_window_callback for swrast egl/wayland: unify dri2_wl_create_surface implementations gallium: correctly manage libsensors link flags configure: remove unused AC_SUBST variables configure: forbid static EGL/GBM configure: remove HAVE_EGL_DRIVER_DRI[23] configure: factor out commom egl/gbm checks configure: explicitly require shared glapi for enable-dri configure: error out when building static XOR shared egl/wayland: resolve quirky try_damage_buffer() implementation nouveau: remove always false argument in nouveau_fence_new() util: import sha1 implementation from OpenBSD utils: build sha1/disk cache only with Android/Autoconf utils: really remove the __END_DECLS macro Update version to 17.0.0-rc1 Eric Anholt (61): vc4: Fix termination of the initial scan for branch targets. vc4: Restructure the simulator mode. vc4: Move simulator globals into a struct. vc4: Move simulator memory management to a u_mm.h heap. vc4: Move simulator winsys mapping and tracking to the simulator. vc4: Add a comment with discussion of how simulation works. vc4: Avoid making temporaries for assignments to NIR registers. nir: Make sure to set the texsrc type in nir drawpixels/bitmap lowering. vc4: Fix use of undefined values since the ralloc zeroing changes. vc4: Add miptree/texture state support for ETC1 compressed textures. vc4: Make sure that vertex shader texture2D() calls use LOD 0. vc4: Use Newton-Raphson on the 1/W write to fix glmark2 terrain. vc4: Don't abort when a shader compile fails. vc4: Print a reg pressure estimate in our reg allocation failure dump. vc4: Don't pair up TLB scoreboard locking instructions early in QPU sched. vc4: Clamp the shadow comparison value. vc4: Fix register class handling of DDX/DDY arguments. vc4: Add a bit of QPU validation for threaded shaders. vc4: Add a thread switch QIR instruction. vc4: Add support for QPU scheduling of thread switch instructions. vc4: Use register allocator CLASS_BIT_R0_R3 to clean up CLASS_B. vc4: Split register class setup for physical files from accumulators. vc4: Add support for register allocation for threaded shaders. vc4: Use ra14/rb14 as the spilling registers. vc4: Add some spec citations about texture fifo management. vc4: Add THRSW nodes after each tex sample setup in multithreaded mode. vc4: Flag the last thread switch in the program as the last. vc4: Mark threaded FSes as non-singlethread in the CL. vc4: Fix simulator mode missing-GETPARAM debug info. vc4: Add support for ETC1 textures if the kernel is new enough. vc4: Try compiling our FSes in multithreaded mode on new kernels. nir: Avoid an extra NIR op in integer divide lowering. vc4: Make sure we don't overflow texture input/output FIFOs when threaded. vc4: Disable MSAA rasterization when the job binning is single-sampled. vc4: Re-add R4 to the "any" register class. vc4: Don't conditionalize the src1 mov of qir_SEL(). vc4: Remove qir_inst4(). vc4: Replace the qinst src[] with a fixed-size array. vc4: Refactor qir_get_op_nsrc(enum qop) to qir_get_nsrc(struct qinst *). vc4: Restructure texture insts as ALU ops with tex_[strb] as the dst. vc4: Split optimizing VPM writes from VPM reads. vc4: Make qir_for_each_inst_inorder() safe against removal. vc4: Restructure VPM write optimization into two passes. vc4: Add support for coalescing ALU ops into tex_[srtb] MOVs. vc4: Add a note for the future about texture latency calculation. vc4: In a loop break/continue, jump if everyone has taken the path. vc4: Allow merging instructions with SF set where the other writes NOP. vc4: Fix stray "." on no-op MUL packs. vc4: Improve interleaving of texture coordinates vs results. vc4: Try to schedule QIR instructions between writing to and reading math. vc4: Avoid false scheduling dependencies for LOAD_IMMs. vc4: Enable NIR-based loop unrolling. vc4: Rework scheduling of thread switch to cut one more NOP. editorconfig: Fix up the tab rendering width. configure: Fix another bashism. vc4: Flush the job early if we're referencing too many BOs. vc4: Reuse a list function to simplify bufmgr code. vc4: Simplify the load/store utile functions. vc4: Make the load/store utile functions static. vc4: Move the utile_width/height functions to header inlines. vc4: Rewrite T image handling based on calling the LT handler. Eric Engestrom (10): wsi/wayland: fix error path egl/dri2: swap_buffers_with_damage falls back to swap_buffers egl: add missing error-checking to eglReleaseTexImage() egl: fix function name in debug string egl/x11: misc style fixes egl: fix helper function name docs: fix small typo egl: rename static functions to match convention egl: unexport _eglConvertIntsToAttribs egl/x11: cleanup init code Erik Faye-Lund (1): compiler: avoid warning about redefinition of PYTHON_GEN Francisco Jerez (13): glapi: Move PrimitiveBoundingBox and BlendBarrier definitions into ES3.2 category. Revert "Revert "mapi: export all GLES 3.2 functions in libGLESv2.so"" nir: Flip gl_SamplePosition in nir_lower_wpos_ytransform(). i965/gen6+: Invalidate constant cache on brw_emit_mi_flush(). i965: Let the caller of brw_set_dp_write/read_message control the target cache. i965/fs: Switch to the constant cache for uniform pull constants. i965: Factor out oword block read and write message control calculation. i965/fs: Expose arbitrary pull constant load sizes to the IR. i965/fs: Fetch one cacheline of pull constants at a time. i965/fs: Drop useless access mode override from pull constant generator code. i965/fs: Remove the FS_OPCODE_SET_SIMD4X2_OFFSET virtual opcode. i965/disasm: Decode dataport constant cache control fields. anv: Fix uniform and storage buffer offset alignment limits. Fredrik Höglund (12): radv: mark the fence as submitted and signalled in vkAcquireNextImageKHR vulkan/wsi/x11: fix ARGB window support vulkan/wsi/wayland: fix ARGB window support radv: add a write-combining host-local memory type radv: split the device local memory heap into two radv: add support for anisotropic filtering on VI+ radv: add support for anisotropic filtering on SI-CI radv: add support for VK_KHR_sampler_mirror_clamp_to_edge radv: add support for VK_AMD_negative_viewport_height radv: add support for VK_AMD_draw_indirect_count radv: fix dual source blending dri3: Fix MakeCurrent without a default framebuffer George Kyriazis (20): swr: [rasterizer archrast] Add thread tags to event files. swr: [rasterizer core] Remove deprecated simd intrinsics swr: [rasterizer core] Refactor/cleanup backends swr: [rasterizer core] Frontend dependency work swr: [rasterizer] added EventHandlerFile contructor mesa: removed redundant #else scons: ignore .hpp files in parse_source_list() scons: add llvm 3.9 support. gallium: Added SWR support for gdi swr: Handle windows.h and NOMINMAX swr: renamed duplicate swr_create_screen() swr: Windows-related changes scons: Add swr compile option swr: Modify gen_knobs.{cpp|h} creation script gallium: swr: Added swr build for windows gallium: Add support for SWR compilation docs: add note about r-b/other tags when resending swr: Fix type to match parameters of std::max() swr: fix windows build break Always defer memory free in swr_resource_destroy Grazvydas Ignotas (12): radeonsi: fix release build unused variable warnings softpipe: fix release build unused variable warning radv: fix release build unused variable warnings radv/meta: use VK_NULL_HANDLE for handles radv/ac: some fix maybe-uninitialized warnings anv: fix release build unused variable warnings intel/aubinator: fix 32bit shift overflow warning i965/blorp: fix release build unused variable warning ac/debug: move .gitignore for sid_tables.h too mapi: update the asm code to support x32 radv: remove some unused macros and functions anv: remove some unused macros and functions Gurchetan Singh (2): configure.ac: Don't look for pthreads in Android platform egl: Use pkg-config for Android NDK build Gwan-gyeong Mun (9): radeonsi: Fix resource leak in gs_copy_shader allocation failure path intel: aubinator: Fix resource leak in gen_spec_load_from_path docs: get rid of duplicated description from sourcetree.html util/disk_cache: close a previously opened handle in disk_cache_put (v2) anv: Fix unintentional integer overflow in anv_CreateDmaBufImageINTEL anv: Add missing error-checking to anv_block_pool_init (v2) anv: drop the return type for anv_queue_init() anv: Update the teardown in reverse order of the anv_CreateDevice vulkan/wsi: Fix resource leak in success path of wsi_queue_init() Haixia Shi (1): compiler/glsl: fix precision problem of tanh Heiko Przybyl (1): r600/sb: Fix loop optimization related hangs on eg Iago Toral Quiroga (124): glsl: Indirect array indexing on non-last SSBO member must fail compilation glsl: add matrix layout information to interface block types i965/vec4: add a byte_offset helper i965/vec4: use byte_offset() instead of offset() i965/vec4: make offset() work in terms of a simd width and scalar components glsl: validate output blocks against input blocks anv/format: handle unsupported formats properly anv/format: support VK_FORMAT_R8G8B8_SRGB anv/format: handle unsupported formats earlier anv/state: enable coordinate address rounding for Min/Mag filters nir/spirv: implement ordered / unordered floating point comparisons properly anv/state: if enabled, use anisotropic filtering also with VK_FILTER_NEAREST spirv: Builtin Layer is an input for fragment shaders nir/lower_tex: generalize get_texture_size() nir/lower_tex: add lowering for texture gradient on cube maps i965/nir: enable lowering of texture gradient for cube maps nir/lower_tex: add lowering for texture gradient on shadow samplers i965/nir: enable lowering of texture gradient for shadow samplers i965: remove brw_lower_texture_gradients nir/lower_tex: lower gradients on shadow cube maps if lower_txd_shadow is set nir/lower_tex: fix number of components in replace_gradient_with_lod() i965/vec4/nir: Add bit-size information to types i965/vec4/nir: support doubles in ALU operations i965/vec4/nir: fix emitting 64-bit immediates i965/vec4: add double/float conversion pseudo-opcodes i965/vec4: translate d2f/f2d i965/vec4: set correct register regions for 32-bit and 64-bit i965/disasm: align16 DF source regions have a width of 2 i965/vec4: We only support 32-bit integer ALU operations for now i965/vec4: add dst_null_df() i965/vec4: add VEC4_OPCODE_PICK_{LOW,HIGH}_32BIT opcodes i965/vec4: add VEC4_OPCODE_SET_{LOW,HIGH}_32BIT opcodes i965/vec4: Fix DCE for VEC4_OPCODE_SET_{LOW,HIGH}_32BIT i965/vec4: don't copy propagate vector opcodes that operate in align1 mode i965/vec4: implement double unpacking i965/vec4: implement double packing i965/vec4/nir: implement double comparisons i965/vec4: fix indentation in get_nir_src() i965/vec4: fix get_nir_dest() to use DF type for 64-bit destinations i965/vec4: make opt_vector_float ignore doubles i965/vec4: fix register allocation for 64-bit undef sources i965/vec4: Rename DF to/from F generator opcodes i965/vec4: add helpers for conversions to/from doubles i965/vec4: implement HW workaround for align16 double to float conversion i965/vec4: implement d2i, d2u, i2d and u2d i965/vec4: implement d2b i965/vec4: implement fsign() for doubles i965/vec4: fix optimize predicate for doubles i965/vec4: add a helper function to create double immediates i965: move exec_size from fs_instruction to backend_instruction i965/vec4: fix size_written for doubles i965/vec4: fix regs_read() for doubles i965/vec4: use the IR's execution size i965/vec4: dump the instruction execution size i965/vec4: add a horiz_offset() helper i965: move the group field from fs_inst to backend_instruction. i965/vec4: add a SIMD lowering pass i965/vec4: make the generator set correct NibCtrl for SIMD4 DF instructions i965/vec4: dump NibCtrl for instructions with execsize != 8 i965/disasm: print NibCtrl for instructions with execsize < 8 i965/vec4: teach CSE about exec_size, group and doubles i965/vec4: teach cmod propagation about different execution sizes i965/vec4: split double-precision SEL i965/vec4: add a scalarization pass for double-precision instructions i965/vec4: translate 64-bit swizzles to 32-bit i965/vec4: implement access to DF source components Z/W i965/disasm: fix subreg for dst in Align16 mode i965/vec4: teach register coalescing about 64-bit i965/vec4: fix pack_uniform_registers for doubles i965/vec4: fix indentation in pack_uniform_registers i965/vec4: Skip swizzle to subnr in 3src instructions with DF operands i965/vec4/nir: do not emit 64-bit MAD i965/vec4: Lower 64-bit MAD i965/vec4: support multiple dispatch widths and groups in the IR builder. i965/vec4: Add a shuffle_64bit_data helper i965/vec4: Fix UBO loads for 64-bit data i965/vec4: Fix SSBO loads for 64-bit data i965/vec4: Fix SSBO stores for 64-bit data i965/vec4: prevent copy-propagation from values with a different type size i965/vec4: Prevent copy propagation from violating pre-gen8 restrictions i965/vec4: don't propagate single-precision uniforms into 4-wide instructions i965/vec4: extend the DWORD multiply DepCtrl restriction to all gen8 platforms i965/vec4: Do not use DepCtrl with 64-bit instructions i965/vec4: do not split scratch read/write opcodes i965/vec4: fix scratch offset for 64bit data i965/vec4: fix scratch reads for 64bit data i965/vec4: fix scratch writes for 64bit data i965/vec4: fix move_uniform_array_access_to_pull_constant() for 64-bit data i965/vec4: fix indentation in move_push_constants_to_pull_constants() i965/vec4: fix move_push_constants_to_pull_constants() for 64-bit data i965/vec4: make emit_pull_constant_load support 64-bit loads i965/vec4: fix indentation in lower_attributes_to_hw_regs() i965/vec4: fix attribute setup for doubles i965/vec4: fix store output for 64-bit types i965/vec4/tcs: fix input loading for 64-bit data i965/vec4/tcs: fix outputs for 64-bit data i965/vec4/tes: fix input loading for 64bit data types i965/vec4/tes: fix setup_payload() for 64bit data types i965/vec4/tes: consider register offsets during attribute setup i965/vec4: dump subnr for FIXED_GRF i965/vec4: split instructions that read 64-bit interleaved attributes i965/vec4/scalarize_df: do not scalarize swizzles that we can support natively i965/vec4/scalarize_df: support more swizzles via vstride=0 i965/vec4: prevent src/dst hazards during 64-bit register allocation i965/vec4: run scalarize_df() after spilling i965/vec4: support basic spilling of 64-bit registers i965/vec4: avoid spilling of registers that mix 32-bit and 64-bit access i965/vec4: prevent spilling of DOUBLE_TO_SINGLE destination i965/vec4: adjust spilling costs for 64-bit registers. i965/vec4: enable ARB_gpu_shader_fp64 for Haswell i965: Make intel_bachbuffer_reloc() take a batchbuffer argument i965: make intel_batchbuffer_emit_dword() take a batchbuffer as argument i965: make intel_batchbuffer_free() take a batchbuffer as argument i965: remove brw_context dependency from intel_batchbuffer_init() i965: get rid of brw->can_do_pipelined_register_writes i965/gen7: Enable OpenGL 4.0 in Haswell when supported i965: add a kernel_features bitfield to intel screen docs: add GL_ARB_gpu_shader_fp64 and OpenGL 4.0 support for Intel Haswell. docs: Mark GL_ARB_gpu_shader_fp64 and OpenGL 4.0 as done for i965/hsw+ anv: don't skip the VUE header if we are reading gl_Layer in a fragment shader isl: render target cube maps should be handled as 2D images, not cubes spirv: gl_PrimitiveID in the fragment shader is handled as an input spirv: fix typo in warning message anv: set UAV coherence required bit when needed Ian Romanick (39): nir: Optimize integer division and modulus with 1 glsl: Add some comments to methods of ir_variable_refcount_visitor linker: Trivial coding standards fixes linker: Slight code rearrange to prevent duplication in the next commit linker: Accurately track gl_uniform_block::stageref linker: Remove unnecessary overload of program_resource_visitor::visit_field glcpp: Handle '#version 0' and other invalid values glsl: Parse 0 as a preprocessor INTCONSTANT glsl/linker: Allow link_intrastage_shaders when there is no main() glsl/standalone: Optimize add-of-neg to subtract glsl/standalone: Optimize dead variable declarations glsl/standalone: Enable par-linking glsl: Generate strings that are the enum names without the ir_*op_ prefix glsl: Add a C++ code generator that uses ir_builder to rebuild a program glsl/standalone: Add the ability to generate ir_builder code nir: In split_var_copies_block, uint, int, and bool types cannot be matrices