| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <nn/gfx/detail/gfx_Misc.h> |
| 4 | #include <nn/gfx/gfx_Common.h> |
| 5 | #include <nn/nn_BitTypes.h> |
| 6 | #include <nn/util/util_BitPack.h> |
| 7 | |
| 8 | namespace nn::gfx { |
| 9 | |
| 10 | template <> |
| 11 | struct DescriptorPoolImplData<ApiVariationNvn8> { |
| 12 | enum State { State_NotInitialized, State_Initialized, State_Begun }; |
| 13 | enum Flag { Flag_Shared }; |
| 14 | |
| 15 | Bit8 state; |
| 16 | Bit8 descriptorPoolType; |
| 17 | nn::util::BitPack8 flags; |
| 18 | char reserved; |
| 19 | int32_t slotCount; |
| 20 | int32_t reservedSlots; |
| 21 | char reserved2[4]; |
| 22 | detail::Ptr<void> pDescriptorPool; |
| 23 | char nvnDescriptorPool[32]; |
| 24 | detail::Ptr<void> userPtr; |
| 25 | }; |
| 26 | |
| 27 | } // namespace nn::gfx |