Use GpuPreprocessingMode::None if features not supported. (#18630)
# Objective Fixes #18463 ## Solution The features didn't seem to be getting checked for selecting `GpuPreprocessingMode::None`.
This commit is contained in:
parent
8edeb85f01
commit
3d1335aeed
@ -1107,7 +1107,8 @@ impl FromWorld for GpuPreprocessingSupport {
|
||||
DownlevelFlags::VERTEX_AND_INSTANCE_INDEX_RESPECTS_RESPECTIVE_FIRST_VALUE_IN_INDIRECT_DRAW
|
||||
);
|
||||
|
||||
let max_supported_mode = if device.limits().max_compute_workgroup_size_x == 0
|
||||
let max_supported_mode = if !feature_support
|
||||
|| device.limits().max_compute_workgroup_size_x == 0
|
||||
|| is_non_supported_android_device(adapter)
|
||||
{
|
||||
GpuPreprocessingMode::None
|
||||
|
Loading…
Reference in New Issue
Block a user