diff options
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 | ||