Commit 322f2ad
committed
Use renderArea instead of full window when compiling RenderGraph
Use renderArea of RenderGraph instead of the full window/framebuffer extent when creating the compile-context default viewportstate
Nominally, Views are above RenderGraphs in VSG scene graphs, however when a View that takes up a subset of the window/framebuffer extent contains individual RenderGraphs, the recorded default renderArea (viewportstate) was incorrect and resulted in the scene being drawn to the entire window area, but scissored to the render graphs renderArea. This change ensures that the default viewportstate is consistent with the rendergraph being compiled.1 parent 7cd17a2 commit 322f2ad
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
398 | 393 | | |
399 | 394 | | |
400 | 395 | | |
| |||
0 commit comments