Skip to content

Actually begin render passes#24

Merged
bors[bot] merged 6 commits intogfx-rs:masterfrom
kvark:pass
Oct 28, 2018
Merged

Actually begin render passes#24
bors[bot] merged 6 commits intogfx-rs:masterfrom
kvark:pass

Conversation

@kvark
Copy link
Copy Markdown
Member

@kvark kvark commented Oct 26, 2018

For now, we create the render pass and the frame buffer in place. Of course, we'd need to cache it properly, but this is blocked on W3C discussions on the API side.

With this PR, the Rust example is able to create a texture and run a render pass on it, all without a single Vulkan validation error 🎉

@kvark kvark requested a review from grovesNL October 26, 2018 02:36
Copy link
Copy Markdown
Collaborator

@grovesNL grovesNL left a comment

Choose a reason for hiding this comment

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

Looks great!

@@ -0,0 +1,19 @@
lunarg_core_validation.debug_action = VK_DBG_LAYER_ACTION_LOG_MSG
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this committed intentionally?

}

pub fn create_pipeline_layout(&self, desc: &PipelineLayoutDescriptor) -> PipelineLayout {
//TODO: avoid allocation here
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If these structs became transparent new types around ID then I guess we wouldn't need these maps at all (unless we need to add more fields to these structs in the future)

@kvark
Copy link
Copy Markdown
Member Author

kvark commented Oct 28, 2018 via email

bors bot added a commit that referenced this pull request Oct 28, 2018
24: Actually begin render passes r=grovesNL a=kvark

For now, we create the render pass and the frame buffer in place. Of course, we'd need to cache it properly, but this is blocked on W3C discussions on the API side.

With this PR, the Rust example is able to create a texture and run a render pass on it, all without a single Vulkan validation error 🎉 

Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
@bors
Copy link
Copy Markdown
Contributor

bors bot commented Oct 28, 2018

Build succeeded

@bors bors bot merged commit f3cfd2e into gfx-rs:master Oct 28, 2018
@kvark kvark deleted the pass branch October 29, 2018 13:46
cwfitzgerald pushed a commit that referenced this pull request Oct 26, 2023
24: One big cleanup for the 0.3.1 release r=kvark a=kvark

Closes #10 

Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.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.

2 participants