Skip to content

Commit

Permalink
fbsource//xplat/graphics/igl/public/src/igl/vulkan [A] [A]
Browse files Browse the repository at this point in the history
Reviewed By: nlutsenko

Differential Revision: D67289339

fbshipit-source-id: bcfd3790386fc95873ee6572255e431afff1cacf
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Dec 17, 2024
1 parent 7441463 commit 2a5c7f5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/igl/vulkan/Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include "Common.h"

#include <cstdio>
#include <cstdlib>

// clang-format off
Expand Down
2 changes: 1 addition & 1 deletion src/igl/vulkan/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ void ensureShaderModule(IShaderModule* sm);

/// @brief Implements the igl::IDepthStencilState interface
struct DepthStencilState final : public IDepthStencilState {
explicit DepthStencilState(const DepthStencilStateDesc& desc) : desc_(desc) {}
explicit DepthStencilState(DepthStencilStateDesc desc) : desc_(std::move(desc)) {}
const DepthStencilStateDesc desc_;
};

Expand Down
7 changes: 2 additions & 5 deletions src/igl/vulkan/PlatformDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
struct AHardwareBuffer;
#endif // defined(IGL_ANDROID_HWBUFFER_SUPPORTED)

namespace igl {

namespace vulkan {
namespace igl::vulkan {

class Device;

Expand Down Expand Up @@ -82,5 +80,4 @@ class PlatformDevice : public IPlatformDevice {
std::shared_ptr<ITexture> nativeDepthTexture_;
};

} // namespace vulkan
} // namespace igl
} // namespace igl::vulkan
2 changes: 0 additions & 2 deletions src/igl/vulkan/SamplerState.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
namespace igl::vulkan {

class Device;
class PipelineState;
class VulkanContext;

/**
* @brief Encapsulates a VulkanSampler class and its descriptor, along with a vulkan::Device for
Expand Down

0 comments on commit 2a5c7f5

Please sign in to comment.