37 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| spv.texture.sampler.transform.frag
 | |
| // Module Version 10000
 | |
| // Generated by (magic number): 80001
 | |
| // Id's are bound by 19
 | |
| 
 | |
|                               Capability Shader
 | |
|                1:             ExtInstImport  "GLSL.std.450"
 | |
|                               MemoryModel Logical GLSL450
 | |
|                               EntryPoint Fragment 4  "main" 9 16
 | |
|                               ExecutionMode 4 OriginUpperLeft
 | |
|                               Source GLSL 440
 | |
|                               Name 4  "main"
 | |
|                               Name 9  "color"
 | |
|                               Name 12  "tex"
 | |
|                               Name 16  "coord"
 | |
|                               Decorate 12(tex) DescriptorSet 0
 | |
|                2:             TypeVoid
 | |
|                3:             TypeFunction 2
 | |
|                6:             TypeFloat 32
 | |
|                7:             TypeVector 6(float) 4
 | |
|                8:             TypePointer Output 7(fvec4)
 | |
|         9(color):      8(ptr) Variable Output
 | |
|               10:             TypeImage 6(float) 2D sampled format:Unknown
 | |
|               11:             TypePointer UniformConstant 10
 | |
|          12(tex):     11(ptr) Variable UniformConstant
 | |
|               14:             TypeVector 6(float) 2
 | |
|               15:             TypePointer Input 14(fvec2)
 | |
|        16(coord):     15(ptr) Variable Input
 | |
|          4(main):           2 Function None 3
 | |
|                5:             Label
 | |
|               13:          10 Load 12(tex)
 | |
|               17:   14(fvec2) Load 16(coord)
 | |
|               18:    7(fvec4) ImageSampleImplicitLod 13 17
 | |
|                               Store 9(color) 18
 | |
|                               Return
 | |
|                               FunctionEnd
 |