Open mehmetoguzderin opened 4 months ago
I think we also need to make sure we have basic sampling operation tests, as well as both validation and operation tests for copyTextureToTexture/TextureToBuffer/BufferToTexture and writeTexture.
@kainino0x Thank you very much for the guidance, I missed those aspects. I will follow-up with a PR for those tests, too! Appreciated!
@greggman since you just added 2d compressed texture sampling tests in #3760, would it make sense for you to do the sampling tests for 3d? It will probably fit into what you're already working on.
Yes, sure. I can either do it now and they'll fail or we can add them later but the code will just be almost copy and pasted from the 2d stuff so unless I remove them they'll already kind of maybe do the right thing but fail until implemented.
Change needs to cover not only validation but also operation, reopening. Thank you.
It seems like https://github.com/gpuweb/cts/commit/cb42984fa7f024120ce4731120007856e33f9d6a actually fixed the additional limitation in util/texture/base, and there doesn't seem to be any additional particular filters to not test copies or writes of compressed 3D formats. I'll create a draft PR to dry run. Thank you!
so fyi, the texture builtin tests should be able to test this stuff. Most of the exist tests just filter out compressed 3d (as slices) texture formats. If/when want to turn them on we just need to change the filters.
@greggman thank you very much for the information.
https://github.com/gpuweb/gpuweb/issues/4705
webgpu:api,validation,texture,*
, and also operation tests where applicable.