Skip to content

Commit

Permalink
fbsource//xplat/graphics/igl/public/src/igl/vulkan/util
Browse files Browse the repository at this point in the history
Reviewed By: boguscoder

Differential Revision: D68656606

fbshipit-source-id: cbe0a867ffd5fd77b16ad29c0d38dd483ddd2d24
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Jan 25, 2025
1 parent 9a76c87 commit 3ac58f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/igl/vulkan/util/SpvConstantSpecialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ void specializeConstants(uint32_t* spirv, size_t numBytes, const std::vector<uin
constexpr uint32_t kOpSpecConstantResultId = 2;
constexpr uint32_t kOpSpecConstantValue = 3;

uint32_t resultId = instruction[kOpSpecConstantResultId];
uint32_t specializedValue = idToValue[resultId];
const uint32_t resultId = instruction[kOpSpecConstantResultId];
const uint32_t specializedValue = idToValue[resultId];
if (specializedValue == kNoValue) {
break;
}
Expand Down
1 change: 0 additions & 1 deletion src/igl/vulkan/util/TextureFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <igl/vulkan/util/TextureFormat.h>

#define IGL_COMMON_SKIP_CHECK
#include <igl/Assert.h>

namespace igl::vulkan::util {

Expand Down

0 comments on commit 3ac58f8

Please sign in to comment.