prototype for spirv linking

This commit is contained in:
2026-04-30 22:03:31 +03:00
parent 9569555347
commit 386c2fc045
10 changed files with 120 additions and 34 deletions

View File

@@ -2,13 +2,18 @@
COMMON
{
struct RayPayload
{
float3 m_vOrigin;
float3 m_vDirection;
float3 m_vColor;
};
}
CALLABLE
{
#include "textures.hlsl"
float4 brdfMain()
void brdfMain( inout RayPayload payload )
{
return float4(1);
payload.m_vColor = float3(1.0,0.0,1.0);
}
}