d47183c0db
An entry-point array of buffers, that is not part of a Metal argument buffer, requires a known length, so it can be emitted as discrete buffers. For runtime arrays of resources, this can be retrieved from the resource binding information added via add_msl_resource_binding(). - Redefine get_resource_array_size() to consolidate array sizing using both var type, and runtime array sizing from resource bindings, if not found in type. - Use get_resource_array_size() to fix issue for runtime arrays of buffers. - Update runtime arrays of images and samplers to use get_resource_array_size(). - Add .DS_Store to .gitignore (unrelated).
29 lines
297 B
Plaintext
29 lines
297 B
Plaintext
# Copyright 2016-2021 The Khronos Group Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
*.o
|
|
*.d
|
|
*.txt
|
|
/build
|
|
/test
|
|
/spirv-cross
|
|
/obj
|
|
/msvc/x64
|
|
/msvc/Debug
|
|
/msvc/Release
|
|
*.suo
|
|
*.sdf
|
|
*.opensdf
|
|
*.shader
|
|
*.a
|
|
*.bc
|
|
/external
|
|
.vs/
|
|
*.vcxproj.user
|
|
|
|
# Mac OS X Finder
|
|
.DS_Store
|
|
|
|
!CMakeLists.txt
|
|
!LICENSES/*.txt
|