Skip to content

Commit 929ab49

Browse files
committed
fixup
1 parent 15dcc33 commit 929ab49

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

axmol/rhi/d3d/ShaderModuleD3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ void ShaderModuleImpl::compileShader(ID3D11Device* device, ShaderStage stage, st
168168
refl.num_storage_buffers = ibs.read<uint32_t>();
169169

170170
// skip infos we don't need
171-
ibs.advance(sizeof(sc_chunk_refl) - offsetof(sc_chunk_refl, flatten_ubos));
171+
ibs.advance(sizeof(sc_chunk_refl) - offsetof(sc_chunk_refl, flatten_ubo));
172172

173173
SLCReflectContext context{&refl, &ibs};
174174

axmol/rhi/metal/ShaderModuleMTL.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ of this software and associated documentation files (the "Software"), to deal
127127
refl.num_storage_buffers = ibs.read<uint32_t>();
128128

129129
// skip infos we don't need
130-
ibs.advance(sizeof(sc_chunk_refl) - offsetof(sc_chunk_refl, flatten_ubos));
130+
ibs.advance(sizeof(sc_chunk_refl) - offsetof(sc_chunk_refl, flatten_ubo));
131131

132132
SLCReflectContext context{&refl, &ibs};
133133

axmol/rhi/vulkan/ShaderModuleVK.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void ShaderModuleImpl::compileShader(VkDevice device, ShaderStage stage, std::st
156156
refl.num_storage_images = ibs.read<uint32_t>();
157157
refl.num_storage_buffers = ibs.read<uint32_t>();
158158

159-
// Skip fields we don't need beyond flatten_ubos start
159+
// Skip fields we don't need beyond flatten_ubo start
160160
ibs.advance(sizeof(sc_chunk_refl) - offsetof(sc_chunk_refl, flatten_ubo));
161161

162162
SLCReflectContext context{&refl, &ibs};

0 commit comments

Comments
 (0)