Remove useless function declarations
This patch removes the function declarations which don't have their function bodies. BUG=None Change-Id: Id16c2a225319331cdbc3a827ebbabf58c16e1dfd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/53140 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This commit is contained in:
parent
857eac2ade
commit
b6c54a6ec2
|
@ -60,12 +60,6 @@ namespace dawn_native {
|
|||
const ImageCopyTexture& imageCopyTexture,
|
||||
const Extent3D& copySize);
|
||||
|
||||
MaybeError ValidateRowsPerImage(const Format& format,
|
||||
uint32_t rowsPerImage,
|
||||
uint32_t copyHeight);
|
||||
MaybeError ValidateBytesPerRow(const Format& format,
|
||||
const Extent3D& copySize,
|
||||
uint32_t bytesPerRow);
|
||||
MaybeError ValidateCopySizeFitsInBuffer(const Ref<BufferBase>& buffer,
|
||||
uint64_t offset,
|
||||
uint64_t size);
|
||||
|
|
|
@ -32,8 +32,6 @@ namespace dawn_native {
|
|||
|
||||
static ComputePipelineBase* MakeError(DeviceBase* device);
|
||||
|
||||
const EntryPointMetadata& GetMetadata() const;
|
||||
|
||||
// Functors necessary for the unordered_set<ComputePipelineBase*>-based cache.
|
||||
struct EqualityFunc {
|
||||
bool operator()(const ComputePipelineBase* a, const ComputePipelineBase* b) const;
|
||||
|
|
|
@ -54,8 +54,6 @@ namespace dawn_native {
|
|||
public:
|
||||
OldSwapChainBase(DeviceBase* device, const SwapChainDescriptor* descriptor);
|
||||
|
||||
static SwapChainBase* MakeError(DeviceBase* device);
|
||||
|
||||
// Dawn API
|
||||
void APIConfigure(wgpu::TextureFormat format,
|
||||
wgpu::TextureUsage allowedUsage,
|
||||
|
|
|
@ -29,7 +29,6 @@ namespace dawn_native { namespace vulkan {
|
|||
|
||||
// Global information - gathered before the instance is created
|
||||
struct VulkanGlobalKnobs {
|
||||
bool HasLayer(VulkanLayer layer) const;
|
||||
VulkanLayerSet layers;
|
||||
ityp::array<VulkanLayer, InstanceExtSet, static_cast<uint32_t>(VulkanLayer::EnumCount)>
|
||||
layerExtensions;
|
||||
|
|
Loading…
Reference in New Issue