/external/deqp/modules/gles31/functional/ |
D | es31fBasicComputeShaderTests.cpp | 196 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 …]
|
D | es31fSSBOArrayLengthTests.cpp | 104 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()
|
D | es31fSynchronizationTests.cpp | 216 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 …]
|
D | es31fIndirectComputeDispatchTests.cpp | 252 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()
|
D | es31fAtomicCounterTests.cpp | 954 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 …]
|
D | es31fShaderAtomicOpTests.cpp | 224 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()
|
D | es31fShaderSharedVarTests.cpp | 306 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()
|
D | es31fComputeShaderBuiltinVarTests.cpp | 226 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()
|
D | es31fDrawTests.cpp | 1647 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 …]
|
D | es31fSSBOLayoutCase.cpp | 1988 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()
|
D | es31fIndexedStateQueryTests.cpp | 336 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()
|
D | es31fLayoutBindingTests.cpp | 1969 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()
|
D | es31fShaderImageLoadStoreTests.cpp | 956 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()
|
D | es31fNegativeBufferApiTests.cpp | 444 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()
|
D | es31fIntegerStateQueryTests.cpp | 805 …R_STORAGE_BUFFER_BINDING", GL_SHADER_STORAGE_BUFFER_BINDING, GL_SHADER_STORAGE_BUFFER, verifie… in init()
|
D | es31fOpaqueTypeIndexingTests.cpp | 865 …const deUint32 bufTarget = m_blockType == BLOCKTYPE_BUFFER ? GL_SHADER_STORAGE_BUFFER : GL_UNIF… in iterate()
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 886 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/ |
D | teglRobustnessTests.cpp | 836 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/ |
D | bufferobj.c | 162 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/ |
D | st_cb_bufferobjects.c | 238 case GL_SHADER_STORAGE_BUFFER: in st_bufferobj_data()
|
/external/deqp/framework/opengl/ |
D | gluStateReset.cpp | 471 gl.bindBuffer (GL_SHADER_STORAGE_BUFFER, 0); in resetStateES() 474 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, ndx, 0); in resetStateES()
|
D | gluStrUtil.inl | 390 case GL_SHADER_STORAGE_BUFFER: return "GL_SHADER_STORAGE_BUFFER";
|
/external/deqp/framework/opengl/wrapper/ |
D | glwEnums.inl | 1332 #define GL_SHADER_STORAGE_BUFFER 0x90D2 macro
|
/external/mesa3d/include/GLES3/ |
D | gl31.h | 1319 #define GL_SHADER_STORAGE_BUFFER 0x90D2 macro
|
D | gl32.h | 1319 #define GL_SHADER_STORAGE_BUFFER 0x90D2 macro
|