procedural-3d-engine/data/shaders/glsl
JoseEmilio-ARM 3394928112
Update scene.frag
Ray Query example: shader optimization

Calling rayQueryProceedEXT in a loop can prevent certain shader optimizations. By setting the TerminateOnFirstHit and SkipAABB flags, there is no scenario where rayQueryProceedEXT will return true, hence the loop can be removed. 

This way the implementation has a guarantee that the traversal can be completed without returning control to the shader, which improves performance.
2022-04-07 15:35:38 +01:00
..
base Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
bloom Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
computecloth
computecullandlod Removed duplicate local_size_x from computecullandlod/cull.comp 2021-03-27 13:37:58 +03:00
computeheadless
computenbody
computeparticles Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
computeraytracing Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
computeshader Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
conditionalrender
conservativeraster
debugmarker Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
deferred Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
deferredmultisampling Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
deferredshadows Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
descriptorindexing Added HLSL shader for descriptor indexing sample 2021-01-29 09:58:41 +01:00
descriptorsets
displacement Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
distancefieldfonts Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
dynamicrendering Small fixes, validation is now clean except for a false positive 2021-11-20 12:29:27 +01:00
dynamicuniformbuffer
gears
geometryshader Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
gltfloading Merge glTF scene rendering sample (#744) 2020-07-04 14:20:45 +02:00
gltfscenerendering Merge glTF scene rendering sample (#744) 2020-07-04 14:20:45 +02:00
gltfskinning
hdr
imgui
indirectdraw Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
inlineuniformblocks Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
inputattachments
instancing Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
multisampling Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
multithreading Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
multiview Fixing several validation related issues 2021-10-24 13:00:11 +02:00
negativeviewportheight
occlusionquery Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
offscreen Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
oit SSBOs are now device local 2021-11-28 11:16:35 +01:00
parallaxmapping Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
particlefire Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
pbrbasic Use clamped roughness 2021-08-28 15:32:23 +02:00
pbribl
pbrtexture Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
pipelines Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
pipelinestatistics
pushconstants Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
pushdescriptors
radialblur Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
rayquery Update scene.frag 2022-04-07 15:35:38 +01:00
raytracingbasic Changed ray tracing closest hit shader hit attributes to vec2 2021-10-18 21:41:18 +02:00
raytracingcallable Changed ray tracing closest hit shader hit attributes to vec2 2021-10-18 21:41:18 +02:00
raytracingreflections Changed ray tracing closest hit shader hit attributes to vec2 2021-10-18 21:41:18 +02:00
raytracingshadows Changed ray tracing closest hit shader hit attributes to vec2 2021-10-18 21:41:18 +02:00
renderheadless
screenshot
shadowmapping Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
shadowmappingcascade
shadowmappingomni Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
specializationconstants
sphericalenvmapping Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
ssao Fixed SSAO sample G-Buffer shader 2021-09-26 16:28:45 +02:00
stencilbuffer
subpasses
terraintessellation Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
tessellation Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
textoverlay
texture Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
texture3d
texturearray Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
texturecubemap Merge glTF branch (#747) 2020-07-28 20:20:38 +02:00
texturecubemaparray Fixed coordinate transformation for skybox and reflection objects 2020-08-28 21:15:13 +02:00
texturemipmapgen
texturesparseresidency Reworking sparse image residency sample 2020-07-11 13:01:02 +02:00
triangle
variablerateshading Added VRS HLSL shaders 2020-09-12 09:36:28 +02:00
vertexattributes Started working on sample showing comparing separate/interleaved vertex attributes 2021-12-26 18:42:03 +01:00
viewportarray
vulkanscene Update ray tracing samples to use VK_KHR_ray_tracing (#753) 2020-08-15 17:59:02 +02:00
compileshaders.py Updated GLSL shader compile script 2020-09-21 07:34:04 +02:00