You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.7 KiB
37 lines
1.7 KiB
spv.builtin.ShadingRateEXT.frag
|
|
WARNING: 0:5: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
|
|
"precision mediump int; precision highp float;"
|
|
|
|
// Module Version 10000
|
|
// Generated by (magic number): 8000a
|
|
// Id's are bound by 12
|
|
|
|
Capability Shader
|
|
Capability FragmentShadingRateKHR
|
|
Extension "SPV_KHR_fragment_shading_rate"
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main" 8 10
|
|
ExecutionMode 4 OriginUpperLeft
|
|
Source GLSL 450
|
|
SourceExtension "GL_EXT_fragment_shading_rate"
|
|
Name 4 "main"
|
|
Name 8 "val"
|
|
Name 10 "gl_ShadingRateEXT"
|
|
Decorate 8(val) Location 0
|
|
Decorate 10(gl_ShadingRateEXT) Flat
|
|
Decorate 10(gl_ShadingRateEXT) BuiltIn ShadingRateKHR
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeInt 32 1
|
|
7: TypePointer Output 6(int)
|
|
8(val): 7(ptr) Variable Output
|
|
9: TypePointer Input 6(int)
|
|
10(gl_ShadingRateEXT): 9(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
11: 6(int) Load 10(gl_ShadingRateEXT)
|
|
Store 8(val) 11
|
|
Return
|
|
FunctionEnd
|