Using final KHR ray tracing extension: VK_KHR_acceleration_structure, VK_KHR_ray_tracing_pipeline and VK_KHR_ray_query
This commit is contained in:
parent
7179569ec3
commit
b26ff92473
80 changed files with 2446 additions and 2351 deletions
|
|
@ -36,7 +36,7 @@ layout(push_constant) uniform Constants
|
|||
}
|
||||
pushC;
|
||||
|
||||
layout(location = 0) callableDataEXT rayLight cLight;
|
||||
layout(location = 3) callableDataEXT rayLight cLight;
|
||||
|
||||
|
||||
void main()
|
||||
|
|
@ -97,7 +97,7 @@ void main()
|
|||
cLight.outLightDistance = 10000000;
|
||||
}
|
||||
#else
|
||||
executeCallableEXT(pushC.lightType, 0);
|
||||
executeCallableEXT(pushC.lightType, 3);
|
||||
#endif
|
||||
|
||||
// Material of the object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue