We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccc81f commit 84cdc3bCopy full SHA for 84cdc3b
spirv_msl.cpp
@@ -18291,11 +18291,14 @@ void CompilerMSL::analyze_argument_buffers()
18291
default:
18292
break;
18293
}
18294
+
18295
+ // After padding, retrieve the resource again. It will either be more padding, or the actual resource.
18296
+ rez_bind = get_argument_buffer_resource(desc_set, next_arg_buff_index);
18297
18298
18299
// Adjust the number of slots consumed by current member itself.
18300
// Use the count value from the app, instead of the shader, in case the
- // shader is only accesing part, or even one element, of the array.
18301
+ // shader is only accessing part, or even one element, of the array.
18302
next_arg_buff_index += rez_bind.count;
18303
18304
0 commit comments