Home
last modified time | relevance | path

Searched refs:bufferBinding (Results 1 – 18 of 18) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
DTransformFeedbackMtl.mm92 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding =
95 ASSERT((bufferBinding.getOffset() % 4) == 0);
101 (bufferBinding.getOffset() + drawCallVertexOffset * bufferStrides[bufferIndex]) /
DProgramMtl.mm1350 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding =
1352 if (bufferBinding.get() == nullptr)
1382 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding =
1385 if (bufferBinding.get() == nullptr)
1390 BufferMtl *bufferMtl = mtl::GetImpl(bufferBinding.get());
1391 size_t srcOffset = std::min<size_t>(bufferBinding.getOffset(), bufferMtl->size());
1425 static_cast<uint32_t>(bufferBinding.getOffset());
1443 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding =
1446 if (bufferBinding.get() == nullptr || !block.activeShaders().test(shaderType))
1498 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding =
[all …]
/external/deqp/framework/opengl/
DgluProgramInterfaceQuery.hpp44 deUint32 bufferBinding; //!< GL_BUFFER_BINDING member
50 , bufferBinding (0) in InterfaceBlockInfo()
DgluProgramInterfaceQuery.cpp77 …info.bufferBinding = getProgramResourceUint(gl, program, programInterface, index, GL_BUFFER_BINDIN… in getProgramInterfaceBlockInfo()
/external/angle/src/libANGLE/renderer/gl/
Drenderergl_utils.h130 GLenum GetBufferBindingQuery(gl::BufferBinding bufferBinding);
131 std::string GetBufferBindingString(gl::BufferBinding bufferBinding);
DTextureGL.cpp1742 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = mState.getBuffer(); in setBuffer() local
1743 const gl::Buffer *buffer = bufferBinding.get(); in setBuffer()
1744 const GLintptr offset = bufferBinding.getOffset(); in setBuffer()
1745 const GLsizeiptr size = bufferBinding.getSize(); in setBuffer()
1759 GetBoundBufferAvailableSize(bufferBinding))); in setBuffer()
DProgramGL.cpp951 int bufferBinding = params[0]; in getAtomicCounterBufferSizeMap() local
953 sizeMapOut->insert(std::pair<int, unsigned int>(bufferBinding, bufferDataSize)); in getAtomicCounterBufferSizeMap()
Drenderergl_utils.cpp2349 GLenum GetBufferBindingQuery(gl::BufferBinding bufferBinding) in GetBufferBindingQuery() argument
2351 switch (bufferBinding) in GetBufferBindingQuery()
2385 std::string GetBufferBindingString(gl::BufferBinding bufferBinding) in GetBufferBindingString() argument
2388 os << bufferBinding << "_BINDING"; in GetBufferBindingString()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp1225 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = in updateBuffersDescriptorSet() local
1234 if (bufferBinding.get() == nullptr) in updateBuffersDescriptorSet()
1251 size = gl::GetBoundBufferAvailableSize(bufferBinding); in updateBuffersDescriptorSet()
1255 static_assert(sizeof(VkDeviceSize) >= sizeof(bufferBinding.getSize()), in updateBuffersDescriptorSet()
1257 ASSERT(bufferBinding.getSize() >= 0); in updateBuffersDescriptorSet()
1259 BufferVk *bufferVk = vk::GetImpl(bufferBinding.get()); in updateBuffersDescriptorSet()
1272 IsDynamicDescriptor(descriptorType) ? 0 : bufferOffset + bufferBinding.getOffset(); in updateBuffersDescriptorSet()
1280 static_cast<uint32_t>(bufferOffset + bufferBinding.getOffset())); in updateBuffersDescriptorSet()
1326 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = in updateAtomicCounterBuffersDescriptorSet() local
1329 if (bufferBinding.get() == nullptr) in updateAtomicCounterBuffersDescriptorSet()
[all …]
DContextVk.cpp1213 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = in renderPassUsesStorageResources() local
1216 if (!block.isActive(shaderType) || bufferBinding.get() == nullptr) in renderPassUsesStorageResources()
1223 vk::GetImpl(bufferBinding.get())->getBufferAndOffset(&bufferOffset); in renderPassUsesStorageResources()
1237 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = in renderPassUsesStorageResources() local
1240 if (bufferBinding.get() == nullptr) in renderPassUsesStorageResources()
1247 vk::GetImpl(bufferBinding.get())->getBufferAndOffset(&bufferOffset); in renderPassUsesStorageResources()
1782 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = in handleDirtyShaderResourcesImpl() local
1790 if (bufferBinding.get() == nullptr) in handleDirtyShaderResourcesImpl()
1795 BufferVk *bufferVk = vk::GetImpl(bufferBinding.get()); in handleDirtyShaderResourcesImpl()
1806 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = in handleDirtyShaderResourcesImpl() local
[all …]
DTextureVk.cpp2442 const gl::OffsetBindingPointer<gl::Buffer> &bufferBinding = mState.getBuffer(); in syncState() local
2444 const VkDeviceSize offset = bufferBinding.getOffset(); in syncState()
2445 const VkDeviceSize size = gl::GetBoundBufferAvailableSize(bufferBinding); in syncState()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinitionUtil.cpp1198 const int bufferBinding = shader->getDefaultBlock().variables[ndx].layout.binding; in getAtomicCounterMaxBufferSize() local
1204 if (bufferSizes.find(bufferBinding) == bufferSizes.end()) in getAtomicCounterMaxBufferSize()
1205 bufferSizes[bufferBinding] = size; in getAtomicCounterMaxBufferSize()
1207 bufferSizes[bufferBinding] = de::max<int>(bufferSizes[bufferBinding], size); in getAtomicCounterMaxBufferSize()
Des31fBasicComputeShaderTests.cpp315 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *inputBuffer); in iterate()
326 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *outputBuffer); in iterate()
1179 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *inputBuffer); in iterate()
1313 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *inputBuffer); in iterate()
Des31fProgramInterfaceQueryTests.cpp2583 glw::GLint bufferBinding = -1; in iterate() local
2586 …rogram(), GL_ATOMIC_COUNTER_BUFFER, bufferNdx, 1, &bufferBindingProp, 1, &written, &bufferBinding); in iterate()
2595 …m_testCtx.getLog() << tcu::TestLog::Message << "GL_BUFFER_BINDING = " << bufferBinding << tcu::Tes… in iterate()
2598 if (getBufferVariableCount(bufferBinding) == 0) in iterate()
2600 …cu::TestLog::Message << "Error, got buffer with BUFFER_BINDING = " << bufferBinding << ", but such… in iterate()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp2565 if ((*i)->m_arrays[vertexAttribNdx].bufferBinding == buffer) in deleteBuffer()
2569 (*i)->m_arrays[vertexAttribNdx].bufferBinding = DE_NULL; in deleteBuffer()
3652 if (vao.m_arrays[index].bufferBinding) in vertexAttribPointer()
3653 m_buffers.releaseReference(vao.m_arrays[index].bufferBinding); in vertexAttribPointer()
3656 vao.m_arrays[index].bufferBinding = m_arrayBufferBinding; in vertexAttribPointer()
3683 if (vao.m_arrays[index].bufferBinding) in vertexAttribIPointer()
3684 m_buffers.releaseReference(vao.m_arrays[index].bufferBinding); in vertexAttribIPointer()
3687 vao.m_arrays[index].bufferBinding = m_arrayBufferBinding; in vertexAttribIPointer()
3985 if (vertexArray->m_arrays[ndx].bufferBinding) in deleteVertexArray()
3986 m_buffers.releaseReference(vertexArray->m_arrays[ndx].bufferBinding); in deleteVertexArray()
[all …]
DsglrReferenceContext.hpp433 rc::DataBuffer* bufferBinding; member
/external/angle/src/libANGLE/capture/
Dframe_capture_utils.cpp740 for (gl::BufferBinding bufferBinding : AllEnums<gl::BufferBinding>()) in SerializeContextState()
742 const gl::BindingPointer<gl::Buffer> &buffer = boundBuffers[bufferBinding]; in SerializeContextState()
744 strstr << bufferBinding; in SerializeContextState()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DParseHelper.cpp7011 int bufferBinding = TQualifier::layoutBindingEnd; in vkRelaxedRemapUniformVariable() local
7024 bufferBinding = type.getQualifier().layoutBinding; in vkRelaxedRemapUniformVariable()
7027 growAtomicCounterBlock(bufferBinding, loc, type, identifier, nullptr); in vkRelaxedRemapUniformVariable()
7028 updatedBlock = atomicCounterBuffers[bufferBinding]; in vkRelaxedRemapUniformVariable()