 4d41da3b81
			
		
	
	
		4d41da3b81
		
			
		
	
	
	
	
		
			
			* Add ray query capability if acceleration structure used Fixes #2430 in non-ray tracing stages and the extension is enabled * Add ray query capability if ray query declared * Fix printing of TypeRayQueryKHR It's no longer spelled with "Provisional"
		
			
				
	
	
		
			42 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| spv.ext.AccelDecl.frag
 | |
| // Module Version 10400
 | |
| // Generated by (magic number): 8000a
 | |
| // Id's are bound by 15
 | |
| 
 | |
|                               Capability Shader
 | |
|                               Capability RayQueryKHR
 | |
|                               Extension  "SPV_KHR_ray_query"
 | |
|                1:             ExtInstImport  "GLSL.std.450"
 | |
|                               MemoryModel Logical GLSL450
 | |
|                               EntryPoint Fragment 4  "main" 9 14
 | |
|                               ExecutionMode 4 OriginUpperLeft
 | |
|                               Source GLSL 460
 | |
|                               SourceExtension  "GL_ARB_separate_shader_objects"
 | |
|                               SourceExtension  "GL_EXT_nonuniform_qualifier"
 | |
|                               SourceExtension  "GL_EXT_ray_query"
 | |
|                               SourceExtension  "GL_EXT_scalar_block_layout"
 | |
|                               SourceExtension  "GL_GOOGLE_cpp_style_line_directive"
 | |
|                               SourceExtension  "GL_GOOGLE_include_directive"
 | |
|                               Name 4  "main"
 | |
|                               Name 9  "outColor"
 | |
|                               Name 14  "topLevelAS"
 | |
|                               Decorate 9(outColor) Location 0
 | |
|                               Decorate 14(topLevelAS) DescriptorSet 0
 | |
|                               Decorate 14(topLevelAS) Binding 1
 | |
|                2:             TypeVoid
 | |
|                3:             TypeFunction 2
 | |
|                6:             TypeFloat 32
 | |
|                7:             TypeVector 6(float) 4
 | |
|                8:             TypePointer Output 7(fvec4)
 | |
|      9(outColor):      8(ptr) Variable Output
 | |
|               10:    6(float) Constant 0
 | |
|               11:    7(fvec4) ConstantComposite 10 10 10 10
 | |
|               12:             TypeAccelerationStructureKHR
 | |
|               13:             TypePointer UniformConstant 12
 | |
|   14(topLevelAS):     13(ptr) Variable UniformConstant
 | |
|          4(main):           2 Function None 3
 | |
|                5:             Label
 | |
|                               Store 9(outColor) 11
 | |
|                               Return
 | |
|                               FunctionEnd
 |