Searched refs:kNumStages (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | PerStage.h | 30 static_assert(static_cast<uint32_t>(ShaderStage::Vertex) < kNumStages, ""); 31 static_assert(static_cast<uint32_t>(ShaderStage::Fragment) < kNumStages, ""); 32 static_assert(static_cast<uint32_t>(ShaderStage::Compute) < kNumStages, ""); 44 BitSetIterator<kNumStages, ShaderStage> IterateStages(dawn::ShaderStageBit stages); 48 static_cast<dawn::ShaderStageBit>((1 << kNumStages) - 1); 59 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages); 63 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages); 69 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages)); 74 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages)); 79 std::array<T, kNumStages> mData;
|
D | PerStage.cpp | 19 BitSetIterator<kNumStages, ShaderStage> IterateStages(dawn::ShaderStageBit stages) { in IterateStages() 20 std::bitset<kNumStages> bits(static_cast<uint32_t>(stages)); in IterateStages() 21 return BitSetIterator<kNumStages, ShaderStage>(bits); in IterateStages() 25 ASSERT(static_cast<uint32_t>(stage) < kNumStages); in StageBit()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | PerStage.h | 36 static_assert(static_cast<uint32_t>(SingleShaderStage::Vertex) < kNumStages, ""); 37 static_assert(static_cast<uint32_t>(SingleShaderStage::Fragment) < kNumStages, ""); 38 static_assert(static_cast<uint32_t>(SingleShaderStage::Compute) < kNumStages, ""); 50 BitSetIterator<kNumStages, SingleShaderStage> IterateStages(wgpu::ShaderStage stages); 54 static_cast<wgpu::ShaderStage>((1 << kNumStages) - 1); 65 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages); 69 DAWN_ASSERT(static_cast<uint32_t>(stage) < kNumStages); 75 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages)); 80 DAWN_ASSERT(bit != 0 && IsPowerOfTwo(bit) && bit <= (1 << kNumStages)); 85 std::array<T, kNumStages> mData;
|
D | PerStage.cpp | 39 BitSetIterator<kNumStages, SingleShaderStage> IterateStages(wgpu::ShaderStage stages) { in IterateStages() 40 std::bitset<kNumStages> bits(static_cast<uint32_t>(stages)); in IterateStages() 41 return BitSetIterator<kNumStages, SingleShaderStage>(bits); in IterateStages() 45 ASSERT(static_cast<uint32_t>(stage) < kNumStages); in StageBit()
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Constants.h | 33 static constexpr uint32_t kNumStages = 3; variable
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Constants.h | 24 static constexpr uint32_t kNumStages = 3; variable
|