Home
last modified time | relevance | path

Searched refs:uniformInfo (Results 1 – 6 of 6) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fUniformLocationTests.cpp101 const vector<UniformInfo>& uniformInfo);
150 const vector<UniformInfo>& uniformInfo) in UniformLocationCase() argument
153 , m_uniformInfo (uniformInfo) in UniformLocationCase()
283 const UniformInfo& uniformInfo = uniformList[uniformNdx]; in genShaderSources() local
285 …const bool declareInVert = (uniformInfo.declareLocation & UniformInfo::SHADERSTAGE_VERTEX) != … in genShaderSources()
286 …const bool declareInFrag = (uniformInfo.declareLocation & UniformInfo::SHADERSTAGE_FRAGMENT) != … in genShaderSources()
287 …const bool layoutInVert = (uniformInfo.layoutLocation & UniformInfo::SHADERSTAGE_VERTEX) !… in genShaderSources()
288 …const bool layoutInFrag = (uniformInfo.layoutLocation & UniformInfo::SHADERSTAGE_FRAGMENT) !… in genShaderSources()
289 …const bool checkInVert = (uniformInfo.checkLocation & UniformInfo::SHADERSTAGE_VERTEX) != 0; in genShaderSources()
290 …const bool checkInFrag = (uniformInfo.checkLocation & UniformInfo::SHADERSTAGE_FRAGMENT) != 0; in genShaderSources()
[all …]
/external/skqp/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp28 const GrVkUniformHandler::UniformInfo uniformInfo = uniforms[i]; in GrVkPipelineStateDataManager() local
29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkPipelineStateDataManager()
30 uniformInfo.fVariable.getArrayCount() > 0); in GrVkPipelineStateDataManager()
32 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount(); in GrVkPipelineStateDataManager()
33 uniform.fType = uniformInfo.fVariable.getType(); in GrVkPipelineStateDataManager()
36 if (!(kFragment_GrShaderFlag & uniformInfo.fVisibility)) { in GrVkPipelineStateDataManager()
39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility); in GrVkPipelineStateDataManager()
42 uniform.fOffset = uniformInfo.fUBOffset; in GrVkPipelineStateDataManager()
/external/skia/src/gpu/vk/
DGrVkPipelineStateDataManager.cpp28 const GrVkUniformHandler::UniformInfo uniformInfo = uniforms[i]; in GrVkPipelineStateDataManager() local
29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkPipelineStateDataManager()
30 uniformInfo.fVariable.getArrayCount() > 0); in GrVkPipelineStateDataManager()
32 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount(); in GrVkPipelineStateDataManager()
33 uniform.fType = uniformInfo.fVariable.getType(); in GrVkPipelineStateDataManager()
36 if (!(kFragment_GrShaderFlag & uniformInfo.fVisibility)) { in GrVkPipelineStateDataManager()
39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility); in GrVkPipelineStateDataManager()
42 uniform.fOffset = uniformInfo.fUBOffset; in GrVkPipelineStateDataManager()
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm28 const GrMtlUniformHandler::UniformInfo uniformInfo = uniforms[i];
29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() ||
30 uniformInfo.fVariable.getArrayCount() > 0);
32 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount();
33 uniform.fType = uniformInfo.fVariable.getType();
36 if (!(kFragment_GrShaderFlag & uniformInfo.fVisibility)) {
39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility);
42 uniform.fOffset = uniformInfo.fUBOffset;
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateDataManager.mm28 const GrMtlUniformHandler::UniformInfo uniformInfo = uniforms[i];
29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() ||
30 uniformInfo.fVariable.getArrayCount() > 0);
32 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount();
33 uniform.fType = uniformInfo.fVariable.getType();
36 if (!(kFragment_GrShaderFlag & uniformInfo.fVisibility)) {
39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility);
42 uniform.fOffset = uniformInfo.fUBOffset;
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp733 de::MovePtr<BufferUniform> uniformInfo(new BufferUniform()); in setupUniformData() local
734 uniformInfo->type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in setupUniformData()
735 uniformInfo->descriptor = makeDescriptorBufferInfo(*buffer, 0u, size); in setupUniformData()
736 uniformInfo->location = bindingLocation; in setupUniformData()
737 uniformInfo->buffer = VkBufferSp(new vk::Unique<VkBuffer>(buffer)); in setupUniformData()
738 uniformInfo->alloc = AllocationSp(alloc.release()); in setupUniformData()
740 m_uniformInfos.push_back(UniformInfoSp(new de::UniquePtr<UniformInfo>(uniformInfo))); in setupUniformData()
2057 const UniformInfo* uniformInfo = m_uniformInfos[i].get()->get(); in render() local
2058 deUint32 location = uniformInfo->location; in render()
2060 if (uniformInfo->type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) in render()
[all …]