aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Zanin <boris.zanin@mobica.com>2019-10-15 16:28:13 +0200
committerBoris Zanin <boris.zanin@mobica.com>2019-10-15 16:36:24 +0200
commit6cae7ec7dac6471c7c9624cf52e31d3acc455e94 (patch)
tree893c98925aeedd4818036571661c54888e47d26c
parent2bad5a4d3b8a4ea661e7169f0ba231427bd79323 (diff)
downloadcherry-6cae7ec7dac6471c7c9624cf52e31d3acc455e94.tar.gz
Introduce ray tracing shader types
Add following shader types to be parsed properly: * RayGenShader * AnyHitShader * ClosestHitShader * MissShader * IntersectionShader * CallableShader VK-GL-CTS issue: 2058 Change-Id: If166fa39ffd8692a957e697f7a754428db688845
-rw-r--r--client/js/filters.js6
-rw-r--r--client/js/testCaseResult.js6
2 files changed, 12 insertions, 0 deletions
diff --git a/client/js/filters.js b/client/js/filters.js
index 8904497..7716c0c 100644
--- a/client/js/filters.js
+++ b/client/js/filters.js
@@ -119,6 +119,12 @@ angular.module('cherry.filters', [])
case 'tess-control': return 'Tessellation Control';
case 'tess-evaluation': return 'Tessellation Evaluation';
case 'compute': return 'Compute';
+ case 'raygen': return 'Raygen';
+ case 'any-hit': return 'Any Hit';
+ case 'closest-hit': return 'Closest Hit';
+ case 'miss': return 'Miss';
+ case 'intersection': return 'Intersection';
+ case 'callable': return 'Callable';
}
}
})
diff --git a/client/js/testCaseResult.js b/client/js/testCaseResult.js
index 770e882..2df7da6 100644
--- a/client/js/testCaseResult.js
+++ b/client/js/testCaseResult.js
@@ -68,6 +68,12 @@ angular.module('cherry.testCaseResult', [])
TessControlShader: { tag: 'de-shader', attributes: {'type': 'tess-control'} },
TessEvaluationShader: { tag: 'de-shader', attributes: {'type': 'tess-evaluation'} },
ComputeShader: { tag: 'de-shader', attributes: {'type': 'compute'} },
+ RaygenShader: { tag: 'de-shader', attributes: {'type': 'raygen'} },
+ AnyHitShader: { tag: 'de-shader', attributes: {'type': 'any-hit'} },
+ ClosestHitShader: { tag: 'de-shader', attributes: {'type': 'closest-hit'} },
+ MissShader: { tag: 'de-shader', attributes: {'type': 'miss'} },
+ IntersectionShader: { tag: 'de-shader', attributes: {'type': 'intersection'} },
+ CallableShader: { tag: 'de-shader', attributes: {'type': 'callable'} },
ShaderSource: { tag: 'de-shader-source' },
SpirVAssemblySource: { tag: 'de-spirv-source' },
Section: { tag: 'de-section' },