/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
D | DriverUniform.cpp | 60 for (size_t uniformIndex = 0; uniformIndex < kNumComputeDriverUniforms; ++uniformIndex) in addComputeDriverUniformsToShader() local 63 new TField(kDriverUniformTypes[uniformIndex], in addComputeDriverUniformsToShader() 64 ImmutableString(kComputeDriverUniformNames[uniformIndex]), TSourceLoc(), in addComputeDriverUniformsToShader() 102 for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniforms; ++uniformIndex) in createUniformFields() local 105 new TField(kDriverUniformTypes[uniformIndex], in createUniformFields() 106 ImmutableString(kGraphicsDriverUniformNames[uniformIndex]), TSourceLoc(), in createUniformFields() 206 TConstantUnion *uniformIndex = new TConstantUnion; in createDriverUniformRef() local 207 uniformIndex->setIConst(static_cast<int>(fieldIndex)); in createDriverUniformRef() 209 new TIntermConstantUnion(uniformIndex, *StaticType::GetBasic<EbtInt, EbpLow>()); in createDriverUniformRef() 287 for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniformsExt; ++uniformIndex) in createUniformFields() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.cpp | 364 for(size_t location = 0; location < uniformIndex.size(); location++) in getUniformLocation() 366 if(uniformIndex[location].name == baseName) in getUniformLocation() 368 const unsigned int index = uniformIndex[location].index; in getUniformLocation() 378 if(uniformIndex[location].element == subscript) in getUniformLocation() 502 …if(location < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INV… in setUniformfv() 507 Uniform *targetUniform = uniforms[uniformIndex[location].index]; in setUniformfv() 517 count = std::min(size - (int)uniformIndex[location].element, count); in setUniformfv() 522 memcpy(targetUniform->data + uniformIndex[location].element * sizeof(GLfloat)* numElements, in setUniformfv() 527 …GLboolean *boolParams = (GLboolean*)targetUniform->data + uniformIndex[location].element * numElem… in setUniformfv() 592 …if(location < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INV… in setUniformMatrixfv() [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | DriverUniformMetal.cpp | 50 for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniformsMetal; ++uniformIndex) in createUniformFields() local 53 new TField(kDriverUniformTypesMetal[uniformIndex], in createUniformFields() 54 ImmutableString(kGraphicsDriverUniformNamesMetal[uniformIndex]), in createUniformFields()
|
D | ResourcesHLSL.cpp | 192 for (size_t uniformIndex = 0; uniformIndex < mUniforms.size(); ++uniformIndex) in findUniformByName() local 194 if (name == mUniforms[uniformIndex].name) in findUniformByName() 196 return &mUniforms[uniformIndex]; in findUniformByName()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 181 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in load() local 216 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in save() local 219 mDefaultUniformBlocks[shaderType].uniformLayout[uniformIndex]; in save()
|
D | ProgramExecutableVk.cpp | 592 uint32_t uniformIndex = executable.getUniformIndexFromImageIndex(imageIndex); in addImageDescriptorSetDesc() local 593 const gl::LinkedUniform &imageUniform = uniforms[uniformIndex]; in addImageDescriptorSetDesc() 687 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(textureIndex); in addTextureDescriptorSetDesc() local 688 const gl::LinkedUniform &samplerUniform = uniforms[uniformIndex]; in addTextureDescriptorSetDesc() 1434 uint32_t uniformIndex = executable.getUniformIndexFromImageIndex(imageIndex); in updateImagesDescriptorSet() local 1435 const gl::LinkedUniform &imageUniform = uniforms[uniformIndex]; in updateImagesDescriptorSet() 1754 uint32_t uniformIndex = programState->getUniformIndexFromSamplerIndex(textureIndex); in updateTexturesDescriptorSet() local 1755 const gl::LinkedUniform &samplerUniform = programState->getUniforms()[uniformIndex]; in updateTexturesDescriptorSet()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 1083 for (size_t uniformIndex = 0; uniformIndex < uniformCount; uniformIndex++) in load() local 1085 const gl::LinkedUniform &linkedUniform = linkedUniforms[uniformIndex]; in load() 2768 for (size_t uniformIndex = 0; uniformIndex < mD3DUniforms.size(); ++uniformIndex) in assignAllSamplerRegisters() local 2770 if (mD3DUniforms[uniformIndex]->isSampler()) in assignAllSamplerRegisters() 2772 assignSamplerRegisters(uniformIndex); in assignAllSamplerRegisters() 2777 void ProgramD3D::assignSamplerRegisters(size_t uniformIndex) in assignSamplerRegisters() argument 2779 D3DUniform *d3dUniform = mD3DUniforms[uniformIndex]; in assignSamplerRegisters() 2787 mState.getUniforms()[uniformIndex].parentArrayIndex() * d3dUniform->getArraySizeProduct(); in assignSamplerRegisters() 2843 for (size_t uniformIndex = 0; uniformIndex < mD3DUniforms.size(); ++uniformIndex) in assignAllImageRegisters() local 2845 if (mD3DUniforms[uniformIndex]->isImage() && !mD3DUniforms[uniformIndex]->isImage2D()) in assignAllImageRegisters() [all …]
|
D | ProgramD3D.h | 463 void assignSamplerRegisters(size_t uniformIndex); 473 void assignImageRegisters(size_t uniformIndex);
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | validationGL31_autogen.h | 22 GLuint uniformIndex,
|
D | ProgramExecutable.cpp | 329 for (size_t uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in load() local 779 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(samplerIndex); in updateActiveSamplers() local 780 const gl::LinkedUniform &samplerUniform = programState.getUniforms()[uniformIndex]; in updateActiveSamplers() 823 uint32_t uniformIndex = executable.getUniformIndexFromImageIndex(imageIndex); in updateActiveImages() local 824 const gl::LinkedUniform &imageUniform = executable.getUniforms()[uniformIndex]; in updateActiveImages()
|
D | ProgramLinkedResources.cpp | 898 for (size_t uniformIndex = 0; uniformIndex < mUniforms.size(); uniformIndex++) in indexUniforms() local 900 const LinkedUniform &uniform = mUniforms[uniformIndex]; in indexUniforms() 919 VariableLocation location(arrayIndex, static_cast<unsigned int>(uniformIndex)); in indexUniforms()
|
D | Context_gl_3_autogen.h | 35 void getActiveUniformName(ShaderProgramID programPacked, GLuint uniformIndex, GLsizei bufSize, \
|
D | Program.h | 310 GLuint getSamplerIndexFromUniformIndex(GLuint uniformIndex) const; 313 GLuint getImageIndexFromUniformIndex(GLuint uniformIndex) const;
|
D | validationGL3_autogen.h | 126 GLuint uniformIndex,
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | ShaderImage_test.cpp | 76 size_t uniformIndex, in CheckExportedImageUniform() argument 82 const auto &imageUniform = uniforms[uniformIndex]; in CheckExportedImageUniform()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 852 GLuint uniformIndex; in getUniformBlockMemberInfo() local 854 mFunctions->getUniformIndices(mProgramID, 1, &memberNameGLStr, &uniformIndex); in getUniformBlockMemberInfo() 856 if (uniformIndex == GL_INVALID_INDEX) in getUniformBlockMemberInfo() 862 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_OFFSET, in getUniformBlockMemberInfo() 864 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_ARRAY_STRIDE, in getUniformBlockMemberInfo() 866 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_MATRIX_STRIDE, in getUniformBlockMemberInfo() 871 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, in getUniformBlockMemberInfo()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderStateQueryTests.cpp | 143 const glw::GLuint uniformIndex = 0; in iterate() local 147 gl.getActiveUniformsiv(program.getProgram(), 1, &uniformIndex, GL_UNIFORM_TYPE, &type); in iterate()
|
D | es31fBasicComputeShaderTests.cpp | 1534 …const deUint32 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_coun… in iterate() local 1535 …Index = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUN… in iterate() 1567 …const deUint32 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_cou… in iterate() local 1568 …formOffset = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_OFFSET); in iterate() 1569 …Index = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUN… in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fShaderStateQueryTests.cpp | 1545 const GLuint uniformIndex = uniformIndices[ndx]; in test() local 1548 glGetActiveUniformsiv(program, 1, &uniformIndex, GL_UNIFORM_NAME_LENGTH, &uniformNameLen); in test() 1566 const GLuint uniformIndex = uniformIndices[ndx]; in test() local 1571 …glGetActiveUniform(program, uniformIndex, DE_LENGTH_OF_ARRAY(buffer), &written, &size, &type, buff… in test() 1583 glGetActiveUniform(program, uniformIndex, 1, &written, &size, &type, buffer); in test() 1714 StateQueryMemoryWriteGuard<GLuint> uniformIndex; in test() local 1715 glGetUniformIndices(program, 1, uniformNames, &uniformIndex); in test() 1716 uniformIndex.verifyValidity(m_testCtx); in test() 1718 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_TYPE, uniformTypes[… in test() 1719 …verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_SIZE, uniformTypes[… in test() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | ProgramMtl.mm | 777 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) 780 mDefaultUniformBlocks[shaderType].uniformLayout[uniformIndex]; 802 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex)
|
D | mtl_glslang_mtl_utils.mm | 390 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(textureIndex); 391 const gl::LinkedUniform &samplerUniform = uniforms[uniformIndex];
|
D | mtl_glslang_utils.mm | 476 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(textureIndex); 477 const gl::LinkedUniform &samplerUniform = uniforms[uniformIndex];
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
D | frame_capture_utils.cpp | 1080 for (int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in SerializeProgram() local 1082 GroupScope uniformGroup(json, "Uniform", uniformIndex); in SerializeProgram() 1088 program->getActiveUniform(uniformIndex, kMaxUniformNameLen, nullptr, &size, &type, in SerializeProgram()
|
/third_party/glslang/glslang/MachineIndependent/ |
D | reflection.cpp | 450 int uniformIndex = (int)variables.size(); in blowUpActiveAggregate() local 451 reflection.nameToIndex[name.c_str()] = uniformIndex; in blowUpActiveAggregate() 461 reflection.atomicCounterUniformIndices.push_back(uniformIndex); in blowUpActiveAggregate()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl3cTransformFeedbackTests.hpp | 1201 glw::GLuint uniformIndex, 1285 glw::GLuint uniformIndex,
|