wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Missing TextureFormats

Open crowlKats opened this issue 5 years ago • 6 comments

Was going through the spec and noticed some formats that are missing from wgpu:

  • [x] rgb9e5ufloat
  • [ ] stencil8
  • [ ] depth16unorm
  • [x] depth24unorm-stencil8
  • [x] depth32float-stencil8

also in the spec Bc6hRgbSfloat is called bc6h-rgb-float (without the s). Is this intentional?

crowlKats avatar Oct 08 '20 09:10 crowlKats

rgb9e5ufloat and stencil8 are coming in https://github.com/gfx-rs/wgpu/pull/955 depth16unorm needs to be added (want to help?). depth24unorm-stencil8 and depth32float-stencil8 are extensions, which also need to be added.

kvark avatar Oct 08 '20 17:10 kvark

also in the spec Bc6hRgbSfloat is called bc6h-rgb-float (without the s). Is this intentional?

Please file and issue to https://github.com/gpuweb/gpuweb about this!

kvark avatar Oct 08 '20 17:10 kvark

also in the spec Bc6hRgbSfloat is called bc6h-rgb-float (without the s). Is this intentional?

Please file and issue to https://github.com/gpuweb/gpuweb about this!

https://github.com/gpuweb/gpuweb/issues/1141, so apparently it is intentional

crowlKats avatar Oct 09 '20 11:10 crowlKats

depth16unorm needs to be added (want to help?).

I would, but I have very little knowledge about anything graphics related, so I cant really help there :/

crowlKats avatar Oct 09 '20 11:10 crowlKats

I'm interested in having depth32float-stencil8. It enables using super high-res reversed z projection depth buffers with stencils, for e.g. deferred lighting in big scenes.

DasEtwas avatar Oct 12 '20 23:10 DasEtwas

Any and all help appreciated :)

cwfitzgerald avatar Oct 13 '20 00:10 cwfitzgerald

Current status:

  • rgb9e5ufloat (#1703)
  • stencil8 (track #3196)
  • depth16unorm (#2954)
  • depth24unorm-stencil8 (added in #2689, removed in #2954)
  • depth32float-stencil8 (#2664)

Will close this issue since the only texture format remaining has its own issue now.

teoxoy avatar Nov 09 '22 11:11 teoxoy