-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Milestone
Description
Bevy version
0.16 and main
Relevant system information
Repros on both Windows + macOS
AdapterInfo { name: "NVIDIA GeForce RTX 3070 Ti Laptop GPU", vendor: 4318, device: 9440, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "576.52", backend: Vulkan }
AdapterInfo { name: "Apple M4", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
What you did
Render two objects with different materials but the same mesh
Repro: https://github.com/jf908/bevy-material-bug.git
If you enable GPU preprocessing by removing these lines, it works again:
What went wrong
If it's not clear, break this out into:
Expected:
Actual:
Additional information
Removing these lines (enabling GPU preprocessing) works again:
app.sub_app_mut(RenderApp)
.insert_resource(GpuPreprocessingSupport {
max_supported_mode: GpuPreprocessingMode::None,
});
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorS-Needs-InvestigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong