Skip to content

Compute Texture Demo is failing on Metal rendering backend #101696

@starry-abyss

Description

@starry-abyss

Tested versions

4.4-beta1

System information

macOS 13.7.2, Apple M1 Pro 16 GB, Godot 4.4-beta1

Issue description

Compute Texture Demo is failing on Metal rendering backend, but works as usual on Vulkan

Steps to reproduce

  1. Run Godot 4.4-beta1
  2. Install the Compute Texture Demo from AssetLib
  3. Edit it (press OK to convert the project from Godot 4.2 to Godot 4.4)
  4. Run it or just look in the console in the Godot editor
  5. When running no mouse interaction is happening
  6. There is endless error spam:
  ERROR: Set: 1 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 2 Binding: 0 Type: Image Writable: Y Length: 1
  ERROR: Uniforms supplied for set (2):
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: are not the same format as required by the pipeline shader. Pipeline shader requires the following bindings:
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 1 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 2 Binding: 0 Type: Image Writable: Y Length: 1
  ERROR: Uniforms supplied for set (2):
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: are not the same format as required by the pipeline shader. Pipeline shader requires the following bindings:
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 1 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 2 Binding: 0 Type: Image Writable: Y Length: 1
  ERROR: Uniforms supplied for set (2):
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: are not the same format as required by the pipeline shader. Pipeline shader requires the following bindings:
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 1 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 2 Binding: 0 Type: Image Writable: Y Length: 1
  ERROR: Uniforms supplied for set (2):
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: are not the same format as required by the pipeline shader. Pipeline shader requires the following bindings:
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 1 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 2 Binding: 0 Type: Image Writable: Y Length: 1
  ERROR: Uniforms supplied for set (2):
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: are not the same format as required by the pipeline shader. Pipeline shader requires the following bindings:
  ERROR: Set: 0 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 1 Binding: 0 Type: Image Writable: N Length: 1
  ERROR: Set: 2 Binding: 0 Type: Image Writable: Y Length: 1
  1. Switch the renderer from Metal to Vulkan in Project Settings and restart Godot
  2. All is working then, no error spam

Minimal reproduction project (MRP)

Compute Texture Demo from AssetLib

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions