/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/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/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/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorVulkan.cpp | 199 TConstantUnion *uniformIndex = new TConstantUnion; in CreateDriverUniformRef() local 200 uniformIndex->setIConst(static_cast<int>(fieldIndex)); in CreateDriverUniformRef() 202 new TIntermConstantUnion(uniformIndex, *StaticType::GetBasic<EbtInt>()); in CreateDriverUniformRef() 368 for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniforms; ++uniformIndex) in AddGraphicsDriverUniformsToShader() local 371 new TField(kDriverUniformTypes[uniformIndex], in AddGraphicsDriverUniformsToShader() 372 ImmutableString(kGraphicsDriverUniformNames[uniformIndex]), TSourceLoc(), in AddGraphicsDriverUniformsToShader() 392 for (size_t uniformIndex = 0; uniformIndex < kNumComputeDriverUniforms; ++uniformIndex) in AddComputeDriverUniformsToShader() local 395 new TField(kDriverUniformTypes[uniformIndex], in AddComputeDriverUniformsToShader() 396 ImmutableString(kComputeDriverUniformNames[uniformIndex]), TSourceLoc(), in AddComputeDriverUniformsToShader()
|
D | ResourcesHLSL.cpp | 125 for (size_t uniformIndex = 0; uniformIndex < mUniforms.size(); ++uniformIndex) in findUniformByName() local 127 if (name == mUniforms[uniformIndex].name) in findUniformByName() 129 return &mUniforms[uniformIndex]; in findUniformByName()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libGL/ |
D | entry_points_gl_3_1_autogen.cpp | 170 GLuint uniformIndex, in GetActiveUniformName() argument 178 program, uniformIndex, bufSize, (uintptr_t)length, (uintptr_t)uniformName); in GetActiveUniformName() 185 ValidateGetActiveUniformName(context, program, uniformIndex, bufSize, in GetActiveUniformName() 189 context->getActiveUniformName(program, uniformIndex, bufSize, length, uniformName); in GetActiveUniformName() 191 ANGLE_CAPTURE(GetActiveUniformName, isCallValid, context, program, uniformIndex, bufSize, in GetActiveUniformName()
|
D | entry_points_gl_3_1_autogen.h | 43 GLuint uniformIndex,
|
/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/ |
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()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Context_gl_3_1_autogen.h | 14 void getActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, \
|
D | validationGL31.cpp | 16 GLuint uniformIndex, in ValidateGetActiveUniformName() argument
|
D | validationGL31_autogen.h | 22 GLuint uniformIndex,
|
D | ProgramLinkedResources.cpp | 756 for (size_t uniformIndex = 0; uniformIndex < mUniforms.size(); uniformIndex++) in indexUniforms() local 758 const LinkedUniform &uniform = mUniforms[uniformIndex]; in indexUniforms() 777 VariableLocation location(arrayIndex, static_cast<unsigned int>(uniformIndex)); in indexUniforms()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 1042 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; uniformIndex++) in load() local 1044 const gl::LinkedUniform &linkedUniform = linkedUniforms[uniformIndex]; in load() 2625 for (size_t uniformIndex = 0; uniformIndex < mD3DUniforms.size(); ++uniformIndex) in assignAllSamplerRegisters() local 2627 if (mD3DUniforms[uniformIndex]->isSampler()) in assignAllSamplerRegisters() 2629 assignSamplerRegisters(uniformIndex); in assignAllSamplerRegisters() 2634 void ProgramD3D::assignSamplerRegisters(size_t uniformIndex) in assignSamplerRegisters() argument 2636 D3DUniform *d3dUniform = mD3DUniforms[uniformIndex]; in assignSamplerRegisters() 2644 mState.getUniforms()[uniformIndex].parentArrayIndex() * d3dUniform->getArraySizeProduct(); in assignSamplerRegisters() 2700 for (size_t uniformIndex = 0; uniformIndex < mD3DUniforms.size(); ++uniformIndex) in assignAllImageRegisters() local 2702 if (mD3DUniforms[uniformIndex]->isImage() && !mD3DUniforms[uniformIndex]->isImage2D()) in assignAllImageRegisters() [all …]
|
/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 …]
|
/third_party/flutter/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/tests/compiler_tests/ |
D | ShaderImage_test.cpp | 76 size_t uniformIndex, in CheckExportedImageUniform() argument 82 const auto &imageUniform = uniforms[uniformIndex]; in CheckExportedImageUniform()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 217 size_t uniformIndex = 0; in onSetData() local 229 pdman.set4f(fUniformHandles[uniformIndex++], f1, f2, f3, f4); in onSetData() 245 pdman.set4f(fUniformHandles[uniformIndex++], f1, f2, f3, f4); in onSetData() 253 pdman.set1i(fUniformHandles[uniformIndex++], i); in onSetData() 261 pdman.set1f(fUniformHandles[uniformIndex++], f); in onSetData()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 844 GLuint uniformIndex; in getUniformBlockMemberInfo() local 846 mFunctions->getUniformIndices(mProgramID, 1, &memberNameGLStr, &uniformIndex); in getUniformBlockMemberInfo() 848 if (uniformIndex == GL_INVALID_INDEX) in getUniformBlockMemberInfo() 854 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_OFFSET, in getUniformBlockMemberInfo() 856 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_ARRAY_STRIDE, in getUniformBlockMemberInfo() 858 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_MATRIX_STRIDE, in getUniformBlockMemberInfo() 863 mFunctions->getActiveUniformsiv(mProgramID, 1, &uniformIndex, GL_UNIFORM_IS_ROW_MAJOR, in getUniformBlockMemberInfo()
|
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 435 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in load() local 472 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in save() local 475 mDefaultUniformBlocks[shaderType].uniformLayout[uniformIndex]; in save() 574 uint32_t uniformIndex = mState.getUniformIndexFromSamplerIndex(textureIndex); in linkImpl() local 575 const gl::LinkedUniform &samplerUniform = mState.getUniforms()[uniformIndex]; in linkImpl()
|
/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()
|