xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/wgpu/TransformFeedbackWgpu.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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)17 TransformFeedbackWgpu::TransformFeedbackWgpu(const gl::TransformFeedbackState &state)
18     : TransformFeedbackImpl(state)
19 {}
20 
~TransformFeedbackWgpu()21 TransformFeedbackWgpu::~TransformFeedbackWgpu() {}
22 
begin(const gl::Context * context,gl::PrimitiveMode primitiveMode)23 angle::Result TransformFeedbackWgpu::begin(const gl::Context *context,
24                                            gl::PrimitiveMode primitiveMode)
25 {
26     return angle::Result::Continue;
27 }
28 
end(const gl::Context * context)29 angle::Result TransformFeedbackWgpu::end(const gl::Context *context)
30 {
31     return angle::Result::Continue;
32 }
33 
pause(const gl::Context * context)34 angle::Result TransformFeedbackWgpu::pause(const gl::Context *context)
35 {
36     return angle::Result::Continue;
37 }
38 
resume(const gl::Context * context)39 angle::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)44 angle::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