Tag '12.0-branchpoint' created by Emil Velikov <emil.l.veli...@gmail.com> at 2016-05-30 17:45 +0000
Mesa 12.0 branchpoint -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJXTHwhAAoJEO2uN7As60kNTesP/jLgZZ4Bod1PVl3Fsc1iQFlt 8h7tKgzXPV/cIMPA2to3mTHx8Loy+i3nFztVw101FKwbbu5S2sbUtj0ZI0W72b8C oXdVql1t4lyCpG4LMLDQcA4untN2HGhRT/kAOX9ZGODnFBlFcQir1bZJ7JQOv/Hr jI3OwcBodgDoryjYjEBgaZK9FhyYTN2JuwxFYPRykF6BbKOpRn19kl25MQz8e1+P 3IuqysPuSZRlUY7/BaNYrNQKK1zs4zVBGCB73IaDroPvjUG7xvE69ul58B3H/pW4 AGHPK6zCONRECEujhMNHCNeZ2Jz3e3pU2FX9rgqyc8KufQRNsQ7NtnbfwR07Pzuu v5vfdNzZl8ER9oSF93OnRphHH2iBb7CSqii408UJkvS+JjSqqo31EmN4pNgzwbwL 6kKcKkDrzKNQB+nvgMlq6qkGelLreQ8+Qkb/8HDZMc2Yci/Oa9+0ZVbfqaSiWYGQ x9x4Fgy2Paz2E1mswhpMGA/0rLcjGIa2l4YZqKFai9rrdgG8giOQrqsK9YdP9iAe iy1EMijcayFElyuUCVTgqpld2x0rYdeoS1b1qyUh6Hbeg77RCfYtNx+oVd6nU522 jG2Umo1lKDE0uyXse4sfCYqDeOhFoGthfhhhPzZrVAAgb65AUTwKrY5M/LJisJ/I TNCO0BNW3yYecYMIL2o1 =Ys3I -----END PGP SIGNATURE----- Changes since 11.2-branchpoint: Adam Jackson (13): anv: Bump to 1.0.3 glx: Unbreak generating some of the xorg glx headers glapi/glx: Emit direct GL calls instead of dispatch lookup glapi/glx: Thunk non-ABI calls through GetProcAddress glapi/glx: Treat xserver generated targets as .PHONY glapi/glx: Sync some additional error checking from xserver glapi/glx: Mark the indirect swapped dispatch functions _X_COLD glapi: Fix whitespace droppings when printing the license header glapi: Add the safe_{add,mul,pad} functions from xserver glapi: Harden GLX request size processing (v2) glapi/glx: Mark byteswap functions as _X_UNUSED (v2) glapi: Define PURE for Sun Studio as well glapi/gen: Copy some GL 1.0 enum details into ARB_viewport_array Alejandro Piñeiro (29): mesa: Add dispatch and extension XML for GL_ARB_internalformat_query2 mesa/main: not fill mesa_error on _mesa_legal_texture_base_format_for_target mesa/formatquery: initial implementation for GetInternalformati64v mesa/formatquery: handle unmodified buffer for SAMPLES on the 64-bit query mesa/formatquery: support for IMAGE_FORMAT_COMPATIBILITY_TYPE main/formatquery: support for MAX_{WIDTH/HEIGHT/DEPTH/LAYERS} mesa/formatquery: support for MAX_COMBINED_DIMENSIONS mesa/texparam: make public target_allows_setting_sampler_parameters mesa/formatquery: added FILTER pname support i965/vec4: pass the correct src_sz to emit_send at emit_untyped_atomic i965/vec4/nir: remove emit_untyped_surface_read and emit_untyped_atomic at brw_vec4_visitor i965/vec4/nir: no need to use surface_access:: to call emit_untyped_atomic i965/fs/nir: "surface_access::" prefix not needed glsl: add is_lhs bool on ast_expression glsl: raise warning when using uninitialized variables glsl: do not raise unitialized variable warnings on builtins/reserved GL variables isl: move -lm at the end of tests_ldadd i965: get the proper vertex surface type for doubles on gen8+ i965: passthru formats cannot be used width edge flag enabled i965/fs: half exec_size when dealing with 64 bits attributes i965: Enable ARB_vertex_attrib_64bit for gen8+ docs: Mark ARB_vertex_attrib_64bit as done for i965/gen8+ i965: Expose OpenGL 4.2 for gen8+ i965/fs: take into account doubles when emitting system values glsl: add a empty set_is_lhs on ast_node glsl: do not raise uninitialized warning with out function parameters glsl: add just-log option for the standalone compiler. glsl: add warning-test glsl: add unit tests data vertex/expected outcome for uninitialized warning Alex Deucher (2): radeonsi: add new polaris10 pci ids radeonsi: add new polaris11 pci ids Andreas Fänger (1): scons: build osmesa swrast and gallium Andres Gomez (3): glsl/ast: Implicit conversion from double to float is not allowed glsl: Checks for interpolation into its own function. configure: added xcb to dri3 modules to pkg-conf Antia Puentes (37): mesa/main: Add extension tracking bit for ARB_internalformat_query2 mesa/formatquery: Added function to validate parameters mesa/formatquery: Added function to set 'unsupported' responses mesa/formatquery: Added a func to check if the <target> is supported mesa/formatquery: Added boilerplate code to extend GetInternalformativ mesa/main: Added empty skeleton of glGetInternalformati64v mesa/teximage: make public is_renderable_texture_format mesa/teximage: Make _mesa_format_no_online_compression public mesa/formatquery: Added func to check if the 'resource' is supported mesa/formatquery: Added a func to check <internalformat> supported mesa/formatquery: Added the INTERNALFORMAT_SUPPORTED <pname> query mesa/main: Make legal_get_tex_level_parameter_target public mesa/main: Extend _mesa_base_format_has_channel to accept new pnames mesa/main: Extend _mesa_get_format_bits to accept new pnames mesa/formatquery: Added INTERNALFORMAT_{X}_{SIZE,TYPE} <pname> queries mesa/formatquery: Added {COLOR,DEPTH,STENCIL}_COMPONENTS <pname> queries mesa/formatquery: Added {COLOR,DEPTH,STENCIL}_RENDERABLE <pname> queries mesa/genmipmap: Added a function to check if the target is valid mesa/genmipmap: Added a function to validate the internalformat mesa/formatquery: Added mipmap related <pname> queries mesa/formatquery: Added COLOR_ENCODING <pname> query. mesa/formatquery: Added SRGB_{READ,WRITE} <pname> queries mesa/formatquery: Added SRGB_DECODE_ARB <pname> query mesa/formatquery: Added queries related to texture sampling in shaders mesa/shaderimage: Make is_image_format_supported public mesa/formatquery: Added SHADER_IMAGE_{LOAD,STORE,ATOMIC} <pname> queries mesa/shaderimage: Added func to get the GL_IMAGE_CLASS from the format mesa/formatquery: Added queries related to image textures mesa/formatquery: Added simultaneous texture and depth/stencil queries mesa/formatquery: Added compressed texture related queries mesa/formatquery: Added CLEAR_BUFFER <pname> query mesa/textureview: Make _lookup_view_class public mesa/formatquery: Added texture view related queries mesa/formatquery: Added texture gather/shadow related queries mesa/formatquery: Added framebuffer renderability related queries i965: Enable the ARB_internalformat_query2 extension i965: Configure how to store *64*PASSTHRU vertex components Anuj Phogat (27): meta: Fix the pbo usage in meta for GLES{1,2} contexts meta: Remove the 'allocate_storage' parameter in _mesa_meta_pbo_GetTexSubImage() mesa: Fix function description mesa: Update comment swrast: Move assert for 'slice' in to check_map_teximage i965: Fix assert conditions for src/dst x/y offsets mesa: Add block depth field in struct gl_format_info mesa: Add a helper function to query 3D block sizes mesa: Add an assert for BlockDepth in _mesa_get_format_block_size() mesa: Handle 3d block sizes in getteximage error checks mesa: Handle 3d block sizes in teximage error checks mesa: Handle 3d block sizes in _mesa_compute_compressed_pixelstore mesa: Account for block depth in _mesa_format_image_size() glapi: Update dispatch XML files for OES_texture_compression_astc.xml mesa: Add mesa formats for astc 3d formats mesa: Add entries for astc 3d formats initializing struct gl_format_info mesa: Add OES_texture_compression_astc to extension table and gl_extensions mesa: Align the values of #define's in glheader.h mesa: Add the missing defines for GL_OES_texture_compression_astc mesa: Add a helper function is_astc_3d_format() mesa: Account for astc 3d formats in _mesa_is_astc_format() mesa: Handle astc 3d formats in _mesa_base_tex_format() mesa: Handle astc 3d formats in _mesa_get_compressed_formats() mesa: Enable translation between astc 3d gl formats and mesa formats swrast: Add texfetch_funcs entries for astc 3d formats i965/gen9: Remove the halign/valign field setup code in fast copy blit i965: Don't use fast copy blit in case of logical operations other than GL_COPY Ardinartsev Nikita (1): i965/urb: fixes division by zero Axel Davy (41): st/nine: Introduce helper for Position shader input st/nine: Use Position input helper for ps3 declared inputs st/nine: Handle READONLY for buffer MANAGED pool st/nine: Fix Multithreading issue with MANAGED buffers st/nine: Fix second Multithreading issue with MANAGED buffers dri: add backbuffer use flag r600: Change default behaviour for undefined COLOR0 r600g: Change default behaviour for undefined COLOR0 radeonsi: Change default behaviour for undefined COLOR0 radeonsi: Mixed colorbuffer formats are unsupported radeon: Change AA sample locations for EG+ d3dadapter9: Add ddebug, rbug and trace support st/nine: Use bufs instead of Flags for Clear st/nine: Rework UpdateTexture Checks st/nine: Forbid POSITION0 for PS3.0 st/nine: Fix some shader failures not triggering error st/nine: PositionT and Tessfactor are forbidden as PS input st/nine: Add ColorFill test for compressed textures st/nine: Fix leak after ctor failures st/nine: Increase minor d3dadapter9drm ABI st/nine: Fix header of GetIndices st/nine: Fix ff pointscale computation st/nine: Fix Pointsize in programmable shader gallium/util: Implement util_format_translate_3d st/nine: Add format fallback with conversion to surfaces st/nine: Add format fallback with conversion to volumes st/nine: Add support for X8L8V8U8 st/nine: Remove one useless function output st/nine: Format conversion for volumes in UpdateTexture st/nine: Implement BumpEnvMap for ff st/nine: Fix buffer locking flags handling st/nine: Fix buffer bind flags st/nine: Improve buffer placement st/nine: Fix CheckDeviceFormat advertising for surfaces st/nine: Fix output shift calculation st/nine: Use correct PIPE_HANDLE_USAGE flag for frontbuffer copy st/nine: Add asserts for output/input packing st/nine: Add debug string for ATOC st/nine: ATOC has effect only with ALPHATESTENABLE st/nine: Fix usage of rasterizer multisample bit. st/nine: Turn on thread_submit by default when on different device Bas Nieuwenhuizen (79): winsys/amdgpu: enlarge buffer_indices_hashlist radeonsi: add DCC decompression (v2) radeonsi: Lazily re-set sampler views after disabling DCC mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled. mesa/st: Fix NULL access if no fragment shader is bound gallium: add compute shader IR type gallium: add threads per block TGSI property gallium: add global buffer memory barrier bit gallium: distinguish between shader IR in get_compute_param radeonsi: use bounded indexing for constant buffers radeonsi: use bounded indexing for samplers radeonsi: set shader calling conventions radeonsi: Synchronize a streamout write after read hazard. mesa: Expose the ARB_robust_buffer_access_behavior extension. gallium: Add capability for ARB_robust_buffer_access_behavior. radeonsi: Mark ARB_robust_buffer_access_behavior as supported. winsys/amdgpu: Enlarge const IB size. radeonsi: Create CE IB. radeonsi: Add CE packet definitions. radeonsi: Add CE synchronization. radeonsi: Allocate chunks of CE ram. radeonsi: Add CE uploader. radeonsi: Replace list_dirty with a mask. gallium/util: Add u_bit_scan_consecutive_range64. radeonsi: Use CE for all descriptors. radeonsi: lower compute shader arguments radeonsi: add shared memory radeonsi: implement shared memory load/store radeonsi: implement shared atomics radeonsi: set maximum work group size based on block size radeonsi: update shader count for compute shaders radeonsi: implement TGSI compute shader creation radeonsi: split input upload off from si_launch_grid radeonsi: don't pass scratch buffer to user SGPRs radeonsi: do per cs setup for compute shaders once per cs radeonsi: rework compute scratch buffer radeonsi: only emit compute shader state when switching shaders radeonsi: implement TGSI compute dispatch radeonsi: update predicate condition for compute dispatches radeonsi: split texture decompression for compute shaders radeonsi: split setting graphics and compute descriptors radeonsi: do not do two full flushes on every compute dispatch radeonsi: clean up compute flush mesa/st: enable compute shaders if images are also supported radeonsi: Add CE synchronization for compute dispatches. radeonsi: Consider input SGPR count for compute shader SGPR count. radeonsi: enable TGSI support cap for compute shaders st/mesa: Use correct size for compute CAPs. radeonsi: Use defines for CONTEXT_CONTROL instead of magic values. radeonsi: Enable loading into CE RAM. winsys/amdgpu: Silence possibly uninitialized variable warning. gallium/radeon: Silence possibly uninitialized variable warning. radeonsi: Add config parameter to si_shader_apply_scratch_relocs. radeonsi: Fix memory leak in error path. winsys/radeon: enlarge buffer_indices_hashlist radeonsi: Compute correct LDS size for fragment shaders. radeonsi: Set declared tessellation LDS size to hardware size. gallium/ddebug: Add passthrough for get_compute_param. gallium/ddebug: Support compute states. gallium/ddebug: Implement launch_grid. glsl: Use correct mode for split components. radeonsi: Add buffer for offchip storage between TCS and TES. radeonsi: Add offchip tessellation parameters. radeonsi: Define build_tbuffer_store_dwords earlier to support new users. radeonsi: Add buffer load functions. radeonsi: Use correct parameter index for LS_OUT_LAYOUT. radeonsi: Add user SGPR for the layout of the offchip buffer. radeonsi: Add offchip buffer address calculation. radeonsi: Store inputs to memory when not using a TCS. radeonsi: Use buffer loads and stores for passing data from TCS to TES. radeonsi: Remove LDS layout user SGPR's from TES. radeonsi: Enable dynamic HS. radeonsi: Add barrier before writing the tess factors. radeonsi: Process multiple patches per threadgroup. radeonsi: Allow TES distribution between shader engines. gallium/ddebug: Add passthrough for query_memory_info. radeonsi: enable OpenGL 4.3 docs: Mention GL4.3 and ES3.1 support for nvc0 and radeonsi radeonsi: Don't offset OFFCHIP_BUFFERING on pre-VI cards. Ben Widawsky (19): gen8/state: Apply min/mag filters individually for samplers i965/skl: Utilize new 5th bit for gateway messages anv/push constants: Use constant buffer #2 anv/gen8: Extract SF state anv/cmd_buffer: Emit gen9 style SF state for CHV i965: Query and store GPU properties from kernel i965/chv: Use kernel provided info for max_cs_threads i965/chv: Check that compute threads are above threshold i965/chv: Update lower min for CS threads i965/chv: Display proper branding i965: Extract SSEU configuration info i965: Fix eu/subslice warning i965: Check eu/subslices are > 0 i965: Make intel_get_param return an int i965: Define miptree map functions static (trivial) i965: Always use Y-tiled buffers on SKL+ i965/bxt: Add 2x6 variant i965/sklgt4: Implement depth/timestamp write w/a isl: Fix some tautological-compare warnings BogDan Vatra (1): WIP: Partially upgrade to vulkan v0.221.0 Boyuan Zhang (4): radeon/uvd: handle HEVC main 10 decode radeon/video: enable HEVC main 10 decode st/va: add HEVC main 10 profile radeon/uvd: alignment fix for decode message buffer Brian Paul (135): svga: unbind index buffer when drawing non-indexed primitives st/mesa: fix frontbuffer glReadPixels regressions st/mesa: rename st_readpixels to st_ReadPixels st/mesa: remove useless break statement mesa: use gl_buffer_index in a few places mesa: move declaration of buffer var in handle_first_current() mesa: make _mesa_read_buffer() static mesa: make _mesa_draw_buffer() static mesa: make _mesa_draw_buffers() static mesa: updates some comments in buffers.c mesa: replace for loop with bitshifting in supported_buffer_bitmask() svga: reorder SVGA_QUERY_ switch cases to match declaration order svga: add new svga_winsys_context::get_command_buffer_size() svga: add new command-buffer-size HUD query gallium/tests: silence warning in compute.c gallium/util: re-indent u_debug_refcnt.[ch] gallium/util: make stream variable static in u_debug_refcnt.c gallium/util: update comments and URL in u_debug_refcnt.c gallium/util: add new comments, assertions in u_debug_refcnt.c st/mesa: 78-column wrapping in st_extensions.c svga: also dump SVGA3D_BUFFER surfaces in svga_screen_cache_dump() svga: add new flush-time HUD query svga: add new surface-write-flushes HUD query program: minor whitespace clean-ups in program_parse_extra.c mesa: fix malformed assertion in _image_format_class_to_glenum() r300g: add missing layer argument to rws->buffer_get_handle() call tgsi: add tgsi_transform_op3_inst() function st/mesa: simplify bitmap shader code with tgsi transform helper functions st/mesa: simplify drawpixels shader code with tgsi transform helper functions st/mesa: clean up st_translate_texture_target() gallium/tgsi: pass TGSI tex target to tgsi_transform_tex_inst() st/mesa: use correct TGSI texture target in bitmap fragment shader st/mesa: use correct TGSI texture target in drawpix fragment shader st/mesa: emit sampler view declarations for ARB vert/frag programs st/mesa: emit sampler view declaration in bitmap shader st/mesa: emit sampler view decls in drawpixels code hud: add sampler view declaration in text fragment shader postprocess: declare sampler views in shaders gallium/util: declare sampler view in util_make_fs_blit_msaa_depthstencil() gallium/tests: declare sampler views in shaders svga: use shader sampler view declarations svga: minor formatting fix, comment addition svga: add svga_winsys_context::pipe_debug_callback pointer swrast: fix discarded const warning in s_texture.c docs: use latest libDRM version st/xa: emit sampler view declarations in shaders svga: avoid freeing non-malloced memory mesa: new _mesa_prepare_mipmap_levels() function for mipmap generation st/mesa: simplify st_generate_mipmap() xlib: add support for GLX_ARB_create_context gallium/docs: s/gven/given/ tgsi: collect texture sampler target info in tgsi_scan_shader() tgsi: simplify tgsi_shader_info::is_msaa_sampler checking docs: add HTTP link for Mesa downloads meta: use _mesa_prepare_mipmap_levels() mesa: make _mesa_prepare_mipmap_level() static docs: remove docs/COPYING which contains GPL license tgsi: skip texture query opcodes when examining texture targets tgsi: split tgsi_util_get_texture_coord_dim() function into two docs: minor updates to license.html file tgsi: add simple tgsi_is_msaa_target() helper svga: check TXF instruction's target to determine MSAA svga: remove unused svga_compile_key::texture_msaa field docs: remove stray 'TBD' in 11.2.0 relnotes file svga: add some trivial null pointer checks svga: new SVGA_MSAA env var to disable/enable MSAA pixel formats st/mesa: fix glReadBuffer() assertion failure docs: fix Coverity URL st/mesa: replace _mesa_sysval_to_semantic table with function st/mesa: fix memleak in glDrawPixels cache code st/mesa: fix sampler view leak in st_DrawAtlasBitmaps() svga: separate HUD counters for state objects util/cache: add comments, fix formatting gallium/util: initialize pipe_framebuffer_state to zeros svga: whitespace and formatting fixes in svga_pipe_sampler.c svga: whitespace and formatting fixes in svga_pipe_depthstencil.c svga: whitespace and formatting fixes in svga_pipe_rasterizer.c svga: s/Elements/ARRAY_SIZE/ util/blitter: use ARRAY_SIZE macro docs: update link to Intel's graphics website docs: update the instructions for getting a git account svga: use the SVGA3D_DEVCAP_MAX_FRAGMENT_SHADER_INSTRUCTIONS query softpipe: s/Elements/ARRAY_SIZE/ draw: s/Elements/ARRAY_SIZE/ gallivm: s/Elements/ARRAY_SIZE/ hud: s/Elements/ARRAY_SIZE/ os: s/Elements/ARRAY_SIZE/ tgsi: s/Elements/ARRAY_SIZE/ llvmpipe: s/Elements/ARRAY_SIZE/ mesa: improve comment on _mesa_check_disallowed_mapping(), return bool gallium/util: s/Elements/ARRAY_SIZE/ i915g: s/Elements/ARRAY_SIZE/ ilo: s/Elements/ARRAY_SIZE/ trace: s/Elements/ARRAY_SIZE/ freedreno: s/Elements/ARRAY_SIZE/ rbug: s/Elements/ARRAY_SIZE/ svga: clean up svga_pipe_blit.c svga: fix copying non-zero layers of 1D array textures svga: try to flag surfaces for sampling, in addition to rendering cso: null-out previously bound sampler states gallium/util: change assertion to conditional in util_bitmask_destroy() main: uses casts to silence some _mesa_debug() format warnings mesa: include texture format in glGenerateMipmap error message glapi: fix parameter type for GetSamplerParameterIuivEXT() in es_EXT.xml cso: remove / add some comments st/mesa: remove unused st_context::default_texture svga: null out all sampler views if start=num=0 spirv: add switch case for nir_texop_txf_ms_mcs in vtn_handle_texture() svga: add another debug_printf() in svga_screen_create() mesa: raise error for glEnable(GL_VERTEX_ARRAY), etc. in core profile mesa: use enum name in bind_buffer_object() error message mesa: log buffer ID numbers in decimal, not hexadecimal tgsi: s/6/PIPE_SHADER_TYPES/ for tgsi_processor_type_names array size tgsi: print TGSI_PROPERTY_NEXT_SHADER value as string, not an integer mesa: add GLAPIENTRY to new _context_lost_X functions mesa: 80-column wrapping for _context_lost_GetSynciv() svga: fix primitive mode (point/line/tri) test for unfilled primitives util/indices: improve comments in u_indices.h util/indices: formatting, whitespace fixes in u_unfilled_indices.c util/indices: assert that the incoming primitive is a triangle type util/indices: implement provoking vertex conversion for adjacency primitives util/indices: implement unfilled (tri->line) conversion for adjacency prims svga: clean up and improve comments in svga_draw_private.h svga: fix test for unfilled triangles fallback svga: s/unsigned/enum pipe_prim_type/ for primitive type variables svga: s/unsigned/enum pipe_resource_usage/ for buffer usage variables util: s/unsigned/enum pipe_resource_usage/ for buffer usage variables util/indices,svga: s/unsigned/enum pipe_prim_type/ gallium: change pipe_draw_info::mode to be pipe_prim_type util/indices: move duplicated assignments out of switch cases gallium/util: use enum pipe_prim_type in u_prim.h functions svga: use MAYBE_UNUSED to silence release-build warnings svga: remove unneeded casts in get_query_result_vgpu9() calls gallium/util: another unsigned -> enum pipe_prim_type change gallium/util: another s/unsigned/enum pipe_prim_type/ for clang Bruce Cherniak (4): gallium/swr: Resource management swr: Remove stall waiting for core query counters. swr: Add missing break in query switch statement. swr: [rasterizer] Correctly select optimized primitive assembly. Chad Versace (425): vk: Ignore vk executable vk: Install headers vk: Fix result of vkCreateInstance vk/glsl_scraper: Fix code style for imports vk/glsl_scraper: Indent large text blocks vk/glsl: Reject invalid options vk/image: Remove trailing whitespace vk/image: Assert that VkImageTiling is valid vk/glsl_scraper: Replace adhoc arg parsing with argparse vk: gitignore generated source files .gitignore: Scope Vulkan's generated source files .gitignore: Ignore spirv2nir binary vk: Fix build vk: Make `make clean` remove generated spirv headers vk: Fix 2 incorrect typecasts vk/image: Add anv_image::h_align,v_align vk/image: Delete an old comment vk/image: Rewrite tile info table vk/image: Stop hardcoding alignment of stencil surfaces vk: Define anv_printflike() macro vk/util: Annotate anv_finishme() as printflike vk/image: Factor tile mode selection into separate function vk: Define anv_noreturn macro vk/util: Add anv_abortf(), anv_abortfv() vk/image: Teach anv_image_choose_tile_mode about WMAJOR vk/image: Don't double-allocate stencil buffers vk: Define MAX(a, b) macro vk: Add anv_minify() vk: Add func anv_is_aligned() vk/util: Add anv_loge() for logging error messages vk/image: Add tables for gen SurfaceType vk/image: Add anv_image::surf_type vk/image: Stop hardcoding SurfaceType of VkImageView vk/image: Check extent does not exceed surface type limits vk/formats: Don't abbreviate tokens in the format table vk: Reindent struct anv_format vk/formats: Rename anv_format::channels -> num_channels vk/formats: Rename anv_format::format -> surface_format vk/formats: Fix table entry for R8G8B8_SNORM vk/image: Rename local variable in anv_image_create() vk/formats: Fix incorrect depth formats vk: Reindent and document struct anv_depth_stencil_view vk/image: Add qpitch fields to anv_depth_stencil_view vk: Fix comment for anv_depth_stencil_view::stencil_qpitch vk/formats: #undef fmt at end of format table vk/image: Group some assertions closer together vk/image: Refactor anv_image_create() vk/formats: Remove the cpp=0 stencil hack vk: Rename functions ALIGN_*32 -> align_*32 vk: Define MIN(a, b) macro vk: Reindent struct anv_image vk/image: Abort on stencil image views vk/image: Drop some tmp vars in anv_image_view_init() vk/image: Embed VkImageCreateInfo* into anv_image_create_info vk/image: Reformat function signatures vk/image: Define anv_surface, refactor anv_image vk/image: Enable 2d single-sample color miptrees vk/depth: Add a FIXME vk/formats: Document new meaning of anv_format::cpp vk/formats: Fix entry for S8_UINT vk/image: Move validation for vkCreateImageView vk: Update VkImageViewType to 0.130.0 vk/image: Add more info to VkImageViewType table vk/image: Validate vkCreateImageView more vk: Pull in #defines from 0.130 header vk: Pull in remaining 0.130 handle types vk: Delete some comments not present in 0.130 header vk: Add func anv_clear_mask() vk: Update vkCmdPipelineBarrier to 0.130 header vk: Stub vkCmdPushConstants() from 0.130 header vk: Remove unused 'v' param from stub() macro vk/0.130: Update vkCmdWaitEvents() signature vk/0.130: Stub vkCmdExecuteCommands() vk/0.130: Update name of vkCmdClearDepthStencilImage() vk/0.130: Define VkRect3D vk/0.130: Define enum VkImageAspectFlagBits vk/0.130: Stub vkCmdClear*Attachment() funcs vk/0.130: Remove msaa members of VkDepthStencilViewCreateInfo vk/0.130: Update vkCmdBlitImage signature vk/0.130: Remove VK_DEVICE_CREATE_MULTI_DEVICE_IQ_MATCH_BIT vk/0.130: Remove VkDescriptorUpdateMode vk/0.130 Update VkObjectType values vk/0.130: Remove VkImageViewCreateInfo::minLod vk/device: Be consistent about path to DRM device vk/device: Move device enumeration to vkEnumeratePhysicalDevices() vk/device: Fix vkEnumeratePhysicalDevices() mesa: Fix generation of git_sha1.h.tmp for gitlinks vk/device: Add func anv_physical_device_finish() vk/device: Add member anv_physical_device::fd vk/gem: Change signature of anv_gem_get_aperture() vk/0.130: Implement vkGetPhysicalDeviceMemoryProperties() vk/0.130: Update vkAllocMemory to use VkMemoryType vk/0.130: Bump header version to 0.130 vk/vulkan.h: Remove headers for old API versions vk/0.132: Import the 0.132 header vk/0.132: Move VkImageType and VkImageTiling vk/0.132: Move VKImageUsageFlags vk/0.132: Remove stray typedef vk/0.132: Rename bool32_t -> VkBool32 vk/0.132: Drop VK_ATTACHMENT_STORE_OP_RESOLVE_MSAA vk/0.132: Move VkCmdBufferLevel vk/0.132: Move VkWaitEvent vk/0.132: Move VkCmdBufferOptimizeFlags vk/0.132: Move VkImageAspectFlags vk/0.132: Move VkQueryControlFlags vk/0.132: Rename VkDynamic*State types vk/0.132: Add vkDestroyFence() vk/0.132: Add vkDestroySemaphore() vk/0.132: Add vkDestroyEvent() vk/0.132: Add vkDestroyQueryPool() vk/0.132: Add vkDestroyBuffer() vk/0.132: Dispatch vkDestroyObject to new destructors vk/0.132: Add vkDestroyImage() vk/0.132: Add vkDestroyShaderModule() vk/0.132: Add vkDestroyShader() vk/0.132: Add vkDestroyPipelineCache() vk/0.132: Add vkDestroyPipeline() vk/0.132: Add vkDestroyPipelineLayout() vk/0.132: Add vkDestroySampler() vk/0.132: Add vkDestroyDescriptorSetLayout() vk/0.132: Add vkDestroyDescriptorPool() vk/0.132: Add vkDestroyDynamicViewportState() vk/0.132: Add vkDestroyDynamicRasterState() vk/0.132: Add vkDestroyDynamicColorBlendState() vk/0.132: Add vkDestroyDynamicDepthStencilState() vk/0.132: Add vkDestroyFramebuffer() vk/0.132: Add vkDestroyBufferView() vk/0.132: Add vkDestroyImageView() vk/0.132: Add vkDestroyCommandBuffer() vk/0.132: Add vkDestroy*View() vk/0.132: Add vkDestroyRenderPass() vk: Add finishmes for VkDescriptorPool vk: Fix indentation of anv_dynamic_cb_state vk: Remove struct anv_object vk/meta: Fix declared type of a shader module vk: Define struct anv_image_view, anv_buffer_view vk: Correct anv_CreateShaderModule's prototype vk: Replace some raw casts with safe casts vk: Refactor create/destroy code for anv_descriptor_set vk: Fix vkCreate/DestroyRenderPass vk: Fix vkDestroyObject dispatch for VkRenderPass vk: Stop internally calling anv_DestroyObject() vk: Delete vkDbgSetObjectTag() vk/x11: Remove raw casts vk/meta: Remove raw casts vk/glsl: Replace raw casts vk/0.132: Do type-safety vk/0.138: Update VkResult values vk: Bump vulkan.h version to 0.138 vk: Remove unneeded vulkan-138.h vk/image: Add braces around multi-line ifs vk: Remove more raw casts vk: Document members of anv_surface_view vk/image: Remove unneeded data from anv_buffer_view vk: Prefix most filenames with anv vk: Store the original VkFormat in anv_format vk: Add anv_format reference to anv_image vk: Pass anv_format to anv_fill_buffer_surface_state() vk: Add anv_format reference t anv_surface_view vk/formats: Add global pointer to anv_format for S8_UINT vk/image: Simplify stencil case for anv_image_create() vk: Add anv_format reference to anv_render_pass_attachment vk: Add anv_format_is_color() vk/meta: Use anv_format_is_color() vk/image: Don't set anv_surface_view::offset twice vk: Assert that swap chain format is a color format vk/meta: Fix dest format of vkCmdCopyImage vk/meta: Use consistent names and types in anv_saved_state vk/meta: Restore all saved state in anv_cmd_buffer_restore() vk/meta: Add Z coord to clear vertices vk: Unharcode an argument to sizeof vk: Improve memory locality of anv_render_pass vk: Use temp var in vkCreateRenderPass's attachment loop vk: Cache each render pass's number of clear ops vk/meta: Implement depth clears vk/image: Let anv_image have one anv_surface per aspect vk: Remove dummy anv_depth_stencil_view vk/gen7: Fix gen of emitted packet in gen7_batch_lri() vk: Fix format of anv_depth_stencil_view vk/gen7: Add func gen7_cmd_buffer_emit_depth_stencil() vk: Don't duplicate anv_depth_stencil_view's surface data vk: Declare some local variables as const vk: Add func anv_cmd_buffer_get_depth_stencil_view() vk/meta: Don't skip clearing when clearing only depth attachment vk/meta: Save/restore VkDynamicDepthStencilState vk/image: Don't abort when creating stencil image views vk: Program stencil ops in 3DSTATE_WM_DEPTH_STENCIL vk: Fix stride of stencil buffers vk/image: Linear stencil buffers are illegal vk/pipeline: Fix crash when the pipeline has no attributes vk/meta: Support stencil in vkCmdCopyImageToBuffer vk/meta: Partially fix vkCmdCopyBufferToImage for S8_UINT vk/image: Add PRM reference for QPitch equation vk: Refactor anv_image_make_surface() vk: Teach vkCreateImage about layout of 3D surfaces vk/gen8: Refactor setting of SURFACE_STATE::Depth vk/gen8: Set RENDER_SURFACE_STATE::RenderTargetViewExtent vk/meta: Rename meta_emit_blit() params vk/meta: Partially implement vkCmdCopy*, vkCmdBlit* for 3D images vk/image: Teach vkCreateImage about layout of 1D surfaces vk/image: Remove stale FINISHME for non-2D image views vk: Fix vkGetPhysicalDeviceSparseImageFormatProperties() vk: Advertise that depthstencil formats support sampling vk: Refactor anv_GetPhysicalDeviceFormatProperties() vk: Implement vkGetPhysicalDeviceImageFormatProperties() vk: Import header 0.170.2 header LunarG SDK vk: Copy current header to vulkan-0.138.2.h vk/0.170.2: Drop VkBufferViewCreateInfo::viewType vk/0.170.2: Update VkRenderPassBeginInfo vk/0.170.2: Update Vk VkPipelineDepthStencilStateCreateInfo vk/0.170.2: Update VkPipelineMultisampleStateCreateInfo vk/0.170.2: Drop VK_IMAGE_USAGE_GENERAL vk/0.170.2: Update VkImageSubresourceRange vk/0.170.2: Drop enum VkBufferViewType vk/0.170.2: Drop VK_BUFFER_USAGE_GENERAL vk: Better types for VkShaderStage, VkShaderStageFlags vars vk: Annotate anv_cmd_state::gen7::index_type vk/image: Document a Vulkan spec requirement for depthstencil vk: Return anv_image_view_info by value vk: Drop dependency on no longer extant header vk: Drop dependency on no longer extant header vk: Unionize anv_desciptor vk: Use consistent names for anv_*_view variables vk: Drop anv_surface_view vk: Drop anv_attachment_view::extent vk: Merge anv_*_attachment_view into anv_attachment_view vk: Update comments for anv_image_view vk: Merge anv_attachment_view into anv_image_view vk/image: Remove stale anv_asserts for depthstencil attachments vk/meta: Fix usage flags for image-wrapped-buffers vk: Add anv_image::usage vk: Remove stale finishme for stencil image views vk/pipeline: Emit MSAA finishme only if samples > 1 vk: Embed two surface states in anv_image_view vk: Drop -Wextra vk/image: Fix retrieval of anv_surface for depthstencil aspect vk/0.170.2: Merge VkAttachmentView into VkImageView vk/meta: Fix -Wstrict-prototypes vk/0.170.2: Update VkPhysicalDeviceLimits vk/0.170.2: Update VkPhysicalDeviceFeatures vk/0.170.2: Update VkFormatProperties vk/0.170.2: Update VkImageFormatProperties vk/0.170.2: Update VkPhysicalDeviceProperties vk/0.170.2: Update VkImageCreateInfo vk/0.170.2: Update VkImageViewCreateInfo vk/0.170.2: Update VkAttachmentDescription vk/0.170.2: Update vkCreateDescriptorPool vk/0.170: Update VkDescriptorInfo vk/0.170.2: Update VkResult vk/0.170.2: Update remaining enums vk/0.170.2: Update C++ errata and typedefs vk/0.170.2: Bump header version vk: Remove temporary vulkan headers Merge branch 'vulkan-0.170.2' into vulkan vk: Add README vk/meta: Add required multisample state to pipeline vk/meta: Add required renderpass to pipeline anv: Define anv_validate macro anv/pipeline: Validate VkGraphicsPipelineCreateInfo anv/pipeline: Fix requirement for depthstencil state vk: Use consistent names for anv_cmd_state dirty bits anv: Don't teardown uninitialized anv_physical_device anv: Fix parsing of load ops in VkAttachmentDescription anv/pass: Move VkRenderPass code to new file anv/pass: Remove redundant assert anv: Drop stale comment in anv_cmd_buffer_emit_binding_table() anv: Move struct anv_vue_header to anv_private.h anv: Move meta clear code to new file anv_meta_clear.c anv/meta: Rename anv_cmd_buffer_save/restore anv/meta: Use consistent naming for dynamic state mask anv/meta: Clear color attribute is always flat anv/meta: Rewrite clear code anv: Remove unused anv_render_pass members anv/meta: Finish load clears for stencil attachments isl: Add enum isl_format isl: Add CSV of format layouts isl: Generate isl_format_layout.c anv: Use enum isl_format in anv_format anv/formats: Re-indent the fmt() macro anv: Remove redundant fields anv_format::bs,bw,bh,bd anv: Strip trailing space in anv_private.h anv: Strip trailing whitespace from anv_device.c isl: Add struct isl_device isl: Add structs isl_extent2d, isl_extent3d isl: Add enum isl_tiling and a query func anv/device: Embed isl_device anv: Use enum isl_tiling everywhere isl: Embed brw_device_info in isl_device anv/image: Vulkan's depthPitch is in bytes, not rows isl: Rename legacy Y tiling to ISL_TILING_Y0 isl: Implement isl_surf_init() for gen4-gen9 anv/image: Use isl to calculate surface layout anv/image: Drop assertions on SURFTYPE extent limits anv: Embed isl_surf into anv_surface anv/gen9: Fix SURFACE_STATE halign and valign anv/image: Delete old ifdef'd out code anv: Add func anv_get_isl_format() anv/image: Fix choice of isl_surf_usage for depthstencil images anv: Remove unused anv_format_s8_uint anv: Fix anv_gem_set_tiling to respect tiling param anv: Use isl_tiling_flags in anv_image_create_info anv: Assert the succes of isl_surf_init() anv/image: Refactor anv_image_make_surface() anv: Remove unused anv_image_view_info_for_vk_image_view_type() anv/image: Drop unused halign, valign lookup tables anv/image: Remove some vkCreateImage validation anv: Fix build for unit tests anv/tests: gitignore block_pool_no_free isl: Rename s/lod_align/image_align/ for consistency anv/meta: Fix VkImageViewType anv: Remove anv_image::surface_type isl: Move it a standalone directory isl: Fix calculation of array pitch for layout GEN4_2D isl: Add func isl_surf_get_image_offset_sa isl: Fix assertion failure for npot pixel formats isl: Document the 3D block extent of isl_format isl: Better document surface units isl: Document some isl_surf::phys_level0_sa invariants isl: Fix swapped if-else in isl_calc_row_pitch isl: Fix row pitch for linear buffers isl: Document mnemonic in Yf and Ys tiling isl: Align single-level 2D surfaces to compression block isl: Fix mis-documented units of isl_surf::phys_level_sa isl: Align isl_surf::phys_level0_sa to the format's compression block anv: Use isl_format_layout::bs instead of ::bpb isl: Remove isl_format_layout::bpb isl: Prefer linear tiling for 1D surfaces isl: Document gen7_filter_tiling() isl: Don't force linear for 1d surfaces in gen7_filter_tiling() anv/meta: Teach meta how to blit from a 1D image anv/gen9: Fix oob lookup of surface halign, valign isl: Fix the documented units of isl_surf::row_pitch isl: Don't align phys_slice0_sa.width twice isl/gen9: Support ISL_DIM_LAYOUT_GEN9_1D isl: Add isl_surf_get_array_pitch_el() anv/gen9: Teach gen9_image_view_init() about 1D surface qpitch isl: Refactor func isl_calc_array_pitch_sa_rows isl/gen9: Fix array pitch of 3d surfaces isl: Add missing break statement in array pitch calculation anv/meta: Fix hardcoded format size in anv_CmdCopy* anv/gen8: Refactor genX_image_view_init() anv/gen9: Fix cube surface state anv/gen7: Remove unheeded helper begin_render_pass() anv/meta: Add FINISHME for clearing multi-layer framebuffers anv: Remove duplicate func prototype anv: Add FIXME for vkResetCommandPool anv: Make vkBeginCommandBuffer reset the command buffer anv: Document anv_cmd_state::current_pipeline anv: Add anv_cmd_state::attachments anv/meta: Use anv_cmd_state::attachments for clears anv/meta: Rename emit_load_*_clear funcs anv: Define zero() macro anv: Move MAX_* defs to top of anv_private.h anv/meta: Name the nir shaders anv: Allow override of pipeline color attachment count anv/meta: Create 8 pipelines for color clears anv: Emit load clears at start of each subpass anv: Distinguish between subpass setup and subpass start anv/meta: Add VkClearRect param to emit_clear() anv/meta: Implement vkCmdClearAttachments anv/meta: Implement vkCmdClearDepthStencilImage anv/gen8: Fix SF_CLIP_VIEWPORT's Z elements anv/meta: Reuse code for vkCmdClear{Color,DepthStencil}Image anv/meta: Stop leaking renderpass and framebuffer anv: Populate SURFACE_STATE more safely isl: Add a README anv/image: Stop including gen8_pack.h in common file isl/tests: Fix build isl/tests: Remove copy-paste assertion isl/tests: Add test for bdw 3d surface isl: Fix isl_surf_get_image_offset_sa for gen4_3d layout isl/tests: Give tests less cryptic names isl: Fix indentation of isl_format_layout comment anv/state: Dedupe code for lowering surface format isl: Add func isl_device_get_sample_counts() anv: Use isl_device_get_sample_counts() anv: Add anv_image::samples anv/meta: Assert correct sample counts for blit funcs isl: Add func isl_tiling_is_any_y() isl: Fix gen8_choose_msaa_layout() anv/image: Drop assertion that samples == 1 anv/formats: Advertise multisample formats anv/formats: Rename ambiguous func parameter anv/meta: Fix sample mask in clear pipelines isl: Add func isl_surf_get_tile_info() isl: Fix row pitch for compressed formats isl: Add func isl_surf_get_image_offset_el() isl/tests: Rename t_assert_offset() isl: Add func isl_get_intratile_image_offset_el() isl/tests: Add some tests for intratile offsets anv/meta: Merge anv_meta_clear.h into anv_meta.h anv/gen8: Set multisample surface state anv/gen8: Begin enabling pipeline multisample state anv/meta: Add func anv_meta_get_iview_layer() anv/meta: Implement vkCmdResolveImage anv/meta: Simplify failure handling during clear init anv/meta: Implement multisample clears anv: Fix comment for anv_meta_state arrays anv/skl: Fix crash in 16x multisampling anv/image: Update usage flags for multisample images anv/meta_resolve: Begin pass outside emit_resolve() anv/meta_resolve: Save/Restore viewport and scissor anv: Add anv_subpass::has_resolve anv: Drop const on anv_framebuffer::attachments anv/meta_resolve: Remove redundant initialization params anv/meta: Remove unneeded resolve pipeline anv: Do resolves at end of subpass anv: Update MSAA status in README anv/meta: Strip trailing whitespace anv: Structify a one-member union anv/image: Rename nonrt_surface_state anv: Drop anv_image::needs_*_surface_state anv: Rename anv_format::surface_format -> isl_format isl: Add func isl_surf_get_depth_format() anv: Replace anv_format::depth_format with ::has_depth isl: Add more assertions to isl_surf_get_depth_format() anv/image: Fix choose_isl_surf_usage() anv/image: Refactor choose_isl_surf_usage() anv/image: Fix usage for depthstencil images anv/meta: Hardcode smooth texcoord interpolation in blit shaders anv/meta: Move blit code to anv_meta_blit.c anv/meta_blit: Coalesce glsl_vec4_type vars anv/meta_blit: Remove references to clearing dri: Fix robust context creation via EGL attribute util: Fix warning of invalid return value Charmaine Lee (12): svga: fix an error in svga_texture_generate_mipmap svga: add new num-readbacks HUD query svga: add a few more resource updates HUD query svga: optimize constant buffer uploads svga: rebind index buffer svga: rebind stream output targets svga: Fix the index buffer rebind regression svga: emit sampler declarations in the helper function for non vgpu10 svga: minimize surface flush svga: fix assert with PIPE_QUERY_OCCLUSION_PREDICATE for non-vgpu10 svga: mark the texture dirty for write transfer map only svga: eliminiate unnecessary constant buffer updates Christian König (13): radeon/uvd: disable MPEG1 st/mesa: conditionally enable GL_NV_vdpau_interop gallium/winsys/drm: add offset to struct winsys_handle gallium/winsys/drm: add layer to struct winsys_handle radeon/winsys: add offset support for BO import/export radeon/winsys: add layer support for BO export radeonsi: ignore PIPE_BIND_LINEAR in si_is_format_supported v2 st/vdpau: use linear layout for output surfaces st/vdpau: add new interop interface st/vdpau: move FormatRGBAToPipe into the interop st/vdpau: implement the new DMA-buf based interop v2 st/mesa: implement new DMA-buf based VDPAU interop v2 r600: ignore PIPE_BIND_LINEAR in *_is_format_supported Christian Schmidbauer (2): st/nine: specify WINAPI only for i386 and amd64 st/nine: Clean up WINAPI definition Chuck Atkins (2): glx: Refactor the configure options for glx implementation choice (v3) configure.ac: correct the xlib/xlib-gallium GLX detection for GLVND Connor Abbott (133): awesome control flow bugfixes/clarifications composites composites composites fix glsl450 for composites nir/types: add a helper to transpose a matrix type nir/builder: add a nir_fdot() convenience function nir/types: be less strict about constructing matrix types matrices matrices matrices unbreak things nir/vtn: fix emitting code after loops nir/builder: add support for inserting before/after blocks nir/vtn: add support for phi nodes Merge branch 'wip/nir-vtn' into vulkan nir/spirv: move 'type' into the union nir/spirv: add a vtn_type struct nir/spirv: handle structure member builtin decorations nir/spirv: plumb through the type of dereferences nir/spirv: pull out logic for getting builtin locations nir/spirv: fix a bad assertion in the decoration handling nir/spirv: fix a bug with structure creation nir/spirv: add support for builtins inside structures nir/spirv: fix some bugs vk/compiler: mark inputs/outputs as read/written vk/compiler: create the right kind of program struct nir/spirv: zero out value array nir/spirv: fix memory context for builtin variable nir/spirv: fix wrong writemask for ALU operations vk/compiler: create an empty parameters list nir/spirv: update to SPIR-V revision 31 vk/device: explain why a flush is necessary nir: move to two-level binding model for UBO's nir/types: add more nir_type_is_xxx() wrappers nir/spirv: add support for loading UBO's nir/spirv: don't declare builtin blocks nir/types: add a helper to transpose a matrix type nir/types: add more nir_type_is_xxx() wrappers nir/builder: add a nir_fdot() convenience function nir/types: add a function to get the bitsize of a base type nir: add nir_{src,dest}_bit_size() helpers nir: update opcode definitions for different bit sizes nir: add a bit_size parameter to nir_ssa_dest_init nir: propagate bitsize information in nir_search nir/from_ssa: adapt to different bit sizes nir/locals_to_regs: adapt to different bit sizes nir/lower_vec: adapt to different bit sizes nir/glsl_to_nir: support doubles nir/print: add support for printing doubles and bitsize nir: handle doubles in nir_deref_get_const_initializer_load() nir/instr_set: handle 64-bit bit-sizes nir/split_var_copies: handle doubles nir: add support for d2f and f2d nir: add support for (un)pack_double_2x32 nir: don't try to scalarize unpack_double_2x32 nir: add split versions of (un)pack_double_2x32 nir: add a pass for lowering (un)pack_double_2x32 nir: rename nir_foreach_block*() to nir_foreach_block*_call() nir/opt_cp: use nir_block_get_following_if() nir: rewrite nir_foreach_block and friends nir/builder: add nir_imm_double() nir: add a pass to lower some double operations nir/dominance: fixup for new foreach_block() nir/from_ssa: fixup for new foreach_block() nir/inline_functions: fixup for new foreach_block() nir/liveness: fixup for new foreach_block() nir/lower_alu_to_scalar: fixup for new foreach_block() nir/lower_clip: fixup for new foreach_block() nir/nir: fixup for new foreach_block() nir/lower_gs_intrinsics: fixup for new foreach_block() nir/lower_locals_to_regs: fixup for new foreach_block() nir/lower_load_const: fixup for new foreach_block() nir/lower_atomics: fixup for new foreach_block() nir/nir_lower_global_vars: fixup for new foreach_block() nir/lower_indirect_derefs: fixup for new foreach_block() nir/lower_phis_to_scalar: fixup for new foreach_block() nir/lower_system_values: fixup for new foreach_block() nir/lower_io: fixup for new foreach_block() nir/lower_to_source_mods: fixup for new foreeach_block() nir/lower_idiv: fixup for new foreach_block() nir/lower_vec_to_movs: fixup for new foreach_block() nir/lower_vars_to_ssa: fixup for new foreach_block() nir/move_vec_src_uses_to_dest: fixup for new foreach_block() nir/lower_var_copies: fixup for new foreach_block() nir/normalize_cubemap_coords: fixup for new foreach_block() nir/lower_samplers: fixup for new foreach_block() nir/opt_constant_folding: fixup for new foreach_block() nir/opt_gcm: fixup for new foreach_block() nir/opt_dce: fixup for new foreach_block() nir/opt_dead_cf: fixup for new foreach_block()