aurora: Update dawn

This commit is contained in:
Luke Street 2022-05-09 00:56:44 -04:00
parent 10d4bbf297
commit 1115b451a5
3 changed files with 3 additions and 5 deletions

View File

@ -307,7 +307,7 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon, int argc, char** argv)
// .resolveTarget = g_frameBufferResolved.view,
.loadOp = wgpu::LoadOp::Clear,
.storeOp = wgpu::StoreOp::Store,
.clearColor =
.clearValue =
{
.r = gfx::gx::g_gxState.clearColor.r(),
.g = gfx::gx::g_gxState.clearColor.g(),
@ -321,8 +321,6 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon, int argc, char** argv)
.depthLoadOp = wgpu::LoadOp::Clear,
.depthStoreOp = wgpu::StoreOp::Discard,
.clearDepth = 1.f,
.stencilLoadOp = wgpu::LoadOp::Clear,
.stencilStoreOp = wgpu::StoreOp::Discard,
};
auto renderPassDescriptor = wgpu::RenderPassDescriptor{
.label = "Main render pass",

View File

@ -144,7 +144,7 @@ void initialize(SDL_Window* window) {
g_AdapterProperties.driverDescription);
{
WGPUSupportedLimits supportedLimits;
WGPUSupportedLimits supportedLimits{};
g_Adapter.GetLimits(&supportedLimits);
const wgpu::RequiredLimits requiredLimits{
.limits =

2
extern/dawn vendored

@ -1 +1 @@
Subproject commit 3f4a7546c271de78ed61690fdbc162114bd1bece
Subproject commit 59d5fcfc9b958950ac3f6999e63e8db5ed42cf2e