mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Move vertex index format from RenderPipelineDesc to InputStateDesc
Bug=dawn:107 Change-Id: Ia88232848995d5c4c3ac0f3137ffa518e85aa0a0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6140 Commit-Queue: Yunchao He <yunchao.he@intel.com> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
27a294c2e8
commit
f856903154
@@ -741,7 +741,8 @@ namespace dawn_native { namespace opengl {
|
||||
pushConstants.Apply(lastPipeline, lastPipeline);
|
||||
inputBuffers.Apply();
|
||||
|
||||
dawn::IndexFormat indexFormat = lastPipeline->GetIndexFormat();
|
||||
dawn::IndexFormat indexFormat =
|
||||
lastPipeline->GetInputStateDescriptor()->indexFormat;
|
||||
size_t formatSize = IndexFormatSize(indexFormat);
|
||||
GLenum formatType = IndexFormatType(indexFormat);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user