diff options
| author | Tauwni <102470988+Tauwni@users.noreply.github.com> | 2026-11-26 12:19:12 +0100 |
|---|---|---|
| committer | Tauwni <102470988+Tauwni@users.noreply.github.com> | 2026-11-26 12:19:12 +0100 |
| commit | beffaa9a476ca1b3dfd9cfa55e39eafbb1f5eec6 (patch) | |
| tree | 32877805bf4eb46d9a89d5753db6b5a2b06dc845 /runtime/src/command_list.h | |
| parent | f29ca7bacae9507f83e8c56abdb604bd4efb4cf1 (diff) | |
| parent | a73a57e1339be072baf5522351c8ec7f1482b56b (diff) | |
Merge main into fix/null-descriptor-generated-dir
Diffstat (limited to 'runtime/src/command_list.h')
| -rw-r--r-- | runtime/src/command_list.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/src/command_list.h b/runtime/src/command_list.h index 3d7ed093b..d7d739640 100644 --- a/runtime/src/command_list.h +++ b/runtime/src/command_list.h | |||
| @@ -462,6 +462,7 @@ struct Draw { | |||
| 462 | std::uint32_t first_instance = 0; | 462 | std::uint32_t first_instance = 0; |
| 463 | bool mesh = false; | 463 | bool mesh = false; |
| 464 | std::shared_ptr<const DrawViewports> viewports; // non-null when >1 viewport or >1 scissor was bound | 464 | std::shared_ptr<const DrawViewports> viewports; // non-null when >1 viewport or >1 scissor was bound |
| 465 | std::array<float, 2> depth_bounds{0, 1}; // OMSetDepthBounds (min, max); used by depth-bounds pipelines only | ||
| 465 | }; | 466 | }; |
| 466 | 467 | ||
| 467 | // Only indirect draws allocate this extra payload. Copies of the IR share both its | 468 | // Only indirect draws allocate this extra payload. Copies of the IR share both its |
| @@ -545,8 +546,8 @@ struct UavView { | |||
| 545 | std::uint64_t size; // buffer: bytes in the view | 546 | std::uint64_t size; // buffer: bytes in the view |
| 546 | std::uint32_t element_size; // buffer: bytes an element (rects count elements), 4 for a raw view | 547 | std::uint32_t element_size; // buffer: bytes an element (rects count elements), 4 for a raw view |
| 547 | std::uint32_t mip; // texture | 548 | std::uint32_t mip; // texture |
| 548 | std::uint32_t first_layer; | 549 | std::uint32_t first_layer; // 1D/2D array: first slice; 3D volume: FirstWSlice |
| 549 | std::uint32_t layer_count; | 550 | std::uint32_t layer_count; // 1D/2D array: slice count; 3D volume: WSize |
| 550 | bool exact_clear_format = false; // newly exposed 1D/3D UAVs: do not clear via a different backing format | 551 | bool exact_clear_format = false; // newly exposed 1D/3D UAVs: do not clear via a different backing format |
| 551 | }; | 552 | }; |
| 552 | 553 | ||