Skip to content
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

op: texture_view,read/write #907

Open
kainino0x opened this issue Jan 13, 2022 · 2 comments
Open

op: texture_view,read/write #907

kainino0x opened this issue Jan 13, 2022 · 2 comments

Comments

@kainino0x
Copy link
Collaborator

kainino0x commented Jan 13, 2022

Some planning is needed here, then maybe split up the task into smaller tasks.

Can add basic tests, but full tests will benefit from the generalized texture write helpers which is more complex. #881

@austinEng
Copy link
Collaborator

Some drivers have difficulty with the following. Particularly with depth-stencil textures. We should make sure it has some test coverage:

  • Making a texture view and then using it (sampling, depth-stencil attachment), offset at a non-zero mip level or array layer
  • Making a texture view, and sampling from it using textureLoad on texture_2d_array in the shader with various zero, and nonzero array_index and level args.

@austinEng
Copy link
Collaborator

austinEng commented Feb 14, 2023

this is in the TODOs in the tests already, but from code cov, we also need to test all dimensions (untested: 1d/3d/cube/cube-array)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Open (has TODO)
Development

No branches or pull requests

3 participants
@kainino0x @austinEng and others