Simplify descriptor setup

Refs #1157
This commit is contained in:
Sascha Willems 2024-10-06 15:17:11 +02:00
parent 6b91f3c493
commit a2d5a1fd44
18 changed files with 41 additions and 68 deletions

View file

@ -1,4 +1,5 @@
// Copyright 2020 Google LLC
// Copyright 2024 Sascha Willems
struct VSInput
{
@ -17,8 +18,7 @@ struct PushConsts {
struct UBO {
float4x4 cascadeViewProjMat[SHADOW_MAP_CASCADE_COUNT];
};
cbuffer ubo : register(b0) { UBO ubo; }
cbuffer ubo : register(b3) { UBO ubo; }
struct VSOutput
{