Home
last modified time | relevance | path

Searched refs:GL_SHADER_STORAGE_BUFFER (Results 1 – 25 of 29) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp196 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
197 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_READ); in iterate()
198 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); in iterate()
212 const BufferMemMap bufMap (gl, GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP_READ_BIT); in iterate()
296 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *inputBuffer); in iterate()
297 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DR… in iterate()
302 …const BufferMemMap bufMap(gl, GL_SHADER_STORAGE_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_B… in iterate()
308 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, blockInfo.bufferBinding, *inputBuffer); in iterate()
317 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
318 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, DE_NULL, GL_STREAM_READ); in iterate()
[all …]
Des31fSSBOArrayLengthTests.cpp104 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBufferID); in init()
105 gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2 * (int)sizeof(deUint32), &invalidValue, GL_DYNAMIC_COPY); in init()
108 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_targetBufferID); in init()
112 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_outputBufferID); in init()
113 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_targetBufferID); in init()
189 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_targetBufferID); in iterate()
190 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, s_fixedBufferSize * (int)sizeof(float), DE_NULL, GL_DYNAMI… in iterate()
207 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBufferID); in iterate()
208 ptr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, (int)sizeof(deUint32), GL_MAP_READ_BIT); in iterate()
222 if (gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER) == GL_FALSE) in iterate()
Des31fSynchronizationTests.cpp216 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_storageBuf); in init()
217 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &zeroBuffer[0], GL_STATIC_DRAW); in init()
256 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_resultBuf); in init()
257 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, &negativeBuffer[0], GL_STATIC_DRAW); in init()
322 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_storageBuf); in runCompute()
327 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, m_storageBuf); in runCompute()
328 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 2, m_storageBuf); in runCompute()
351 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_resultBuf); in runCompute()
368 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_resultBuf); in verifyResults()
369 …mapped = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, m_workWidth * m_workHeight * sizeof(deInt3… in verifyResults()
[all …]
Des31fIndirectComputeDispatchTests.cpp252 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, buffer); in createCmdBufferCompute()
280 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in createResultBuffer()
281 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizei)data.size(), &data[0], GL_STATIC_READ); in createResultBuffer()
304 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in verifyResultBuffer()
305 mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, resultBufferSize, GL_MAP_READ_BIT); in verifyResultBuffer()
330 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in verifyResultBuffer()
333 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in verifyResultBuffer()
375 …gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, 0, *resultBuffer, (glw::GLintptr)curOffset, resultBlo… in iterate()
Des31fAtomicCounterTests.cpp954 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
955 gl.bufferData(GL_SHADER_STORAGE_BUFFER, ssoSize, NULL, GL_STATIC_DRAW); in iterate()
961 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *counterBuffer); in iterate()
962 gl.bufferData(GL_SHADER_STORAGE_BUFFER, counterBufferSize, &(data[0]), GL_STATIC_DRAW); in iterate()
967 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *outputBuffer); in iterate()
986 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
989 …void* ptr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, (GLsizeiptr)(output.size() * sizeof(deU… in iterate()
994 if (!gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER)) in iterate()
1000 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in iterate()
1006 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *counterBuffer); in iterate()
[all …]
Des31fShaderAtomicOpTests.cpp224 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *inoutBuffer); in iterate()
225 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate()
226 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *inoutBuffer); in iterate()
234 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, blockInfo.dataSize, GL_MAP_R… in iterate()
245 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
1031 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *inoutBuffer); in iterate()
1032 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate()
1033 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *inoutBuffer); in iterate()
1041 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, blockInfo.dataSize, GL_MAP_… in iterate()
1077 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
Des31fShaderSharedVarTests.cpp306 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
307 gl.bufferData(GL_SHADER_STORAGE_BUFFER, outBlockInfo.dataSize, &emptyData[0], GL_STATIC_READ); in iterate()
308 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
318 …const void* resPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, outBlockInfo.dataSize, GL… in iterate()
340 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
Des31fComputeShaderBuiltinVarTests.cpp226 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in iterate()
227 gl.bufferData(GL_SHADER_STORAGE_BUFFER, (glw::GLsizeiptr)bufferSize, DE_NULL, GL_STREAM_READ); in iterate()
228 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in iterate()
239 const void* ptr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, bufferSize, GL_MAP_READ_BIT); in iterate()
282 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in iterate()
Des31fDrawTests.cpp1647 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_cmdBufferID); in runComputeShader()
1650 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, DE_NULL, GL_DYNAMIC_DRAW); in runComputeShader()
1659 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_dataBufferID); in runComputeShader()
1662 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, DE_NULL, GL_DYNAMIC_DRAW); in runComputeShader()
1671 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_indexBufferID); in runComputeShader()
1674 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, DE_NULL, GL_DYNAMIC_DRAW); in runComputeShader()
1813 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_cmdBufferID); in runComputeShader()
1816 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, DE_NULL, GL_DYNAMIC_DRAW); in runComputeShader()
1841 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, bindingPoint, m_dataBufferID); in runComputeShader()
1844 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, DE_NULL, GL_DYNAMIC_DRAW); in runComputeShader()
[all …]
Des31fSSBOLayoutCase.cpp1988 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffers[ndx].buffer); in mapBuffers()
1989 mapPtrs[ndx] = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, buffers[ndx].size, access); in mapBuffers()
2005 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffers[ndx].buffer); in mapBuffers()
2006 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in mapBuffers()
2020 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffers[ndx].buffer); in unmapBuffers()
2021 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in unmapBuffers()
2211 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in iterate()
2212 gl.bufferData(GL_SHADER_STORAGE_BUFFER, bufferSize, DE_NULL, GL_STATIC_DRAW); in iterate()
2246 …gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, bindingPoint, buffers[blockLoc.index].buffer, blockLo… in iterate()
Des31fIndexedStateQueryTests.cpp336 else if (m_bufferTarget == GL_SHADER_STORAGE_BUFFER) in iterate()
1496 …ADER_STORAGE_BUFFER_BINDING", GL_SHADER_STORAGE_BUFFER_BINDING, GL_SHADER_STORAGE_BUFFER, GL_MAX_S… in init()
1497 …SHADER_STORAGE_BUFFER_START", GL_SHADER_STORAGE_BUFFER_START, GL_SHADER_STORAGE_BUFFER, GL_MAX_S… in init()
1498 …t SHADER_STORAGE_BUFFER_SIZE", GL_SHADER_STORAGE_BUFFER_SIZE, GL_SHADER_STORAGE_BUFFER, GL_MAX_S… in init()
Des31fLayoutBindingTests.cpp1969 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[bufNdx]); in init()
1970 …gl.bufferData(GL_SHADER_STORAGE_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_D… in init()
1971 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1987 m_context.getRenderContext().getFunctions().bindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in deinit()
Des31fShaderImageLoadStoreTests.cpp956 glLog.glBindBuffer(GL_SHADER_STORAGE_BUFFER, *outputBuffer); in readFloatOrNormTextureWithLookupsAndVerify()
957 glLog.glBufferData(GL_SHADER_STORAGE_BUFFER, blockSize, DE_NULL, GL_STREAM_READ); in readFloatOrNormTextureWithLookupsAndVerify()
958 glLog.glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, *outputBuffer); in readFloatOrNormTextureWithLookupsAndVerify()
1003 …const BufferMemMap bufMap(renderCtx.getFunctions(), GL_SHADER_STORAGE_BUFFER, 0, blockSize, GL_MAP… in readFloatOrNormTextureWithLookupsAndVerify()
Des31fNegativeBufferApiTests.cpp444 ctx.glBindBufferRange(GL_SHADER_STORAGE_BUFFER, maxSSize, bufU, 0, 4); in bind_buffer_range()
458 ctx.glBindBufferRange(GL_SHADER_STORAGE_BUFFER, 0, bufTF, ssAlignment+1, 4); in bind_buffer_range()
Des31fIntegerStateQueryTests.cpp805 …R_STORAGE_BUFFER_BINDING", GL_SHADER_STORAGE_BUFFER_BINDING, GL_SHADER_STORAGE_BUFFER, verifie… in init()
Des31fOpaqueTypeIndexingTests.cpp865 …const deUint32 bufTarget = m_blockType == BLOCKTYPE_BUFFER ? GL_SHADER_STORAGE_BUFFER : GL_UNIF… in iterate()
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp886 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *m_inputBuffer); in resizeInputBuffer()
887 gl.bufferData(GL_SHADER_STORAGE_BUFFER, newSize, DE_NULL, GL_STATIC_DRAW); in resizeInputBuffer()
894 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *m_outputBuffer); in resizeOutputBuffer()
895 gl.bufferData(GL_SHADER_STORAGE_BUFFER, newSize, DE_NULL, GL_STATIC_DRAW); in resizeOutputBuffer()
1032 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in uploadInputBuffer()
1033 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, inputBufferSize, GL_MAP_WRITE_BIT); in uploadInputBuffer()
1050 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in uploadInputBuffer()
1054 gl.unmapBuffer(GL_SHADER_STORAGE_BUFFER); in uploadInputBuffer()
1067 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, buffer); in readOutputBuffer()
1068 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, outputBufferSize, GL_MAP_READ_BIT); in readOutputBuffer()
[all …]
/external/deqp/modules/egl/
DteglRobustnessTests.cpp836 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_outputBuffer)); in setup()
837 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(int), DE_NULL, GL_DYNAMIC_DRA… in setup()
838 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_outputBuffer)); in setup()
1348 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffers[0])); in setup()
1349 …GLU_CHECK_GLW_CALL(m_gl, bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(tcu::Vec4), &(refValues[0]), … in setup()
1350 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, m_buffers[0])); in setup()
1361 : GL_SHADER_STORAGE_BUFFER; in setup()
/external/mesa3d/src/mesa/main/
Dbufferobj.c162 case GL_SHADER_STORAGE_BUFFER: in get_buffer_target()
1365 _mesa_BindBufferBase(GL_SHADER_STORAGE_BUFFER, j, 0); in _mesa_DeleteBuffers()
1370 _mesa_BindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in _mesa_DeleteBuffers()
3797 case GL_SHADER_STORAGE_BUFFER: in _mesa_BindBufferRange()
3871 case GL_SHADER_STORAGE_BUFFER: in _mesa_BindBufferBase()
3906 case GL_SHADER_STORAGE_BUFFER: in _mesa_BindBuffersRange()
3941 case GL_SHADER_STORAGE_BUFFER: in _mesa_BindBuffersBase()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bufferobjects.c238 case GL_SHADER_STORAGE_BUFFER: in st_bufferobj_data()
/external/deqp/framework/opengl/
DgluStateReset.cpp471 gl.bindBuffer (GL_SHADER_STORAGE_BUFFER, 0); in resetStateES()
474 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, ndx, 0); in resetStateES()
DgluStrUtil.inl390 case GL_SHADER_STORAGE_BUFFER: return "GL_SHADER_STORAGE_BUFFER";
/external/deqp/framework/opengl/wrapper/
DglwEnums.inl1332 #define GL_SHADER_STORAGE_BUFFER 0x90D2 macro
/external/mesa3d/include/GLES3/
Dgl31.h1319 #define GL_SHADER_STORAGE_BUFFER 0x90D2 macro
Dgl32.h1319 #define GL_SHADER_STORAGE_BUFFER 0x90D2 macro

12