Skip to content

Allows for depth texture copies#2230

Merged
kvark merged 1 commit intogfx-rs:masterfrom
IcanDivideBy0:depth_textures_copy
Nov 29, 2021
Merged

Allows for depth texture copies#2230
kvark merged 1 commit intogfx-rs:masterfrom
IcanDivideBy0:depth_textures_copy

Conversation

@IcanDivideBy0
Copy link
Copy Markdown
Contributor

@IcanDivideBy0 IcanDivideBy0 commented Nov 29, 2021

Connections
n/a

Description
Currently, depth texture cannot use the COPY_SRC or COPY_DST usage flag, this is now possible. The copy checks the whole texture is copied.

Testing
Debian bullseye, Nvidia + VK backend

Copy link
Copy Markdown
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Thank you!
We'll also need a check to prevent buffer -> depth copies, but this can be done separately (or maybe it's already in).

@kvark kvark enabled auto-merge (rebase) November 29, 2021 17:49
@kvark kvark added the PR: needs back-porting PR with a fix that needs to land on crates label Nov 29, 2021
@kvark kvark merged commit f622c83 into gfx-rs:master Nov 29, 2021
@kvark kvark removed the PR: needs back-porting PR with a fix that needs to land on crates label Dec 2, 2021
@IcanDivideBy0 IcanDivideBy0 deleted the depth_textures_copy branch December 3, 2021 22:21
cwfitzgerald pushed a commit that referenced this pull request Oct 25, 2023
* spv-out: support version 1.4

* Extract SPV version numner from the comment
teoxoy added a commit that referenced this pull request May 14, 2024
This was previously added in #2230 but I don't think it was necessary. #901 already implemented the buffer <-> texture validation for those formats. It's also not a requirement in the spec.
EriKWDev pushed a commit to bitwise-git/wgpu that referenced this pull request May 14, 2024
This was previously added in gfx-rs#2230 but I don't think it was necessary. gfx-rs#901 already implemented the buffer <-> texture validation for those formats. It's also not a requirement in the spec.
teoxoy added a commit that referenced this pull request May 15, 2024
This was previously added in #2230 but I don't think it was necessary. #901 already implemented the buffer <-> texture validation for those formats. It's also not a requirement in the spec.
jimblandy pushed a commit to jimblandy/wgpu that referenced this pull request May 23, 2024
This was previously added in gfx-rs#2230 but I don't think it was necessary. gfx-rs#901 already implemented the buffer <-> texture validation for those formats. It's also not a requirement in the spec.
Sign up for free to join this conversation on GitHub. Already 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