8000 If BC is supported, BC Sliced 3D must be supported by beaufortfrancois · Pull Request #4379 · gpuweb/cts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

If BC is supported, BC Sliced 3D must be supported #4379

New issue

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

Merged
merged 2 commits into from
May 2, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ g.test('check_capability_guarantees')
.desc(
`check any adapter returned by requestAdapter() must provide the following guarantees:
- "texture-compression-bc" is supported or both "texture-compression-etc2" and "texture-compression-astc" are supported
- either "texture-compression-bc" or "texture-compression-bc-sliced-3d" is supported, both must be supported.
- if "texture-compression-bc-sliced-3d" is supported, then "texture-compression-bc" must be supported.
- if "texture-compression-astc-sliced-3d" is supported, then "texture-compression-astc" must be supported.
`
)
Expand All @@ -562,11 +562,8 @@ g.test('check_capability_guarantees')
'Adapter must support BC or both ETC2 and ASTC'
);

if (supportsBC || supportsBCSliced3D) {
t.expect(
supportsBC && supportsBCSliced3D,
'If BC or BC Sliced 3D is supported, both must be'
);
if (supportsBCSliced3D) {
t.expect(supportsBC, 'If BC Sliced 3D is supported, BC must be supported');
}

if (supportsASTCSliced3D) {
Expand Down
0