vulkan updates
This commit is contained in:
@@ -187,7 +187,6 @@ void RenderPath3D::ResizeBuffers()
|
||||
else
|
||||
{
|
||||
desc.Format = wiRenderer::DSFormat_full_alias;
|
||||
desc.BindFlags = BIND_SHADER_RESOURCE;
|
||||
}
|
||||
desc.SampleDesc.Count = 1;
|
||||
device->CreateTexture2D(&desc, nullptr, &depthBuffer_Copy);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -99,7 +99,7 @@ namespace wiGraphics
|
||||
};
|
||||
// RTFormats hash <-> renderpass+framebuffer
|
||||
std::unordered_map<uint64_t, RenderPassAndFramebuffer> renderPassCollection;
|
||||
uint64_t activeRTHash = 0;
|
||||
size_t activeRTHash = 0;
|
||||
const PipelineStateDesc* pDesc = nullptr;
|
||||
|
||||
VkRenderPass overrideRenderPass = VK_NULL_HANDLE;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace wiTextureHelper
|
||||
|
||||
HRESULT hr = CreateTexture(helperTextures[HELPERTEXTURE_RANDOM64X64], data, 64, 64);
|
||||
assert(SUCCEEDED(hr));
|
||||
wiRenderer::GetDevice()->SetName(&helperTextures[HELPERTEXTURE_RANDOM64X64], "HELPERTEXTURE_RANDOM64X64");
|
||||
}
|
||||
|
||||
// ColorGradeDefault
|
||||
@@ -65,6 +66,7 @@ namespace wiTextureHelper
|
||||
|
||||
HRESULT hr = CreateTexture(helperTextures[HELPERTEXTURE_COLORGRADEDEFAULT], data, 256, 16);
|
||||
assert(SUCCEEDED(hr));
|
||||
wiRenderer::GetDevice()->SetName(&helperTextures[HELPERTEXTURE_COLORGRADEDEFAULT], "HELPERTEXTURE_COLORGRADEDEFAULT");
|
||||
}
|
||||
|
||||
// BlackCubemap
|
||||
@@ -114,6 +116,7 @@ namespace wiTextureHelper
|
||||
|
||||
HRESULT hr = wiRenderer::GetDevice()->CreateTexture2D(&texDesc, &pData[0], &helperTextures[HELPERTEXTURE_BLACKCUBEMAP]);
|
||||
assert(SUCCEEDED(hr));
|
||||
wiRenderer::GetDevice()->SetName(&helperTextures[HELPERTEXTURE_BLACKCUBEMAP], "HELPERTEXTURE_BLACKCUBEMAP");
|
||||
}
|
||||
|
||||
wiBackLog::post("wiTextureHelper Initialized");
|
||||
@@ -183,6 +186,7 @@ namespace wiTextureHelper
|
||||
delete texture;
|
||||
return nullptr;
|
||||
}
|
||||
wiRenderer::GetDevice()->SetName(texture, "HELPERTEXTURE_COLOR");
|
||||
|
||||
colorlock.lock();
|
||||
colorTextures[color.rgba] = texture;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace wiVersion
|
||||
// minor features, major updates
|
||||
const int minor = 27;
|
||||
// minor bug fixes, alterations, refactors, updates
|
||||
const int revision = 4;
|
||||
const int revision = 5;
|
||||
|
||||
|
||||
long GetVersion()
|
||||
|
||||
Reference in New Issue
Block a user