Metal: Stable argument buffers; GPU rendering crashes; visionOS exports
Supersedes #110683
This commit is contained in:
@@ -44,7 +44,9 @@ uint32_t RenderingShaderContainerVulkan::_format_version() const {
|
||||
return FORMAT_VERSION;
|
||||
}
|
||||
|
||||
bool RenderingShaderContainerVulkan::_set_code_from_spirv(Span<ReflectedShaderStage> p_spirv) {
|
||||
bool RenderingShaderContainerVulkan::_set_code_from_spirv(const ReflectShader &p_shader) {
|
||||
const LocalVector<ReflectShaderStage> &p_spirv = p_shader.shader_stages;
|
||||
|
||||
PackedByteArray code_bytes;
|
||||
shaders.resize(p_spirv.size());
|
||||
for (uint64_t i = 0; i < p_spirv.size(); i++) {
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
protected:
|
||||
virtual uint32_t _format() const override;
|
||||
virtual uint32_t _format_version() const override;
|
||||
virtual bool _set_code_from_spirv(Span<ReflectedShaderStage> p_spirv) override;
|
||||
virtual bool _set_code_from_spirv(const ReflectShader &p_shader) override;
|
||||
|
||||
public:
|
||||
RenderingShaderContainerVulkan(bool p_debug_info_enabled);
|
||||
|
||||
Reference in New Issue
Block a user