mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #3227] [MERGED] vk_rasterizer: Set render area to window scissor when no framebuffers are bound #3320
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3320
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3227
Author: @raphaelthegreat
Created: 7/10/2025
Status: ✅ Merged
Merged: 7/10/2025
Merged by: @georgemoralis
Base:
main← Head:renderarea📝 Commits (1)
e2a79davk_rasterizer: Set render area to max when no framebuffers are bound📊 Changes
4 files changed (+16 additions, -9 deletions)
View changed files
📝
src/video_core/renderer_vulkan/vk_instance.h(+11 -1)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+2 -0)📝
src/video_core/renderer_vulkan/vk_scheduler.cpp(+1 -6)📝
src/video_core/renderer_vulkan/vk_scheduler.h(+2 -2)📄 Description
It is possible to have a draw call without any framebuffers attached, but still rely on all invocations inside scissor area being invoked (for example writing to storage image with gl_FragCoord coodinates). On main render area would be set to 1 in that case, replace that with the maximum render area, so it covers all of scissor rect
I vaguely remember Knack doing this but not sure
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.