8000 Refactor that not all storage texture support read-only by greggman · Pull Request #4411 · gpuweb/cts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor that not all storage texture support read-only #4411

New is 8000 sue

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 1 commit into from
Jun 26, 2025

Conversation

greggman
Copy link
Contributor
@greggman greggman commented Jun 25, 2025

The code assumed all textures marked as 'storage: true' could both do read-only and write-only but bgra8norm can never do read-only.

Refactor be able to separately check for read-only and write-only usage.

Issue:

The code assumed all textures marked as 'storage: true'
could both do `read-only` and `write-only` but `bgra8norm`
can never do `read-only`.

Refactor be able to separately check for read-only and
write-only usage.

gpuweb/gpuweb#5232
@greggman greggman force-pushed the bgra8unorm-storage-read-only branch from 8fdb049 to 489bf70 Compare June 26, 2025 17:11
Copy link
Contributor
@shrekshao shrekshao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The refactor makes sense and LGTM

@greggman greggman merged commit f815f73 into gpuweb:main Jun 26, 2025
1 check passed
@greggman greggman deleted the bgra8unorm-storage-read-only branch June 26, 2025 17:48
Sign up for free to join this conversation on GitHub. Alread 5DA9 y have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0