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

Add writability to vk::BufferPointer pointees #52

Merged
merged 3 commits into from
Sep 1, 2023

Conversation

greg-lunarg
Copy link
Contributor

Fixes #41

@s-perron
Copy link
Collaborator

Could you add an example that shows the buffer being written to?

@greg-lunarg
Copy link
Contributor Author

Could you add an example that shows the buffer being written to?

@s-perron Done

Copy link
Collaborator

@s-perron s-perron left a comment

Choose a reason for hiding this comment

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

LGTM

float4 MainPs(void) : SV_Target0
{
float4 vTest = float4(1.0,0.0,0.0,0.0);
g_PushConstants.m_nBufferDeviceAddress.Get().g_vTestFloat4 = vTest;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we also include the expected SPIR-V operations for this code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@llvm-beanz llvm-beanz merged commit 96d9d4c into microsoft:main Sep 1, 2023
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.

[0010] Address writability of vk::BufferPointer<T,A> pointees
3 participants