Home
last modified time | relevance | path

Searched refs:uniformBuffers (Results 1 – 16 of 16) sorted by relevance

/external/angle/src/libANGLE/
DGLES1Renderer.cpp57 GLES1UniformBuffers &uniformBuffers = mUniformBuffers; in prepareForDraw() local
80 uniformBuffers.clipPlaneEnables[i] = glState->getEnableFeature(GL_CLIP_PLANE0 + i); in prepareForDraw()
81 enableClipPlanes = enableClipPlanes || uniformBuffers.clipPlaneEnables[i]; in prepareForDraw()
89 std::array<GLint, kTexUnitCount> &tex2DEnables = uniformBuffers.tex2DEnables; in prepareForDraw()
90 std::array<GLint, kTexUnitCount> &texCubeEnables = uniformBuffers.texCubeEnables; in prepareForDraw()
94 Vec4Uniform *cropRectBuffer = uniformBuffers.texCropRects.data(); in prepareForDraw()
203 Mat4Uniform *textureMatrixBuffer = uniformBuffers.textureMatrices.data(); in prepareForDraw()
212 reinterpret_cast<float *>(uniformBuffers.textureMatrices.data())); in prepareForDraw()
221 uniformBuffers.texEnvModes[i] = ToGLenum(env.mode); in prepareForDraw()
222 uniformBuffers.texCombineRgbs[i] = ToGLenum(env.combineRgb); in prepareForDraw()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp701 deUint32 uniformBuffers = 0; in computeMaxPerStageDescriptorCount() local
718uniformBuffers = deMinu32( descriptorProps.maxPerStageDescriptorUpdateAfterBindUniformBuffers, … in computeMaxPerStageDescriptorCount()
729uniformBuffers = deMinu32( deviceProps.limits.maxPerStageDescriptorUniformBuffers, devicePro… in computeMaxPerStageDescriptorCount()
740 uniformBuffers = deMinu32( uniformBuffers, 16); in computeMaxPerStageDescriptorCount()
756 …case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER: result = deMinu32(resources, uniformBuffers); brea… in computeMaxPerStageDescriptorCount()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DPipeline.h116 PipelineScoped<TStructure> uniformBuffers; member
DPipeline.cpp487 uniformBuffers, in matches()
DEmitMetal.cpp1187 const bool hasUniformBufferIndicies = mPipelineStructs.uniformBuffers.external == &structure; in emitStructDeclaration()
1792 else if (mPipelineStructs.uniformBuffers.matches(*structure)) in emitFunctionParameter()
DRewritePipelines.cpp966 {Pipeline::Type::UniformBuffer, outStructs.uniformBuffers, nullptr}, in RewritePipelines()
/external/swiftshader/src/Renderer/
DVertexProcessor.hpp200 void lockUniformBuffers(byte** u, sw::Resource* uniformBuffers[]);
DPixelProcessor.hpp202 void lockUniformBuffers(byte** u, sw::Resource* uniformBuffers[]);
DVertexProcessor.cpp194 void VertexProcessor::lockUniformBuffers(byte** u, sw::Resource* uniformBuffers[]) in lockUniformBuffers() argument
199 uniformBuffers[i] = uniformBufferInfo[i].buffer; in lockUniformBuffers()
DPixelProcessor.cpp162 void PixelProcessor::lockUniformBuffers(byte** u, sw::Resource* uniformBuffers[]) in lockUniformBuffers() argument
167 uniformBuffers[i] = uniformBufferInfo[i].buffer; in lockUniformBuffers()
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp1162 void Program::applyUniformBuffers(Device *device, BufferBinding* uniformBuffers) in applyUniformBuffers() argument
1205 Buffer* vsBuffer = (index != -1) ? (Buffer*)uniformBuffers[index].get() : nullptr; in applyUniformBuffers()
1207 …vsBuffer ? vsBuffer->getResource() : nullptr, (index != -1) ? uniformBuffers[index].getOffset() : … in applyUniformBuffers()
1209 Buffer* psBuffer = (index != -1) ? (Buffer*)uniformBuffers[index].get() : nullptr; in applyUniformBuffers()
1211 …psBuffer ? psBuffer->getResource() : nullptr, (index != -1) ? uniformBuffers[index].getOffset() : … in applyUniformBuffers()
DProgram.h177 void applyUniformBuffers(Device *device, BufferBinding* uniformBuffers);
DContext.cpp244 mState.uniformBuffers[i].set(nullptr, 0, 0); in ~Context()
1265 mState.uniformBuffers[index].set(bufferObject, static_cast<int>(offset), static_cast<int>(size)); in bindIndexedUniformBuffer()
2494 const BufferBinding& uniformBuffer = mState.uniformBuffers[index]; in getUniformBufferiv()
3135 programObject->applyUniformBuffers(device, mState.uniformBuffers); in applyShaders()
DContext.h384 BufferBinding uniformBuffers[MAX_UNIFORM_BUFFER_BINDINGS]; member
/external/angle/src/tests/gl_tests/
DUniformBufferTest.cpp722 std::array<GLBuffer, 2> uniformBuffers; in TEST_P() local
739 glBindBuffer(GL_UNIFORM_BUFFER, uniformBuffers[0].get()); in TEST_P()
742 glBindBufferBase(GL_UNIFORM_BUFFER, 2, uniformBuffers[0].get()); in TEST_P()
744 glBindBuffer(GL_UNIFORM_BUFFER, uniformBuffers[1].get()); in TEST_P()
747 glBindBufferBase(GL_UNIFORM_BUFFER, 3, uniformBuffers[1].get()); in TEST_P()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp4225 const gl::BufferVector &uniformBuffers = mState.getOffsetBindingPointerUniformBuffers(); in invalidateCurrentShaderResources() local
4226 AppendBufferVectorToDesc(&mShaderBuffersDescriptorDesc, uniformBuffers, in invalidateCurrentShaderResources()