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

Implement SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING #715

Merged
merged 1 commit into from
Jun 12, 2020

Conversation

cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Jun 12, 2020

Connections

Closes #483. Extends support for #106.

Description

This forwards the descriptor indexing features gfx-hal up to wgpu.

Note this PR also changes the name of the TEXTURE_BINDING_ARRAY to SAMPLED_TEXTURE_BINDING_ARRAY to be more consistent with extensions.

Testing

Texture-array example was simply extended to use descriptor indexing. This works on all platforms that the feature is supported. (thanks @StarArawn)

Cargo.toml Outdated Show resolved Hide resolved
wgpu-core/src/instance.rs Show resolved Hide resolved
Copy link
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.

bors r+

wgpu-core/src/instance.rs Show resolved Hide resolved
bors bot added a commit that referenced this pull request Jun 12, 2020
715: Implement SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING r=kvark a=cwfitzgerald

## Connections

Closes #483. Extends support for #106.

## Description

This forwards the descriptor indexing features gfx-hal up to wgpu. 

Note this PR also changes the name of the `TEXTURE_BINDING_ARRAY` to `SAMPLED_TEXTURE_BINDING_ARRAY` to be more consistent with extensions.

## Testing

Texture-array example was simply extended to use descriptor indexing. This works on all platforms that the feature is supported. (thanks @StarArawn)



Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jun 12, 2020

Canceled.

@cwfitzgerald
Copy link
Member Author

bors r=kvark

@bors
Copy link
Contributor

bors bot commented Jun 12, 2020

@bors bors bot merged commit 373a1c2 into gfx-rs:master Jun 12, 2020
@cwfitzgerald cwfitzgerald deleted the descriptor-indexing branch June 12, 2020 23:58
bors bot added a commit to gfx-rs/wgpu-rs that referenced this pull request Jun 15, 2020
369: Implement SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING r=kvark a=cwfitzgerald

This implements gfx-rs/wgpu#715 in wgpu-rs. I haven't changed the example, as I want to actually think up a better example to use and didn't want that to block this. It will change in the future however.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
kvark pushed a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
369: Implement SAMPLED_TEXTURE_ARRAY_NON_UNIFORM_INDEXING r=kvark a=cwfitzgerald

This implements gfx-rs#715 in wgpu-rs. I haven't changed the example, as I want to actually think up a better example to use and didn't want that to block this. It will change in the future however.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
kvark pushed a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
715: Add pipeline statistics and timeline queries r=kvark a=cwfitzgerald

Blocked on gfx-rs#1128.

Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
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.

Does wgpu support bindless textures?
2 participants