Sign in
◑
Theme
flutter
/
third_party
/
glslang
/
refs/heads/upstream/main
/
.
/
Test
/
spv.memoryQualifier.incdec.comp
blob: fd2cce65154f0fc9291361fdf05ae2fc1811af17 [
file
] [
edit
]
#version 450
#pragma
use_vulkan_memory_model
layout
(
binding
=
0
)
buffer
Data
{
coherent
volatile
uint
value
;
}
data
;
// inc/dec should respect coherent/volatile semantics
void
main
()
{
data
.
value
++;
--
data
.
value
;
}