Skip to content

Commit

Permalink
fixed ubo
Browse files Browse the repository at this point in the history
  • Loading branch information
2youyou2 committed May 16, 2024
1 parent 45bd05c commit 45d1661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/cocos/renderer/pipeline/Define.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ struct CC_DLL UBOLocal {
static constexpr uint32_t REFLECTION_PROBE_DATA2 = UBOLocal::REFLECTION_PROBE_DATA1 + 4;
static constexpr uint32_t REFLECTION_PROBE_BLEND_DATA1 = UBOLocal::REFLECTION_PROBE_DATA2 + 4;
static constexpr uint32_t REFLECTION_PROBE_BLEND_DATA2 = UBOLocal::REFLECTION_PROBE_BLEND_DATA1 + 4;
static constexpr uint32_t GLOBAL_LIGHTING_INDICES = UBOLocal::REFLECTION_PROBE_BLEND_DATA1 + 4;
static constexpr uint32_t GLOBAL_LIGHTING_INDICES = UBOLocal::REFLECTION_PROBE_BLEND_DATA2 + 4;
static constexpr uint32_t COUNT = UBOLocal::GLOBAL_LIGHTING_INDICES + 4;
static constexpr uint32_t SIZE = UBOLocal::COUNT * 4;
static constexpr uint32_t BINDING = static_cast<uint32_t>(ModelLocalBindings::UBO_LOCAL);
Expand Down

0 comments on commit 45d1661

Please sign in to comment.