Home
last modified time | relevance | path

Searched refs:uniformIndex (Results 1 - 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
H A DDriverUniform.cpp60 for (size_t uniformIndex = 0; uniformIndex < kNumComputeDriverUniforms; ++uniformIndex) in addComputeDriverUniformsToShader()
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()
105 new TField(kDriverUniformTypes[uniformIndex], in createUniformFields()
106 ImmutableString(kGraphicsDriverUniformNames[uniformIndex]), TSourceLo in createUniformFields()
206 TConstantUnion *uniformIndex = new TConstantUnion; createDriverUniformRef() local
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DDriverUniformMetal.cpp50 for (size_t uniformIndex = 0; uniformIndex < kNumGraphicsDriverUniformsMetal; ++uniformIndex) in createUniformFields()
53 new TField(kDriverUniformTypesMetal[uniformIndex], in createUniformFields()
54 ImmutableString(kGraphicsDriverUniformNamesMetal[uniformIndex]), in createUniformFields()
H A DResourcesHLSL.cpp192 for (size_t uniformIndex = 0; uniformIndex < mUniforms.size(); ++uniformIndex) in findUniformByName()
194 if (name == mUniforms[uniformIndex].name) in findUniformByName()
196 return &mUniforms[uniformIndex]; in findUniformByName()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DProgram.cpp364 for(size_t location = 0; location < uniformIndex.size(); location++)
366 if(uniformIndex[location].name == baseName)
368 const unsigned int index = uniformIndex[location].index;
378 if(uniformIndex[location].element == subscript)
502 if(location < 0 || location >= (int)uniformIndex.size() || (uniformIndex[location].index == GL_INVALID_INDEX))
507 Uniform *targetUniform = uniforms[uniformIndex[location].index];
517 count = std::min(size - (int)uniformIndex[location].element, count);
522 memcpy(targetUniform->data + uniformIndex[location].element * sizeof(GLfloat)* numElements,
527 GLboolean *boolParams = (GLboolean*)targetUniform->data + uniformIndex[locatio
[all...]
H A DProgram.h311 UniformIndex uniformIndex; member in es2::Program
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DProgramVk.cpp181 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in load()
216 for (unsigned int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in save()
219 mDefaultUniformBlocks[shaderType].uniformLayout[uniformIndex]; in save()
H A DProgramExecutableVk.cpp592 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/
H A DvalidationGL31_autogen.h22 GLuint uniformIndex,
H A DProgramExecutable.cpp329 for (size_t uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex)
779 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(samplerIndex);
780 const gl::LinkedUniform &samplerUniform = programState.getUniforms()[uniformIndex];
823 uint32_t uniformIndex = executable.getUniformIndexFromImageIndex(imageIndex);
824 const gl::LinkedUniform &imageUniform = executable.getUniforms()[uniformIndex];
H A DContext_gl_3_autogen.h35 void getActiveUniformName(ShaderProgramID programPacked, GLuint uniformIndex, GLsizei bufSize, \
H A DProgramLinkedResources.cpp898 for (size_t uniformIndex = 0; uniformIndex < mUniforms.size(); uniformIndex++) in indexUniforms()
900 const LinkedUniform &uniform = mUniforms[uniformIndex]; in indexUniforms()
919 VariableLocation location(arrayIndex, static_cast<unsigned int>(uniformIndex)); in indexUniforms()
H A DProgram.h310 GLuint getSamplerIndexFromUniformIndex(GLuint uniformIndex) const;
313 GLuint getImageIndexFromUniformIndex(GLuint uniformIndex) const;
H A DvalidationGL3.cpp203 GLuint uniformIndex, in ValidateGetActiveUniformName()
200 ValidateGetActiveUniformName(const Context *context, angle::EntryPoint entryPoint, ShaderProgramID program, GLuint uniformIndex, GLsizei bufSize, const GLsizei *length, const GLchar *uniformName) ValidateGetActiveUniformName() argument
H A DvalidationGL3_autogen.h126 GLuint uniformIndex,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DProgramD3D.cpp1083 for (size_t uniformIndex = 0; uniformIndex < uniformCount; uniformIndex++)
1085 const gl::LinkedUniform &linkedUniform = linkedUniforms[uniformIndex];
2768 for (size_t uniformIndex = 0; uniformIndex < mD3DUniforms.size(); ++uniformIndex)
2770 if (mD3DUniforms[uniformIndex]->isSampler())
2772 assignSamplerRegisters(uniformIndex);
2777 void ProgramD3D::assignSamplerRegisters(size_t uniformIndex)
[all...]
H A DProgramD3D.h463 void assignSamplerRegisters(size_t uniformIndex);
473 void assignImageRegisters(size_t uniformIndex);
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DShaderImage_test.cpp76 size_t uniformIndex, in CheckExportedImageUniform()
82 const auto &imageUniform = uniforms[uniformIndex]; in CheckExportedImageUniform()
75 CheckExportedImageUniform(const std::vector<sh::ShaderVariable> &uniforms, size_t uniformIndex, ::GLenum imageTypeGL, const TString &imageName) CheckExportedImageUniform() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DProgramGL.cpp852 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/
H A Des31fShaderStateQueryTests.cpp143 const glw::GLuint uniformIndex = 0; in iterate() local
147 gl.getActiveUniformsiv(program.getProgram(), 1, &uniformIndex, GL_UNIFORM_TYPE, &type); in iterate()
H A Des31fBasicComputeShaderTests.cpp1534 const deUint32 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_count");
1535 const deUint32 bufferIndex = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUNTER_BUFFER_INDEX);
1567 const deUint32 uniformIndex = gl.getProgramResourceIndex(program.getProgram(), GL_UNIFORM, "u_count");
1568 const deUint32 uniformOffset = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_OFFSET);
1569 const deUint32 bufferIndex = getProgramResourceUint(gl, program.getProgram(), GL_UNIFORM, uniformIndex, GL_ATOMIC_COUNTER_BUFFER_INDEX);
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderStateQueryTests.cpp1545 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, buffer); 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[ndx].type); in test()
1719 verifyActiveUniformParam(m_testCtx, *this, program, uniformIndex, GL_UNIFORM_SIZ in test()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cTransformFeedbackTests.hpp1201 glw::GLuint uniformIndex,
1285 glw::GLuint uniformIndex,
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dframe_capture_utils.cpp1080 for (int uniformIndex = 0; uniformIndex < uniformCount; ++uniformIndex) in SerializeProgram()
1082 GroupScope uniformGroup(json, "Uniform", uniformIndex); in SerializeProgram()
1088 program->getActiveUniform(uniformIndex, kMaxUniformNameLen, nullptr, &size, &type, in SerializeProgram()
/third_party/glslang/glslang/MachineIndependent/
H A Dreflection.cpp448 int uniformIndex = (int)variables.size(); in blowUpActiveAggregate() local
449 reflection.nameToIndex[name.c_str()] = uniformIndex; in blowUpActiveAggregate()
459 reflection.atomicCounterUniformIndices.push_back(uniformIndex); in blowUpActiveAggregate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dglslang_wrapper_utils.cpp749 for (unsigned int uniformIndex : inputAttachmentUniformRange) in AssignInputAttachmentBindings()
752 const gl::LinkedUniform &inputAttachmentUniform = uniforms[uniformIndex]; in AssignInputAttachmentBindings()
833 for (unsigned int uniformIndex : imageUniformRange) in AssignImageBindings()
835 const gl::LinkedUniform &imageUniform = uniforms[uniformIndex]; in AssignImageBindings()
904 for (unsigned int uniformIndex : programExecutable.getSamplerUniformRange()) in AssignTextureBindings()
906 const gl::LinkedUniform &samplerUniform = uniforms[uniformIndex]; in AssignTextureBindings()

Completed in 84 milliseconds

12