upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/predicate_reduce.comp
diff options
context:
space:
mode:
authorkovaaper <kovaaker@gmail.com>2026-11-22 13:48:37 +0300
committerGitHub <noreply@github.com>2026-11-22 13:48:37 +0300
commit2811597fd9a56811b8d345c25d51ea2eb779b3fb (patch)
treeec09f4d1c0d642cdf6a57e9ee978c1c02b7ebcf2 /runtime/src/predicate_reduce.comp
parentaa87b9459689245124809586c94a6e847a193cc1 (diff)
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
Merge branch 'ItsNotRexed:main' into codex/d3d97-separate-queues
Diffstat (limited to 'runtime/src/predicate_reduce.comp')
-rw-r--r--runtime/src/predicate_reduce.comp6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/src/predicate_reduce.comp b/runtime/src/predicate_reduce.comp
new file mode 100644
index 000000000..86b07d67f
--- /dev/null
+++ b/runtime/src/predicate_reduce.comp
@@ -0,0 +1,6 @@
1// Synthetic internal shader: one invocation captures a D3D12 64-bit predicate as a Vulkan condition.
2#version 450
3layout(local_size_x=1) in;
4layout(set=0,binding=0,std430) buffer Words { uint words[]; } data;
5layout(push_constant) uniform Index { uint base; } index;
6void main() { data.words[index.base+2] = data.words[index.base] | data.words[index.base+1]; }