[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/vulkan/spirv-cross][debian-unstable] 104 commits: MSL: Fix invalid packing for pointer-to-vector.



Title: GitLab

Dylan Aïssi pushed to branch debian-unstable at X Strike Force / vulkan / spirv-cross

Commits:

  • 4b27b458
    by Hans-Kristian Arntzen at 2024-06-19T12:22:16+02:00
    MSL: Fix invalid packing for pointer-to-vector.
    
    Normally BDA is pointer to block, but there are use cases with
    OpPtrAccessChain.
    
  • bc105b6a
    by Hans-Kristian Arntzen at 2024-06-19T13:43:08+02:00
    MSL: Consider pointer arithmetic for OpPtrAccessChain.
    
    If the stride is weird for non-struct types you gotta do what you gotta
    do.
    
  • eeb35a97
    by Hans-Kristian Arntzen at 2024-06-19T14:23:49+02:00
    MSL: Clean up some obsolete use of type.pointer.
    
  • 098427a9
    by Hans-Kristian Arntzen at 2024-06-19T14:24:50+02:00
    MSL: Cast to packed format when using unexpected stride.
    
    We're still technically missing handling for Aligned mask on Load/Store,
    but that needs separate analysis and gets horribly annoying ...
    This should cover most use cases.
    
  • ff82659d
    by Hans-Kristian Arntzen at 2024-06-19T14:29:28+02:00
    MSL: Add test for custom ArrayStride.
    
  • 7e469d09
    by Hans-Kristian Arntzen at 2024-06-19T14:45:24+02:00
    MSL: Fix indent.
    
  • d79ba7d7
    by Hans-Kristian Arntzen at 2024-06-19T15:02:32+02:00
    Merge pull request #2346 from KhronosGroup/fix-2336
    
    MSL: Handle OpPtrAccessChain with ArrayStride
  • eadf9d34
    by Bill Hollings at 2024-06-19T17:06:13-04:00
    MSL: Support a runtime array with dynamic offset in an argument buffer.
    
    - Retrieve size of runtime array from get_resource_array_size().
    - Move validation assertion to after retrieval of array size.
    
  • 6fd1f756
    by Hans-Kristian Arntzen at 2024-06-19T23:25:34+02:00
    Merge pull request #2347 from billhollings/arg-buff-runtime-array
    
    MSL: Support a runtime array with dynamic offset in an argument buffer.
  • cb06c50e
    by Evan Tang at 2024-07-09T10:52:14-05:00
    Fix MSL for OpImageQueryLod on a vector larger than needed
    
  • b37f1598
    by Jan Sikorski at 2024-07-11T11:21:04+02:00
    MSL: Recompile when an aliased descriptor's name is changed.
    
  • abed74fb
    by Hans-Kristian Arntzen at 2024-07-15T11:53:20+02:00
    Small nit.
  • c1bf9099
    by Hans-Kristian Arntzen at 2024-07-15T12:02:06+02:00
    Merge pull request #2350 from etang-cw/QueryLod
    
    Fix MSL for OpImageQueryLod on a vector larger than needed
  • ae75fccf
    by Hans-Kristian Arntzen at 2024-07-15T12:50:14+02:00
    Add more detailed comment explaining the force recompile hack.
  • 12974997
    by Bill Hollings at 2024-07-15T12:52:02+02:00
    MSL: Minor fix to resource type of spvBufferSizeConstants array indexes.
    
    - spvBufferSizeConstants tracks MSL indexes of buffers, not images.
    - Previous code did not allow array index beyond zero.
    
  • d17a2d69
    by Hans-Kristian Arntzen at 2024-07-15T12:52:24+02:00
    Merge pull request #2351 from js6i/entry_point_decls
    
    Stale access permissions for overlapping descriptors
  • 1de3f8c1
    by Hans-Kristian Arntzen at 2024-07-15T13:22:11+02:00
    HLSL: Implement SM 6.8 BaseVertex/BaseInstance.
    
  • 68d40111
    by Hans-Kristian Arntzen at 2024-07-15T13:32:13+02:00
    Merge pull request #2356 from KhronosGroup/fix-2348
    
    HLSL: Implement SM 6.8 BaseVertex/BaseInstance.
  • b7dbf7a3
    by Andrei Alexeyev at 2024-07-23T16:47:03+02:00
    Fix incorrect return value for ParsedIR::get_member_decoration(SpvDecorationMatrixStride)
    
  • 66363ac7
    by Hans-Kristian Arntzen at 2024-07-30T09:49:39+02:00
    Merge pull request #2357 from taisei-project/fix-matrix-stride
    
    Fix incorrect return value for ParsedIR::get_member_decoration(SpvDecorationMatrixStride)
  • 670cc7fb
    by Evan Tang at 2024-08-07T11:27:16-05:00
    Fix volatile helper invocation in non-main functions
    
  • 467ba391
    by Evan Tang at 2024-08-07T12:03:25-05:00
    Don't add volatile to thread address space variables
    
  • f51773b8
    by Salman Ahmed at 2024-08-08T13:52:06+03:00
    Fix CMake failing with Android NDK 27+
    
  • 7af81ede
    by Hans-Kristian Arntzen at 2024-08-20T10:07:22+02:00
    Merge pull request #2360 from etang-cw/VolatileHelperNonMain
    
    Fix volatile helper invocation in non-main functions
  • 5c424470
    by Hans-Kristian Arntzen at 2024-08-20T10:24:41+02:00
    Merge pull request #2361 from frenzibyte/fix-cmake-on-android
    
    Fix CMake failing with Android NDK 27+
  • 61193afb
    by Hans-Kristian Arntzen at 2024-08-20T10:31:41+02:00
    c: Add HLSL option use_entry_point_name.
    
  • d33a3904
    by Hans-Kristian Arntzen at 2024-08-20T10:52:29+02:00
    Merge pull request #2365 from KhronosGroup/fix-2362
    
    c: Add HLSL option use_entry_point_name.
  • b49acb11
    by Hans-Kristian Arntzen at 2024-08-23T10:53:01+02:00
    Handle SpecConstantOp used as switch case.
    
  • dae7a689
    by Hans-Kristian Arntzen at 2024-08-23T10:57:24+02:00
    Merge pull request #2367 from KhronosGroup/spec-constant-switch
    
    Handle SpecConstantOp used as switch case.
  • 96cea7f6
    by chyyran at 2024-08-31T16:57:38-04:00
    c: wrap spvc_compiler_set_entry_point in error scope
    
  • e2de90ed
    by Hans-Kristian Arntzen at 2024-09-02T13:31:45+02:00
    Roll toolchain deps.
    
  • caebe2f1
    by Hans-Kristian Arntzen at 2024-09-02T13:36:38+02:00
    Merge pull request #2372 from chyyran/c_wrap_set_entry_point_in_handler
    
    c: wrap spvc_compiler_set_entry_point in error scope
  • aad675ff
    by Hans-Kristian Arntzen at 2024-09-02T13:50:00+02:00
    Merge pull request #2375 from KhronosGroup/fix-2366
    
    Roll toolchain deps.
  • b2171de6
    by chyyran at 2024-09-02T09:39:40-04:00
    c: allow access to gl_plain_uniforms resources
    
  • 4b98efbf
    by chyyran at 2024-09-02T09:40:47-04:00
    c: Add HLSL option preserve_structured_buffers
    
  • 28d89140
    by chyyran at 2024-09-02T10:12:52-04:00
    Replace assert of buffer block SPIRType with exception
    
  • c1161c56
    by Hans-Kristian Arntzen at 2024-09-02T16:59:10+02:00
    Merge pull request #2373 from chyyran/c_gl_plain_uniforms
    
    c: allow access to gl_plain_uniforms resources
  • c29a7b2e
    by Hans-Kristian Arntzen at 2024-09-02T17:00:39+02:00
    Merge branch 'c_hlsl_preserve_structured_buffers' of https://github.com/chyyran/SPIRV-Cross
    
  • 6a1fb66e
    by Hans-Kristian Arntzen at 2024-09-02T17:02:54+02:00
    Merge pull request #2376 from chyyran/get_buffer_block_flags_no_assert
    
    Replace assert of buffer block SPIRType with exception in `get_buffer_block_flags`
  • 83f74950
    by flafflar at 2024-09-08T15:46:00+03:00
    GLSL: Convert switch blocks to if statements in legacy desktop versions
    
  • f84c1fbe
    by Hans-Kristian Arntzen at 2024-09-10T17:12:01+02:00
    Merge pull request #2377 from flafflar/legacy-glsl-switch-handling
    
    GLSL: Convert switch blocks to if statements in legacy desktop versions
  • e4c2f30f
    by Evan Tang at 2024-09-11T11:19:51-05:00
    Reduce recompile count with texture atomics
    
    Avoid waiting until a run where we're not forcing a recompile to force another recompile
    
  • 8894bca0
    by Hans-Kristian Arntzen at 2024-09-18T16:39:34+02:00
    Small style nit.
  • 65d73934
    by Hans-Kristian Arntzen at 2024-09-18T16:39:49+02:00
    Merge pull request #2379 from etang-cw/TexAtomicRecompile
    
    Reduce recompile count with texture atomics
  • ffd3c0c6
    by chyyran at 2024-09-25T02:07:27-04:00
    MSL: add fmod to reserved function names
    
  • b28b3559
    by Hans-Kristian Arntzen at 2024-09-25T11:02:07+02:00
    Merge pull request #2382 from chyyran/add-fmod-to-banned-msl-names
    
    MSL: add fmod to reserved function names
  • 71b8e4bd
    by Wooyoung Kim at 2024-10-07T23:25:04-07:00
    support for SPV_QCOM_image_processing2
    
      o shaders/asm/frag/locations-components.asm.frag
      o shaders/vulkan/frag/block-match-gather-sad.frag
      o shaders/vulkan/frag/block-match-gather-ssd.frag
      o shaders/vulkan/frag/block-match-window-sad.frag
    
    fixed a couple of tests
    
      o shaders/asm/frag/locations-components.asm.frag
      o shaders/vulkan/vert/small-storage.vk.vert
    
  • 46ba543b
    by rdb at 2024-10-10T00:59:16+02:00
    Allow empty structs in legacy HLSL
  • 5f484113
    by Hans-Kristian Arntzen at 2024-10-14T11:52:29+02:00
    Merge pull request #2389 from rdb/patch-1
    
    Allow empty structs in legacy HLSL
  • 208adcd2
    by Hans-Kristian Arntzen at 2024-10-14T11:54:46+02:00
    Merge pull request #2386 from CodeLinaro/SPV_QCOM_image_processing2
    
    support for SPV_QCOM_image_processing2
  • 1b97ecd2
    by Hans-Kristian Arntzen at 2024-10-14T12:20:37+02:00
    MSL: Fix emission of bindless helper template for bindless SSBO.
    
  • 12ca15df
    by Hans-Kristian Arntzen at 2024-10-14T13:11:59+02:00
    Merge pull request #2390 from KhronosGroup/fix-2384
    
    MSL: Fix emission of bindless helper template for bindless SSBO.
  • 0c24391f
    by Hans-Kristian Arntzen at 2024-10-14T13:12:09+02:00
    HLSL: Implement SV_Barycentrics.
    
    Also fix perVertex on GLSL IO blocks.
    
  • 36e54568
    by Hans-Kristian Arntzen at 2024-10-14T13:47:04+02:00
    Merge pull request #2391 from KhronosGroup/hlsl-barycentrics
    
    HLSL: Implement SV_Barycentrics.
  • 80cdb5e7
    by squidbus at 2024-10-14T07:55:30-07:00
    MSL: Work around internal compiler error from mulhi.
    
  • c82f1cc9
    by Hans-Kristian Arntzen at 2024-10-15T10:48:43+02:00
    MSL: Use actual result type member as cast type for mulhi.
    
    There might be initializer errors if there's a mismatch knowing C++11
    rules, so be defensive.
    
  • df234e82
    by Hans-Kristian Arntzen at 2024-10-15T11:07:39+02:00
    MSL: Allow Centroid and Sample decorations on bary coord.
    
    glslang doesn't seem to support this, so need asm shaders.
    
  • 1f4b24e7
    by Hans-Kristian Arntzen at 2024-10-15T11:14:06+02:00
    Merge pull request #2394 from KhronosGroup/msl-bary-decoration-fix
    
    MSL: Allow Centroid and Sample decorations on bary coord.
  • e670b39c
    by Hans-Kristian Arntzen at 2024-10-15T11:48:48+02:00
    GLSL: Just skip over impossible declarations instead of early-exit.
    
  • 5ce80e12
    by Hans-Kristian Arntzen at 2024-10-23T11:45:17+02:00
    Make SRem sign aware like all the other arithmetic ops.
    
  • f93223f3
    by Hans-Kristian Arntzen at 2024-10-23T12:52:46+02:00
    Merge pull request #2397 from KhronosGroup/fix-2396
    
    Make SRem sign aware like all the other arithmetic ops.
  • adecb7a3
    by M. P. Halpin at 2024-10-26T01:28:27-04:00
    Set macOS build settings in CI/CD
    
  • 60eb0b5c
    by kiddkaffeine at 2024-10-26T03:47:47-04:00
    Add CI/CD for Apple mobile platforms
    
  • 3a0366bf
    by Try at 2024-10-29T00:24:56+01:00
    added mesh-shader support
    
  • 7ab00300
    by Try at 2024-10-30T00:09:38+01:00
    fix gl_CullDistance, gl_PrimitiveShadingRateEXT
    
    Not supported in MSL:
    gl_CullDistance, gl_PrimitiveShadingRateEXT
    
    Fixup type of gl_CullPrimitiveEXT:
    short -> bool
    
  • bd8a1604
    by Try at 2024-10-30T00:29:33+01:00
    Update mesh-shader-basic-lines.msl3.spv14.vk.nocompat.mesh
    
  • 492fa9cd
    by Hans-Kristian Arntzen at 2024-10-30T11:21:04+01:00
    Review fixups.
    
  • 2f082601
    by Hans-Kristian Arntzen at 2024-10-30T11:32:00+01:00
    Merge pull request #2401 from KhronosGroup/pr-2400
    
    Land PR 2400.
  • 60858472
    by Hans-Kristian Arntzen at 2024-10-30T11:45:02+01:00
    Merge pull request #2398 from kiddkaffeine/feature/test-cicd
    
    Set macOS build settings in CI/CD
  • bf41c8a4
    by Hans-Kristian Arntzen at 2024-10-30T11:45:10+01:00
    Merge pull request #2399 from kiddkaffeine/feature/cicd-mobile
    
    Add CI/CD for Apple mobile platforms
  • 99e6f3a2
    by Hans-Kristian Arntzen at 2024-10-30T19:20:22+01:00
    MSL: Fix crash when per-primitive variables are not used.
    
  • 30b0b983
    by Try at 2024-10-31T00:20:00+01:00
    added task shader support
    
  • 32dfe6d0
    by Hans-Kristian Arntzen at 2024-11-01T11:53:01+01:00
    Minor nits from review.
    
  • d1d4adbe
    by Hans-Kristian Arntzen at 2024-11-01T11:58:34+01:00
    Merge pull request #2404 from KhronosGroup/pr-2402
    
    Land PR 2402.
  • 2e5f2089
    by Spencer Fricke at 2024-11-04T22:35:15-07:00
    ci: Build dependency for Github Actions
  • a0183472
    by Hans-Kristian Arntzen at 2024-11-05T10:48:26+01:00
    Merge pull request #2405 from KhronosGroup/spencer-lunarg-patch-1
    
    ci: Build dependency for Github Actions
  • 5b05a7d7
    by Bill Hollings at 2024-11-05T11:14:34-05:00
    MSL: Pad array elements in Metal argument buffer when shader declares scalar.
    
    A shader may declare and access the first element of a descriptor array
    as a scalar, which throws off the remaining structure of a Metal Argument
    Buffer. Add a padding member to the shader Metal argument buffer struct
    to consume the descriptor elements beyond the first.
    
    - CompilerMSL::analyze_argument_buffers(): Track when a descriptor array
      is declared as a scalar in shader, and add a subsequent member to the
      Metal argument buffer struct to consume the elements beyond the first.
    - CompilerMSL::get_resource_array_size(): Ensure variable id is valid.
    
  • f822e849
    by rdb at 2024-11-09T15:37:46+01:00
    glsl: Correct version number check for texture buffers
  • 8caa638e
    by rdb at 2024-11-09T21:43:06+01:00
    GLSL: Use u literal suffix in legacy if GL_EXT_gpu_shader4 available
    
  • fef81140
    by Dr. Dystopia at 2024-11-12T19:01:56+01:00
    Add out-of-bounds assertions
    
  • 6cbb943b
    by Hans-Kristian Arntzen at 2024-11-13T12:00:08+01:00
    Merge pull request #2410 from rdb/glsl-legacy-fix-int-literal-suffix
    
    GLSL: Use u literal suffix in legacy GLSL if GL_EXT_gpu_shader4 is available
  • be7c1a36
    by Hans-Kristian Arntzen at 2024-11-13T12:00:32+01:00
    Merge pull request #2409 from rdb/patch-1
    
    glsl: Correct version number check for texture buffers
  • c6458bd8
    by Hans-Kristian Arntzen at 2024-11-13T12:08:09+01:00
    Apply suggestions from code review
  • cc62898f
    by Hans-Kristian Arntzen at 2024-11-13T12:16:52+01:00
    Merge pull request #2406 from billhollings/pad-arg-buff-scalar-on-array
    
    MSL: Pad array elements in Metal argument buffer when shader declares scalar.
  • 25ffa1e0
    by Hans-Kristian Arntzen at 2024-11-13T12:17:08+01:00
    Merge pull request #2414 from tygyh/Add-out-of-bounds-assertions
    
    Add out-of-bounds assertions
  • f669d0ca
    by Hans-Kristian Arntzen at 2024-11-13T12:37:30+01:00
    Get rid of MSL SDK check on CI.
    
    It breaks for some reason that cannot be debugged locally.
    
  • 5b933978
    by Hans-Kristian Arntzen at 2024-11-13T12:46:48+01:00
    MSL: centroid/sample barycentrics aren't supported after all.
    
  • 9040e0d2
    by Hans-Kristian Arntzen at 2024-11-13T12:54:45+01:00
    Merge pull request #2417 from KhronosGroup/metal-sdk-ci-fix
    
    Get rid of MSL SDK check on CI.
  • f7783b50
    by Try at 2024-11-18T22:57:33+01:00
    fixes for mesh-shader
    
    * fix writing of standalone variables to  output
    * fix for unused variable warning for `spvThreadCount`
    
  • 42c21360
    by Hans-Kristian Arntzen at 2024-12-06T12:43:45+01:00
    Merge pull request #2418 from Try/msl-mesh-shader-patch1
    
    Fixes for Metal mesh-shader
  • 56d0aa49
    by Hans-Kristian Arntzen at 2024-12-06T12:56:23+01:00
    MSL: Use unpacked arguments in texture arguments.
    
    If sourcing arguments directly from std140 UBO arrays or something, we generated broken code.
    
  • 6eac38b0
    by Hans-Kristian Arntzen at 2024-12-06T13:27:17+01:00
    Merge pull request #2422 from KhronosGroup/fix-2416
    
    MSL: Use unpacked arguments in texture arguments.
  • a75ad07e
    by Hans-Kristian Arntzen at 2024-12-09T16:21:58+01:00
    Track invariance dependencies separate from _expression_ deps.
    
    We need to be able to punch through any non-forwarded temporaries as
    well.
    
    Any SSA variable that is a dependency of an invariant store must be
    flushed to temporary.
    
  • 022aad45
    by Hans-Kristian Arntzen at 2024-12-10T11:00:04+01:00
    Merge pull request #2425 from KhronosGroup/fix-2420
    
    Track invariance dependencies separate from _expression_ deps.
  • 67dfa0d9
    by marcos balsa at 2024-12-11T17:40:55+01:00
    Actually traverse the dependency chain through temporaries.
    
    Co-authored-by: Hans-Kristian Arntzen <post@arntzen-software.no>
    
  • d2478b20
    by Hans-Kristian Arntzen at 2024-12-11T18:47:31+01:00
    Merge pull request #2428 from KhronosGroup/pr2427
    
    Land PR #2427
  • 5d28c71f
    by Hans-Kristian Arntzen at 2024-12-12T14:25:57+01:00
    Forward builtin state through access chains.
    
    Aids some lowering cases we need to rewrite loads and stores.
    
  • 2b690089
    by Hans-Kristian Arntzen at 2024-12-12T14:25:57+01:00
    HLSL: Handle array load/store of clip/cull in mesh shaders.
    
    Very cursed workaround since it's the only real case where we cannot
    rely on IO lowering :(
    
  • de515fe9
    by Hans-Kristian Arntzen at 2024-12-12T14:25:57+01:00
    HLSL: Don't emit the builtin PerVertex array as inout.
    
    DXC barfs on this in certain cases. out seems to work. Passing this
    around as value type is very questionable to begin with and there's no
    way to express true references in HLSL :\
    
  • ebe2aa0c
    by Hans-Kristian Arntzen at 2024-12-12T14:37:40+01:00
    Merge pull request #2429 from KhronosGroup/fix-2411
    
    HLSL: Fix lowering of arrayed clip/cull distance in mesh shaders.
  • b0f8873c
    by Dylan Aïssi at 2025-02-21T17:00:53+01:00
    Merge branch 'upstream-unstable' into debian-unstable
    
  • 3dc5d90b
    by Dylan Aïssi at 2025-02-21T17:02:19+01:00
    Bump debian/changelog
    
  • 13c3b029
    by Dylan Aïssi at 2025-02-21T17:07:36+01:00
    Release spirv-cross version 2021.01.15+1.4.304.1-1
    
  • 494d99dd
    by Dylan Aïssi at 2025-03-11T17:20:00+01:00
    Release spirv-cross version 2021.01.15+1.4.304.1-2
    
    Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
    

143 changed files:

The diff was not included because it is too large.

Reply to: