这是indexloc提供的服务,不要输入任何密码
Skip to content

Copying of depth24plus formats #652

@kainino0x

Description

@kainino0x

(We've talked about this a number of times; just recording it in an issue.)

The depth aspect of depth24plus formats doesn't have a defined memory layout. As such, it's not obvious how they interact with copy commands. Options:

  • Disallow copies to/from the depth aspect of depth24plus formats
    • Copies would require sites to use formats with concrete depth format (defined in extensions)
  • Emulate by inserting format conversions (to D24 and/or D32F) in the implementation

As pointed out by @magcius, the stencil aspect of depth24plus-stencil8, and the hypothetical stencil8 format (#306), may be okay: the stencil format is constant, and Vulkan/D3D12, at least, require copies to be against only one aspect anyway.

update: See also: bjjones's investigation which resulted in the removal of aspect from GPUTextureCopyView.

cc #305 #69

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions