MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / BindAsReadWriteImage

Method BindAsReadWriteImage

tensorflow/lite/delegates/gpu/gl/gl_texture.cc:136–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136Status GlTexture::BindAsReadWriteImage(uint32_t index) const {
137 return BindImage(index, GL_READ_WRITE);
138}
139
140Status GlTexture::BindAsSampler2D(uint32_t index) const {
141 RETURN_IF_ERROR(TFLITE_GPU_CALL_GL(glActiveTexture, GL_TEXTURE0 + index));

Callers 1

MakeBindingFuncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected