Skip to content
Snippets Groups Projects

gpu: only invalidate pl_pass_run_params.target in a raster pass

Closed James Ross-Gowan requested to merge rossy/libplacebo:pass-run-invalidate-target into master
1 unresolved thread

This was causing flickering in the borders when testing plplay under D3D11. When a compute shader rendered directly to the backbuffer, the backbuffer image was being invalidated after the clear for the border colour.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1556 1556 require(pl_rect_h(*vp) > 0);
1557 1557 require(pl_rect_w(*sc) > 0);
1558 1558 require(pl_rect_h(*sc) > 0);
1559
1560 if (params->target && !pass->params.load_target)
  • Merged manually as 7acd201d with the change applied.

  • closed

  • Please register or sign in to reply
    Loading