video_core: optionally skip barriers on feedback loops
This commit is contained in:
parent
278336af63
commit
8d6aefdcc4
6 changed files with 28 additions and 0 deletions
|
@ -186,6 +186,10 @@ void TextureCache<P>::FillComputeImageViews(std::span<ImageViewInOut> views) {
|
|||
|
||||
template <class P>
|
||||
void TextureCache<P>::CheckFeedbackLoop(std::span<const ImageViewInOut> views) {
|
||||
if (!Settings::values.barrier_feedback_loops.GetValue()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const bool requires_barrier = [&] {
|
||||
for (const auto& view : views) {
|
||||
if (!view.id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue