mirror of https://github.com/AxioDL/metaforce.git
aurora: Update dawn
This commit is contained in:
parent
10d4bbf297
commit
1115b451a5
|
@ -307,7 +307,7 @@ void app_run(std::unique_ptr<AppDelegate> app, Icon icon, int argc, char** argv)
|
||||||
// .resolveTarget = g_frameBufferResolved.view,
|
// .resolveTarget = g_frameBufferResolved.view,
|
||||||
.loadOp = wgpu::LoadOp::Clear,
|
.loadOp = wgpu::LoadOp::Clear,
|
||||||
.storeOp = wgpu::StoreOp::Store,
|
.storeOp = wgpu::StoreOp::Store,
|
||||||
.clearColor =
|
.clearValue =
|
||||||
{
|
{
|
||||||
.r = gfx::gx::g_gxState.clearColor.r(),
|
.r = gfx::gx::g_gxState.clearColor.r(),
|
||||||
.g = gfx::gx::g_gxState.clearColor.g(),
|
.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,
|
.depthLoadOp = wgpu::LoadOp::Clear,
|
||||||
.depthStoreOp = wgpu::StoreOp::Discard,
|
.depthStoreOp = wgpu::StoreOp::Discard,
|
||||||
.clearDepth = 1.f,
|
.clearDepth = 1.f,
|
||||||
.stencilLoadOp = wgpu::LoadOp::Clear,
|
|
||||||
.stencilStoreOp = wgpu::StoreOp::Discard,
|
|
||||||
};
|
};
|
||||||
auto renderPassDescriptor = wgpu::RenderPassDescriptor{
|
auto renderPassDescriptor = wgpu::RenderPassDescriptor{
|
||||||
.label = "Main render pass",
|
.label = "Main render pass",
|
||||||
|
|
|
@ -144,7 +144,7 @@ void initialize(SDL_Window* window) {
|
||||||
g_AdapterProperties.driverDescription);
|
g_AdapterProperties.driverDescription);
|
||||||
|
|
||||||
{
|
{
|
||||||
WGPUSupportedLimits supportedLimits;
|
WGPUSupportedLimits supportedLimits{};
|
||||||
g_Adapter.GetLimits(&supportedLimits);
|
g_Adapter.GetLimits(&supportedLimits);
|
||||||
const wgpu::RequiredLimits requiredLimits{
|
const wgpu::RequiredLimits requiredLimits{
|
||||||
.limits =
|
.limits =
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 3f4a7546c271de78ed61690fdbc162114bd1bece
|
Subproject commit 59d5fcfc9b958950ac3f6999e63e8db5ed42cf2e
|
Loading…
Reference in New Issue