Add vk_ray_trace_indirect_scissor sample
This commit is contained in:
parent
27d8a79ce3
commit
a6690f149a
30 changed files with 4498 additions and 6 deletions
|
|
@ -0,0 +1,18 @@
|
|||
struct LanternIndirectEntry
|
||||
{
|
||||
// VkTraceRaysIndirectCommandKHR
|
||||
int indirectWidth;
|
||||
int indirectHeight;
|
||||
int indirectDepth;
|
||||
|
||||
// Pixel coordinate of scissor rect upper-left.
|
||||
int offsetX;
|
||||
int offsetY;
|
||||
|
||||
// Lantern starts here:
|
||||
// Can't use vec3 due to alignment.
|
||||
float x, y, z;
|
||||
float red, green, blue;
|
||||
float brightness;
|
||||
float radius;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue