egnaro
December 17, 2018, 6:00pm
1
So this issue moved from 2018.6 to the latest 2018.7
If I capture a frame from my Vulkan raytracing application and try to see raygen shader SPIR-V, it’ll show me only “SPIRV Parse Error: Id 52 is defined more than once”.
Tho the application works fine, and validation layers are happy.
Here’s the shader itself:
#version 460
#extension GL_EXT_ray_tracing : enable
#extension GL_GOOGLE_include_directive : require
#include "../shared_with_shaders.h"
layout(set = SWS_SCENE_AS_SET, binding = SWS_SCENE_AS_BINDING) uniform accelerationStructureEXT Scene;
layout(set = SWS_RESULT_IMAGE_SET, binding = SWS_RESULT_IMAGE_BINDING, rgba8) uniform image2D ResultImage;
layout(set = SWS_CAMDATA_SET, binding = SWS_CAMDATA_BINDING, std140) uniform AppData {
UniformParams Params;
};
layout(location = SWS_LOC_PRIMARY_RAY) rayPayloadEXT RayPayload PrimaryRay;
layout(location = SWS_LOC_SHADOW_RAY) rayPayloadEXT ShadowRayPayload ShadowRay;
const float kBunnyRefractionIndex = 1.0f / 1.31f; // ice
vec3 CalcRayDir(vec2 screenUV, float aspect) {
vec3 u = Params.camSide.xyz;
This file has been truncated. show original
Here’s the screenshot:
Hello!
Thank you for your post and sorry about the issue.
I’ve submitted a bug for this. (DG-3453) I’ll post back here once we have an ETA on the fix!
Thank you for your patience!
Cheers,
Seth
egnaro
December 18, 2018, 3:17pm
3
Hi!
No problemo! It’s not critical at all.
Thanks for your awesome tool!
Hello!
Just wanted to say that this issue will be fixed in the next release (May).
When 2019.3 is released, give it a shot!
Thanks,
Seth