Skip to content

Commit

Permalink
spirv: Pair resource sets by stage, not by type
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed May 21, 2024
1 parent 7b7e5fd commit 72895d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions profiles/mojoshader_profile_spirv.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#if SUPPORT_PROFILE_SPIRV

#define MOJOSHADER_SPIRV_VS_SAMPLER_SET 0
#define MOJOSHADER_SPIRV_PS_SAMPLER_SET 1
#define MOJOSHADER_SPIRV_VS_UNIFORM_SET 2
#define MOJOSHADER_SPIRV_VS_UNIFORM_SET 1
#define MOJOSHADER_SPIRV_PS_SAMPLER_SET 2
#define MOJOSHADER_SPIRV_PS_UNIFORM_SET 3

// For baked-in constants in SPIR-V we want to store scalar values that we can
Expand Down

0 comments on commit 72895d0

Please sign in to comment.