mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Fix clang/GCC warnings
This commit is contained in:
committed by
Corentin Wallez
parent
f30dffa75f
commit
98c90d4faa
@@ -123,7 +123,7 @@ namespace opengl {
|
||||
|
||||
case Command::CopyTextureToBuffer:
|
||||
{
|
||||
CopyTextureToBufferCmd* copy = commands.NextCommand<CopyTextureToBufferCmd>();
|
||||
commands.NextCommand<CopyTextureToBufferCmd>();
|
||||
// TODO(cwallez@chromium.org): implement using a temporary FBO and ReadPixels
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace opengl {
|
||||
glBufferSubData(GL_ARRAY_BUFFER, start * sizeof(uint32_t), count * sizeof(uint32_t), data);
|
||||
}
|
||||
|
||||
void Buffer::MapReadAsyncImpl(uint32_t serial, uint32_t start, uint32_t count) {
|
||||
void Buffer::MapReadAsyncImpl(uint32_t, uint32_t, uint32_t) {
|
||||
// TODO(cwallez@chromium.org): Implement Map Read for the GL backend
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ namespace opengl {
|
||||
// TODO(cwallez@chromium.org): Implement Map Read for the GL backend
|
||||
}
|
||||
|
||||
void Buffer::TransitionUsageImpl(nxt::BufferUsageBit currentUsage, nxt::BufferUsageBit targetUsage) {
|
||||
void Buffer::TransitionUsageImpl(nxt::BufferUsageBit, nxt::BufferUsageBit) {
|
||||
}
|
||||
|
||||
// BufferView
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace opengl {
|
||||
return GetGLFormatInfo(GetFormat());
|
||||
}
|
||||
|
||||
void Texture::TransitionUsageImpl(nxt::TextureUsageBit currentUsage, nxt::TextureUsageBit targetUsage) {
|
||||
void Texture::TransitionUsageImpl(nxt::TextureUsageBit, nxt::TextureUsageBit) {
|
||||
}
|
||||
|
||||
// TextureView
|
||||
|
||||
Reference in New Issue
Block a user