Home
last modified time | relevance | path

Searched refs:uniformInfo (Results 1 – 3 of 3) 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/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/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp804 de::MovePtr<BufferUniform> uniformInfo(new BufferUniform()); in setupUniformData() local
805 uniformInfo->type = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in setupUniformData()
806 uniformInfo->descriptor = makeDescriptorBufferInfo(*buffer, 0u, size); in setupUniformData()
807 uniformInfo->location = bindingLocation; in setupUniformData()
808 uniformInfo->buffer = VkBufferSp(new vk::Unique<VkBuffer>(buffer)); in setupUniformData()
809 uniformInfo->alloc = AllocationSp(alloc.release()); in setupUniformData()
811 m_uniformInfos.push_back(UniformInfoSp(new de::UniquePtr<UniformInfo>(uniformInfo))); in setupUniformData()
2551 const UniformInfo* uniformInfo = m_uniformInfos[i].get()->get(); in render() local
2552 deUint32 location = uniformInfo->location; in render()
2554 if (uniformInfo->type == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) in render()
[all …]