We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
ETC2 is required if GL4.3 and higher or GL_ARB_ES3_compatibility extension is available.
Repro steps
Specify Features::TEXTURE_COMPRESSION_ETC2 for DeviceDescriptor::required_features.
Features::TEXTURE_COMPRESSION_ETC2
DeviceDescriptor::required_features
let (device, queue) = adapter .request_device( &wgpu::DeviceDescriptor { required_features: wgpu::Features::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | wgpu::Features::TEXTURE_COMPRESSION_ETC2, ... }, None, )
Expected vs observed behavior
If ETC2 is supported by the GL backend, I want to use ETC2, but currently I get the following error when I try to enable ETC2.
Failed to create device: RequestDeviceError { inner: Core(UnsupportedFeature(Features(TEXTURE_COMPRESSION_ETC2))) }
Extra materials
wgpu/wgpu-hal/src/gles/adapter.rs
Lines 507 to 508 in 990324f
L508 can be fixed as supported((3, 0), (4, 3)) || extensions.contains("GL_ARB_ES3_compatibility");.
supported((3, 0), (4, 3)) || extensions.contains("GL_ARB_ES3_compatibility");
I think there is a wrong in not part of Desktop GL at all. Or is there some reason?
not part of Desktop GL at all
Platform
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
ETC2 is required if GL4.3 and higher or GL_ARB_ES3_compatibility extension is available.
Repro steps
Specify
Features::TEXTURE_COMPRESSION_ETC2
forDeviceDescriptor::required_features
.Expected vs observed behavior
If ETC2 is supported by the GL backend, I want to use ETC2, but currently I get the following error when I try to enable ETC2.
Extra materials
wgpu/wgpu-hal/src/gles/adapter.rs
Lines 507 to 508 in 990324f
L508 can be fixed as
supported((3, 0), (4, 3)) || extensions.contains("GL_ARB_ES3_compatibility");
.I think there is a wrong in
not part of Desktop GL at all
. Or is there some reason?Platform
The text was updated successfully, but these errors were encountered: