godotengine / godotengine/godot

Compute Texture Demo is failing on Metal rendering backend

Open
#101,696 13 comments 1 reaction 0 assignees View on GitHub
bug platform:macos topic:rendering
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### 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
```

7. Switch the renderer from Metal to Vulkan in Project Settings and restart Godot
8. All is working then, no error spam

### Minimal reproduction project (MRP)

Compute Texture Demo from AssetLib

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.