Add default descriptorset decoration for acceleration structure (#2257)

variables.
This commit is contained in:
alelenv
2020-06-01 23:24:41 -07:00
committed by GitHub
parent 0cc27fb68c
commit 999d4fdcdd
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#version 460
#extension GL_EXT_ray_tracing : enable
#extension GL_EXT_ray_flags_primitive_culling : enable
layout(binding = 0, set = 0) uniform accelerationStructureEXT accEXT0;
layout(binding = 0) uniform accelerationStructureEXT accEXT0;
layout(binding = 1, set = 0) uniform accelerationStructureEXT accEXT1; // Unused
layout(binding = 2, r32ui) shadercallcoherent uniform uimage2D imageu;
layout(location = 0) rayPayloadEXT vec4 payload;