mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 01:24:11 +01:00
[dxvk] Remove spill parameter from bindRenderTargets
No longer needed.
This commit is contained in:
parent
102a18060e
commit
8446c28de1
@ -3428,7 +3428,7 @@ namespace dxvk {
|
||||
EmitCs([
|
||||
cAttachments = std::move(attachments)
|
||||
] (DxvkContext* ctx) {
|
||||
ctx->bindRenderTargets(cAttachments, false);
|
||||
ctx->bindRenderTargets(cAttachments);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -264,7 +264,7 @@ namespace dxvk {
|
||||
DxvkRenderTargets renderTargets;
|
||||
renderTargets.color[0].view = m_imageViews.at(imageIndex);
|
||||
renderTargets.color[0].layout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
|
||||
m_context->bindRenderTargets(renderTargets, false);
|
||||
m_context->bindRenderTargets(renderTargets);
|
||||
|
||||
VkViewport viewport;
|
||||
viewport.x = 0.0f;
|
||||
|
@ -96,8 +96,7 @@ namespace dxvk {
|
||||
|
||||
|
||||
void DxvkContext::bindRenderTargets(
|
||||
const DxvkRenderTargets& targets,
|
||||
bool spill) {
|
||||
const DxvkRenderTargets& targets) {
|
||||
// If necessary, perform clears on the active render targets
|
||||
if (m_flags.test(DxvkContextFlag::GpClearRenderTargets))
|
||||
this->clearRenderPass();
|
||||
@ -118,9 +117,6 @@ namespace dxvk {
|
||||
// the same render targets are bound again
|
||||
m_flags.clr(DxvkContextFlag::GpDirtyFramebuffer);
|
||||
}
|
||||
|
||||
if (spill)
|
||||
this->spillRenderPass();
|
||||
}
|
||||
|
||||
|
||||
|
@ -78,11 +78,9 @@ namespace dxvk {
|
||||
* \c spill flag in order to make shader writes
|
||||
* from previous rendering operations visible.
|
||||
* \param [in] targets Render targets to bind
|
||||
* \param [in] spill Spill render pass if true
|
||||
*/
|
||||
void bindRenderTargets(
|
||||
const DxvkRenderTargets& targets,
|
||||
bool spill);
|
||||
const DxvkRenderTargets& targets);
|
||||
|
||||
/**
|
||||
* \brief Binds indirect argument buffer
|
||||
|
Loading…
Reference in New Issue
Block a user