Home
last modified time | relevance | path

Searched refs:kMaxVertexBufferArrayStride (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexStateValidationTests.cpp202 state.cVertexBuffers[0].arrayStride = kMaxVertexBufferArrayStride; in TEST_F()
207 state.cVertexBuffers[0].arrayStride = kMaxVertexBufferArrayStride + 1; in TEST_F()
286 state.cAttributes[0].offset = kMaxVertexBufferArrayStride - sizeof(wgpu::VertexFormat::Float32); in TEST_F()
290 state.cAttributes[0].offset = kMaxVertexBufferArrayStride - 1; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/common/
DConstants.h23 static constexpr uint32_t kMaxVertexBufferArrayStride = 2048u; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp135 ASSERT(kMaxVertexBufferArrayStride >= formatInfo.byteSize); in ValidateVertexAttribute()
137 attribute->offset > kMaxVertexBufferArrayStride - formatInfo.byteSize, in ValidateVertexAttribute()
141 kMaxVertexBufferArrayStride); in ValidateVertexAttribute()
145 ASSERT(attribute->offset < kMaxVertexBufferArrayStride); in ValidateVertexAttribute()
179 buffer->arrayStride > kMaxVertexBufferArrayStride, in ValidateVertexBufferLayout()
181 buffer->arrayStride, kMaxVertexBufferArrayStride); in ValidateVertexBufferLayout()
DAdapter.cpp44 std::min(mLimits.v1.maxVertexBufferArrayStride, kMaxVertexBufferArrayStride); in Initialize()