1 // 2 // Copyright 2024 The ANGLE Project Authors. All rights reserved. 3 // Use of this source code is governed by a BSD-style license that can be 4 // found in the LICENSE file. 5 // 6 // TransformFeedbackWgpu.cpp: 7 // Implements the class methods for TransformFeedbackWgpu. 8 // 9 10 #include "libANGLE/renderer/wgpu/TransformFeedbackWgpu.h" 11 12 #include "common/debug.h" 13 14 namespace rx 15 { 16 TransformFeedbackWgpu(const gl::TransformFeedbackState & state)17TransformFeedbackWgpu::TransformFeedbackWgpu(const gl::TransformFeedbackState &state) 18 : TransformFeedbackImpl(state) 19 {} 20 ~TransformFeedbackWgpu()21TransformFeedbackWgpu::~TransformFeedbackWgpu() {} 22 begin(const gl::Context * context,gl::PrimitiveMode primitiveMode)23angle::Result TransformFeedbackWgpu::begin(const gl::Context *context, 24 gl::PrimitiveMode primitiveMode) 25 { 26 return angle::Result::Continue; 27 } 28 end(const gl::Context * context)29angle::Result TransformFeedbackWgpu::end(const gl::Context *context) 30 { 31 return angle::Result::Continue; 32 } 33 pause(const gl::Context * context)34angle::Result TransformFeedbackWgpu::pause(const gl::Context *context) 35 { 36 return angle::Result::Continue; 37 } 38 resume(const gl::Context * context)39angle::Result TransformFeedbackWgpu::resume(const gl::Context *context) 40 { 41 return angle::Result::Continue; 42 } 43 bindIndexedBuffer(const gl::Context * context,size_t index,const gl::OffsetBindingPointer<gl::Buffer> & binding)44angle::Result TransformFeedbackWgpu::bindIndexedBuffer( 45 const gl::Context *context, 46 size_t index, 47 const gl::OffsetBindingPointer<gl::Buffer> &binding) 48 { 49 return angle::Result::Continue; 50 } 51 52 } // namespace rx 53