Skip to content

Instantly share code, notes, and snippets.

@expenses
Created November 4, 2021 18:51
Show Gist options
  • Save expenses/a1e015c809483da9a1cf6013320ead17 to your computer and use it in GitHub Desktop.
Save expenses/a1e015c809483da9a1cf6013320ead17 to your computer and use it in GitHub Desktop.
; SPIR-V
; Version: 1.4
; Generator: Google rspirv; 0
; Bound: 30
; Schema: 0
OpCapability Int64
OpCapability Int8
OpCapability RayTracingKHR
OpCapability RuntimeDescriptorArray
OpCapability ShaderClockKHR
OpCapability Shader
OpExtension "SPV_EXT_descriptor_indexing"
OpExtension "SPV_KHR_non_semantic_info"
OpExtension "SPV_KHR_ray_tracing"
OpExtension "SPV_KHR_shader_clock"
OpMemoryModel Logical Simple
OpEntryPoint IntersectionNV %1 "intersection_bbox"
%void = OpTypeVoid
%bool = OpTypeBool
%10 = OpTypeFunction %bool
%11 = OpTypeFunction %void
%true = OpConstantTrue %bool
%4 = OpFunction %bool DontInline %10
%15 = OpLabel
OpReturnValue %true
OpFunctionEnd
%1 = OpFunction %void None %11
%22 = OpLabel
%25 = OpFunctionCall %bool %4
OpSelectionMerge %29 None
OpBranchConditional %25 %26 %28
%26 = OpLabel
OpBranch %29
%28 = OpLabel
OpBranch %29
%29 = OpLabel
OpReturn
OpFunctionEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment