Searched refs:kMaxVertexBufferArrayStride (Results 1 – 4 of 4) sorted by relevance
202 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()
23 static constexpr uint32_t kMaxVertexBufferArrayStride = 2048u; variable
135 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()
44 std::min(mLimits.v1.maxVertexBufferArrayStride, kMaxVertexBufferArrayStride); in Initialize()