Home
last modified time | relevance | path

Searched refs:bindingPoint (Results 1 – 11 of 11) sorted by relevance

/external/angle/src/tests/gl_tests/
DTextureExternalUpdateTest.cpp42 GLenum bindingPoint = GL_TEXTURE_2D; in TEST_P() local
47 bindingPoint = GL_TEXTURE_EXTERNAL_OES; in TEST_P()
51 glBindTexture(bindingPoint, texture); in TEST_P()
53 glTexImage2DExternalANGLE(bindingPoint, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
DAtomicCounterBufferTest.cpp288 uint32_t bindingPoint = bindingSlot % maxAtomicCounterBuffers; in TEST_P() local
292 glBindBufferBase(GL_ATOMIC_COUNTER_BUFFER, bindingPoint, bufferId); in TEST_P()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_glslang_utils.mm112 uint32_t bindingPoint = 0;
122 bindingPoint = mtl::kDriverUniformsBindingIndex;
128 bindingPoint = mtl::kDefaultUniformsBindingIndex;
137 bindingPoint = kMaxShaderBuffers - 1 - xfbSlot;
139 xfbBindingRemapOut->at(xfbSlot) = bindingPoint;
165 resBinding.msl_buffer = bindingPoint;
Dmtl_glslang_mtl_utils.mm321 uint32_t bindingPoint = kMaxShaderBuffers - 1 - bufferIndex;
322 xfbBindingRemapOut->at(bufferIndex) = bindingPoint;
324 "device float* ANGLE_" + bufferName + " [[buffer(" + Str(bindingPoint) + ")]]";
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp1648 const int bindingPoint = 0; in runComputeShader() local
1651 …cu::TestLog::Message << "Binding command buffer to binding point " << bindingPoint << tcu::TestLog… in runComputeShader()
1652 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_cmdBufferID); in runComputeShader()
1660 const int bindingPoint = (m_computeCmd) ? (1) : (0); in runComputeShader() local
1663 …< tcu::TestLog::Message << "Binding data buffer to binding point " << bindingPoint << tcu::TestLog… in runComputeShader()
1664 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_dataBufferID); in runComputeShader()
1672 …const int bindingPoint = (m_computeCmd && m_computeData) ? (2) : (m_computeCmd || m_computeData)… in runComputeShader() local
1675 … tcu::TestLog::Message << "Binding index buffer to binding point " << bindingPoint << tcu::TestLog… in runComputeShader()
1676 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_indexBufferID); in runComputeShader()
1809 const int bindingPoint = 0; in runComputeShader() local
[all …]
Des31fSSBOLayoutCase.cpp939 void generateDeclaration (std::ostream& src, const BufferBlock& block, int bindingPoint) in generateDeclaration() argument
946 src << "binding = " << bindingPoint; in generateDeclaration()
1301 int bindingPoint = 0; in generateComputeShader() local
1306 generateDeclaration(src, block, bindingPoint); in generateComputeShader()
1308 bindingPoint += block.isArray() ? block.getArraySize() : 1; in generateComputeShader()
1311 if (bindingPoint > maxShaderStorageBufferBindings) in generateComputeShader()
1315 if (bindingPoint > maxComputeShaderStorageBlocks) in generateComputeShader()
2238 int bindingPoint = 0; in iterate() local
2255 …gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, bindingPoint, buffers[blockLoc.index].buffer, blockLo… in iterate()
2258 bindingPoint += 1; in iterate()
Des31fIntegerStateQueryTests.cpp280 …st char* name, const char* desc, glw::GLenum queryTarget, glw::GLenum bindingPoint, QueryType veri…
289 …st char* name, const char* desc, glw::GLenum queryTarget, glw::GLenum bindingPoint, QueryType veri… in BufferBindingCase() argument
292 , m_bindingPoint (bindingPoint) in BufferBindingCase()
Des31fLayoutBindingTests.cpp1031 …void initializeTexture (glw::GLint bindingPoint, glw::GLint textureName, const Vec4& colo…
1169 void SamplerBindingRenderCase::initializeTexture (glw::GLint bindingPoint, glw::GLint textureName, … in initializeTexture() argument
1173 gl.activeTexture(GL_TEXTURE0 + bindingPoint); in initializeTexture()
/external/deqp/external/openglcts/modules/gles31/
Des31cLayoutBindingTests.cpp291 glw::GLint bindingPoint; in getBindingPoints() local
295 m_gl.getUniformiv(getProgram(), location, &bindingPoint); in getBindingPoints()
299 bindingPoints[it->first] = bindingPoint; in getBindingPoints()
306 virtual bool setBindingPoints(StringVector list, glw::GLint bindingPoint) const in setBindingPoints()
315 m_gl.uniform1i(it->second, bindingPoint); in setBindingPoints()
2993 bool setBindingPoints(StringVector list, glw::GLint bindingPoint) const in setBindingPoints()
3005 gl().uniformBlockBinding(getProgram(), blockIndex, bindingPoint); in setBindingPoints()
3185 bool setBindingPoints(StringVector list, glw::GLint bindingPoint) const in setBindingPoints()
3195 gl().shaderStorageBlockBinding(getProgram(), blockIndex, bindingPoint); in setBindingPoints()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp2431 DataBuffer** bindingPoint = DE_NULL; in setBufferBinding() local
2436 case GL_ARRAY_BUFFER: bindingPoint = &m_arrayBufferBinding; break; in setBufferBinding()
2437 case GL_COPY_READ_BUFFER: bindingPoint = &m_copyReadBufferBinding; break; in setBufferBinding()
2438 case GL_COPY_WRITE_BUFFER: bindingPoint = &m_copyWriteBufferBinding; break; in setBufferBinding()
2439 case GL_DRAW_INDIRECT_BUFFER: bindingPoint = &m_drawIndirectBufferBinding; break; in setBufferBinding()
2440 …case GL_ELEMENT_ARRAY_BUFFER: bindingPoint = &vertexArrayObject->m_elementArrayBufferBinding; br… in setBufferBinding()
2441 case GL_PIXEL_PACK_BUFFER: bindingPoint = &m_pixelPackBufferBinding; break; in setBufferBinding()
2442 case GL_PIXEL_UNPACK_BUFFER: bindingPoint = &m_pixelUnpackBufferBinding; break; in setBufferBinding()
2443 case GL_TRANSFORM_FEEDBACK_BUFFER: bindingPoint = &m_transformFeedbackBufferBinding; break; in setBufferBinding()
2444 case GL_UNIFORM_BUFFER: bindingPoint = &m_uniformBufferBinding; break; in setBufferBinding()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1089 void generateDeclaration (std::ostream& src, const BufferBlock& block, int bindingPoint, bool usePh… in generateDeclaration() argument
1098 src << "binding = " << bindingPoint; in generateDeclaration()