Skip to content

Commit e33d8b4

Browse files
corporatesharkmeta-codesync[bot]
authored andcommitted
igl | vulkan | Add Tracy profiler markers to SpvReflection (util)
Reviewed By: rudybear Differential Revision: D114575217 fbshipit-source-id: 07f6886120e9ea246596cb41dcb93c34e50a6026
1 parent a9d9af9 commit e33d8b4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/igl/vulkan/util/SpvReflection.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ TextureType getIGLTextureType(uint32_t dim, bool isArrayed) {
7070
} // namespace
7171

7272
SpvModuleInfo getReflectionData(const uint32_t* spirv, size_t numBytes) {
73+
IGL_PROFILER_FUNCTION();
7374
if (!IGL_DEBUG_VERIFY(spirv)) {
7475
return {};
7576
}
@@ -310,6 +311,7 @@ void combineDescriptions(std::vector<T>& out, const std::vector<T>& c1, const st
310311
} // namespace
311312

312313
SpvModuleInfo mergeReflectionData(const SpvModuleInfo& info1, const SpvModuleInfo& info2) {
314+
IGL_PROFILER_FUNCTION();
313315
SpvModuleInfo result;
314316

315317
combineDescriptions(result.buffers, info1.buffers, info2.buffers);

0 commit comments

Comments
 (0)