mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 08:14:12 +00:00
34 lines
922 B
Plaintext
34 lines
922 B
Plaintext
OpCapability Shader
|
|
OpCapability Float64
|
|
OpCapability Int64
|
|
OpCapability Int16
|
|
OpCapability Int8
|
|
OpCapability ShaderClockKHR
|
|
OpExtension "SPV_KHR_shader_clock"
|
|
OpMemoryModel Logical Simple
|
|
OpEntryPoint Fragment %1 "main"
|
|
OpExecutionMode %1 OriginUpperLeft
|
|
%2 = OpString "$OPSTRING_FILENAME/non-writable-storage_buffer.spirt.rs"
|
|
OpName %3 "buf_imm"
|
|
OpName %4 "buf_mut"
|
|
OpName %5 "buf_interior_mut"
|
|
OpDecorate %6 Block
|
|
OpMemberDecorate %6 0 Offset 0
|
|
OpDecorate %3 NonWritable
|
|
OpDecorate %3 Binding 0
|
|
OpDecorate %3 DescriptorSet 0
|
|
OpDecorate %4 Binding 1
|
|
OpDecorate %4 DescriptorSet 0
|
|
OpDecorate %5 Binding 2
|
|
OpDecorate %5 DescriptorSet 0
|
|
%7 = OpTypeVoid
|
|
%8 = OpTypeFunction %7
|
|
%9 = OpTypeInt 32 0
|
|
%10 = OpTypePointer StorageBuffer %9
|
|
%6 = OpTypeStruct %9
|
|
%11 = OpTypePointer StorageBuffer %6
|
|
%3 = OpVariable %11 StorageBuffer
|
|
%12 = OpConstant %9 0
|
|
%4 = OpVariable %11 StorageBuffer
|
|
%5 = OpVariable %11 StorageBuffer
|