Multiple features and misc fixes for final raytracing non experimental version.
This commit is contained in:
parent
b2b3d81e9b
commit
ff1783db87
48 changed files with 5168 additions and 4850 deletions
|
|
@ -3,88 +3,88 @@ spv.IntersectShader.rint
|
|||
// Generated by (magic number): 80007
|
||||
// Id's are bound by 71
|
||||
|
||||
Capability RaytracingNVX
|
||||
Extension "SPV_NVX_raytracing"
|
||||
Capability RayTracingNV
|
||||
Extension "SPV_NV_ray_tracing"
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint IntersectionNVX 4 "main" 11 14 20 23 26 33 36 39 42 47 50 56 59
|
||||
EntryPoint IntersectionNV 4 "main" 11 14 20 23 26 33 36 39 42 47 50 56 59
|
||||
Source GLSL 460
|
||||
SourceExtension "GL_NVX_raytracing"
|
||||
SourceExtension "GL_NV_ray_tracing"
|
||||
Name 4 "main"
|
||||
Name 9 "v0"
|
||||
Name 11 "gl_LaunchIDNVX"
|
||||
Name 11 "gl_LaunchIDNV"
|
||||
Name 13 "v1"
|
||||
Name 14 "gl_LaunchSizeNVX"
|
||||
Name 14 "gl_LaunchSizeNV"
|
||||
Name 18 "v2"
|
||||
Name 20 "gl_PrimitiveID"
|
||||
Name 22 "v3"
|
||||
Name 23 "gl_InstanceID"
|
||||
Name 25 "v4"
|
||||
Name 26 "gl_InstanceCustomIndexNVX"
|
||||
Name 26 "gl_InstanceCustomIndexNV"
|
||||
Name 31 "v5"
|
||||
Name 33 "gl_WorldRayOriginNVX"
|
||||
Name 33 "gl_WorldRayOriginNV"
|
||||
Name 35 "v6"
|
||||
Name 36 "gl_WorldRayDirectionNVX"
|
||||
Name 36 "gl_WorldRayDirectionNV"
|
||||
Name 38 "v7"
|
||||
Name 39 "gl_ObjectRayOriginNVX"
|
||||
Name 39 "gl_ObjectRayOriginNV"
|
||||
Name 41 "v8"
|
||||
Name 42 "gl_ObjectRayDirectionNVX"
|
||||
Name 42 "gl_ObjectRayDirectionNV"
|
||||
Name 45 "v9"
|
||||
Name 47 "gl_RayTminNVX"
|
||||
Name 47 "gl_RayTminNV"
|
||||
Name 49 "v10"
|
||||
Name 50 "gl_RayTmaxNVX"
|
||||
Name 50 "gl_RayTmaxNV"
|
||||
Name 54 "v11"
|
||||
Name 56 "gl_ObjectToWorldNVX"
|
||||
Name 56 "gl_ObjectToWorldNV"
|
||||
Name 58 "v12"
|
||||
Name 59 "gl_WorldToObjectNVX"
|
||||
Name 59 "gl_WorldToObjectNV"
|
||||
Name 63 "iAttr"
|
||||
Decorate 11(gl_LaunchIDNVX) BuiltIn LaunchIdNVX
|
||||
Decorate 14(gl_LaunchSizeNVX) BuiltIn LaunchSizeNVX
|
||||
Decorate 11(gl_LaunchIDNV) BuiltIn LaunchIdNV
|
||||
Decorate 14(gl_LaunchSizeNV) BuiltIn LaunchSizeNV
|
||||
Decorate 20(gl_PrimitiveID) BuiltIn PrimitiveId
|
||||
Decorate 23(gl_InstanceID) BuiltIn InstanceId
|
||||
Decorate 26(gl_InstanceCustomIndexNVX) BuiltIn InstanceCustomIndexNVX
|
||||
Decorate 33(gl_WorldRayOriginNVX) BuiltIn WorldRayOriginNVX
|
||||
Decorate 36(gl_WorldRayDirectionNVX) BuiltIn WorldRayDirectionNVX
|
||||
Decorate 39(gl_ObjectRayOriginNVX) BuiltIn ObjectRayOriginNVX
|
||||
Decorate 42(gl_ObjectRayDirectionNVX) BuiltIn ObjectRayDirectionNVX
|
||||
Decorate 47(gl_RayTminNVX) BuiltIn RayTminNVX
|
||||
Decorate 50(gl_RayTmaxNVX) BuiltIn RayTmaxNVX
|
||||
Decorate 56(gl_ObjectToWorldNVX) BuiltIn ObjectToWorldNVX
|
||||
Decorate 59(gl_WorldToObjectNVX) BuiltIn WorldToObjectNVX
|
||||
Decorate 26(gl_InstanceCustomIndexNV) BuiltIn InstanceCustomIndexNV
|
||||
Decorate 33(gl_WorldRayOriginNV) BuiltIn WorldRayOriginNV
|
||||
Decorate 36(gl_WorldRayDirectionNV) BuiltIn WorldRayDirectionNV
|
||||
Decorate 39(gl_ObjectRayOriginNV) BuiltIn ObjectRayOriginNV
|
||||
Decorate 42(gl_ObjectRayDirectionNV) BuiltIn ObjectRayDirectionNV
|
||||
Decorate 47(gl_RayTminNV) BuiltIn RayTminNV
|
||||
Decorate 50(gl_RayTmaxNV) BuiltIn RayTmaxNV
|
||||
Decorate 56(gl_ObjectToWorldNV) BuiltIn ObjectToWorldNV
|
||||
Decorate 59(gl_WorldToObjectNV) BuiltIn WorldToObjectNV
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeInt 32 0
|
||||
7: TypeVector 6(int) 2
|
||||
8: TypePointer Function 7(ivec2)
|
||||
10: TypePointer Input 7(ivec2)
|
||||
11(gl_LaunchIDNVX): 10(ptr) Variable Input
|
||||
14(gl_LaunchSizeNVX): 10(ptr) Variable Input
|
||||
7: TypeVector 6(int) 3
|
||||
8: TypePointer Function 7(ivec3)
|
||||
10: TypePointer Input 7(ivec3)
|
||||
11(gl_LaunchIDNV): 10(ptr) Variable Input
|
||||
14(gl_LaunchSizeNV): 10(ptr) Variable Input
|
||||
16: TypeInt 32 1
|
||||
17: TypePointer Function 16(int)
|
||||
19: TypePointer Input 16(int)
|
||||
20(gl_PrimitiveID): 19(ptr) Variable Input
|
||||
23(gl_InstanceID): 19(ptr) Variable Input
|
||||
26(gl_InstanceCustomIndexNVX): 19(ptr) Variable Input
|
||||
26(gl_InstanceCustomIndexNV): 19(ptr) Variable Input
|
||||
28: TypeFloat 32
|
||||
29: TypeVector 28(float) 3
|
||||
30: TypePointer Function 29(fvec3)
|
||||
32: TypePointer Input 29(fvec3)
|
||||
33(gl_WorldRayOriginNVX): 32(ptr) Variable Input
|
||||
36(gl_WorldRayDirectionNVX): 32(ptr) Variable Input
|
||||
39(gl_ObjectRayOriginNVX): 32(ptr) Variable Input
|
||||
42(gl_ObjectRayDirectionNVX): 32(ptr) Variable Input
|
||||
33(gl_WorldRayOriginNV): 32(ptr) Variable Input
|
||||
36(gl_WorldRayDirectionNV): 32(ptr) Variable Input
|
||||
39(gl_ObjectRayOriginNV): 32(ptr) Variable Input
|
||||
42(gl_ObjectRayDirectionNV): 32(ptr) Variable Input
|
||||
44: TypePointer Function 28(float)
|
||||
46: TypePointer Input 28(float)
|
||||
47(gl_RayTminNVX): 46(ptr) Variable Input
|
||||
50(gl_RayTmaxNVX): 46(ptr) Variable Input
|
||||
47(gl_RayTminNV): 46(ptr) Variable Input
|
||||
50(gl_RayTmaxNV): 46(ptr) Variable Input
|
||||
52: TypeMatrix 29(fvec3) 4
|
||||
53: TypePointer Function 52
|
||||
55: TypePointer Input 52
|
||||
56(gl_ObjectToWorldNVX): 55(ptr) Variable Input
|
||||
59(gl_WorldToObjectNVX): 55(ptr) Variable Input
|
||||
56(gl_ObjectToWorldNV): 55(ptr) Variable Input
|
||||
59(gl_WorldToObjectNV): 55(ptr) Variable Input
|
||||
61: TypeVector 28(float) 4
|
||||
62: TypePointer HitAttributeNVX 61(fvec4)
|
||||
63(iAttr): 62(ptr) Variable HitAttributeNVX
|
||||
62: TypePointer HitAttributeNV 61(fvec4)
|
||||
63(iAttr): 62(ptr) Variable HitAttributeNV
|
||||
64: 28(float) Constant 1056964608
|
||||
65: 28(float) Constant 0
|
||||
66: 28(float) Constant 1065353216
|
||||
|
|
@ -106,33 +106,33 @@ spv.IntersectShader.rint
|
|||
49(v10): 44(ptr) Variable Function
|
||||
54(v11): 53(ptr) Variable Function
|
||||
58(v12): 53(ptr) Variable Function
|
||||
12: 7(ivec2) Load 11(gl_LaunchIDNVX)
|
||||
12: 7(ivec3) Load 11(gl_LaunchIDNV)
|
||||
Store 9(v0) 12
|
||||
15: 7(ivec2) Load 14(gl_LaunchSizeNVX)
|
||||
15: 7(ivec3) Load 14(gl_LaunchSizeNV)
|
||||
Store 13(v1) 15
|
||||
21: 16(int) Load 20(gl_PrimitiveID)
|
||||
Store 18(v2) 21
|
||||
24: 16(int) Load 23(gl_InstanceID)
|
||||
Store 22(v3) 24
|
||||
27: 16(int) Load 26(gl_InstanceCustomIndexNVX)
|
||||
27: 16(int) Load 26(gl_InstanceCustomIndexNV)
|
||||
Store 25(v4) 27
|
||||
34: 29(fvec3) Load 33(gl_WorldRayOriginNVX)
|
||||
34: 29(fvec3) Load 33(gl_WorldRayOriginNV)
|
||||
Store 31(v5) 34
|
||||
37: 29(fvec3) Load 36(gl_WorldRayDirectionNVX)
|
||||
37: 29(fvec3) Load 36(gl_WorldRayDirectionNV)
|
||||
Store 35(v6) 37
|
||||
40: 29(fvec3) Load 39(gl_ObjectRayOriginNVX)
|
||||
40: 29(fvec3) Load 39(gl_ObjectRayOriginNV)
|
||||
Store 38(v7) 40
|
||||
43: 29(fvec3) Load 42(gl_ObjectRayDirectionNVX)
|
||||
43: 29(fvec3) Load 42(gl_ObjectRayDirectionNV)
|
||||
Store 41(v8) 43
|
||||
48: 28(float) Load 47(gl_RayTminNVX)
|
||||
48: 28(float) Load 47(gl_RayTminNV)
|
||||
Store 45(v9) 48
|
||||
51: 28(float) Load 50(gl_RayTmaxNVX)
|
||||
51: 28(float) Load 50(gl_RayTmaxNV)
|
||||
Store 49(v10) 51
|
||||
57: 52 Load 56(gl_ObjectToWorldNVX)
|
||||
57: 52 Load 56(gl_ObjectToWorldNV)
|
||||
Store 54(v11) 57
|
||||
60: 52 Load 59(gl_WorldToObjectNVX)
|
||||
60: 52 Load 59(gl_WorldToObjectNV)
|
||||
Store 58(v12) 60
|
||||
Store 63(iAttr) 67
|
||||
70: 69(bool) ReportIntersectionNVX 64 68
|
||||
70: 69(bool) ReportIntersectionNV 64 68
|
||||
Return
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue