f79c1e2fed
- Fixes issue with clip_distance flattening in MSL where member to flatten from would come from to_member_name, where it should have used the builtin name directly. This member name was modified by this patch and broke clip distance test shaders. - Some cleanups with ir.meta, use ir.find_meta instead to not create unnecessary hashmap nodes.
23 lines
288 B
Plaintext
23 lines
288 B
Plaintext
#version 450
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
struct Foo
|
|
{
|
|
float _abs;
|
|
};
|
|
|
|
layout(binding = 0, std430) buffer SSBO
|
|
{
|
|
Foo foo;
|
|
Foo foo2;
|
|
} _7;
|
|
|
|
void main()
|
|
{
|
|
Foo f;
|
|
f._abs = _7.foo._abs;
|
|
int _abs = 10;
|
|
_7.foo2._abs = f._abs;
|
|
}
|
|
|