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 more tests for future changes #296

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions tests/push_constants/push_constant_basic_0.glsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#version 460
#extension GL_EXT_buffer_reference : enable

layout(buffer_reference) buffer Node { uint x; };

struct Bar {
uint t;
uint s;
};

layout(push_constant, std430) uniform foo {
uint a;
uint b[4];
Bar bar;
Node node;
};

layout(set=0, binding=0) buffer SSBO {
uint out_value;
};

// Everything should be marked as UNUSED
void main() {}
Binary file added tests/push_constants/push_constant_basic_0.spv
Binary file not shown.
Loading
Loading