Commit 14a3be1
committed
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 504ec2d commit 14a3be1
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