Skip to content

Commit

Permalink
Merge pull request #3 from star-e/v3.8.6-0114-cube
Browse files Browse the repository at this point in the history
change storage image to sampler texture
  • Loading branch information
GengineJS authored Jan 20, 2025
2 parents c905efb + 47c10eb commit f3c21de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cocos/rendering/define.ts
Original file line number Diff line number Diff line change
Expand Up @@ -975,10 +975,10 @@ const UNIFORM_REFLECTION_STORAGE_NAME = 'cc_reflectionStorage';
export const UNIFORM_REFLECTION_STORAGE_BINDING = ModelLocalBindings.STORAGE_REFLECTION;
const UNIFORM_REFLECTION_STORAGE_DESCRIPTOR = new DescriptorSetLayoutBinding(
UNIFORM_REFLECTION_STORAGE_BINDING,
DescriptorType.STORAGE_IMAGE,
DescriptorType.SAMPLER_TEXTURE,
1,
ShaderStageFlagBit.COMPUTE,
MemoryAccessBit.READ_WRITE,
MemoryAccessBit.READ_ONLY,
ViewDimension.TEX2D,
SampleType.FLOAT,
Format.RGBA8,
Expand Down

0 comments on commit f3c21de

Please sign in to comment.