Home
last modified time | relevance | path

Searched refs:isUniform (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DComputeLayoutMemoryBufferTests.cpp168 const bool isUniform = GetParam().mStorageClass == StorageClass::Uniform; in TEST_P() local
215 uint32_t dataAlign = isUniform ? std::max(16u, field.align) : field.align; in TEST_P()
221 uint32_t footerAlign = isUniform ? 16 : 4; in TEST_P()
223 shader = ReplaceAll(shader, "{data_align}", isUniform ? AlignDeco(dataAlign) : ""); in TEST_P()
225 shader = ReplaceAll(shader, "{footer_align}", isUniform ? AlignDeco(footerAlign) : ""); in TEST_P()
239 isUniform ? "uniform" // in TEST_P()
295 (isUniform ? wgpu::BufferUsage::Uniform : wgpu::BufferUsage::Storage)); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp82 bool isUniform(BranchInst *T);
163 bool SIAnnotateControlFlow::isUniform(BranchInst *T) { in isUniform() function in SIAnnotateControlFlow
164 return DA->isUniform(T) || in isUniform()
211 if (isUniform(Term)) in openIf()
221 if (isUniform(Term)) { in insertElse()
259 if (isUniform(Term)) in handleLoop()
DAMDGPUAnnotateUniformValues.cpp119 if (DA->isUniform(&I)) in visitBranchInst()
125 if (!DA->isUniform(Ptr)) in visitLoadInst()
DAMDGPUCodeGenPrepare.cpp282 return I.isSimple() && TySize < 32 && Align >= 4 && DA->isUniform(&I); in canWidenScalarExtLoad()
472 if (DA->isUniform(&I)) in replaceMulWithMul24()
888 DA->isUniform(&I) && promoteUniformOpToI32(I)) in visitBinaryOperator()
983 DA->isUniform(&I)) in visitICmpInst()
993 DA->isUniform(&I)) in visitSelectInst()
1012 DA->isUniform(&I)) in visitBitreverseIntrinsicInst()
DAMDGPUUnifyDivergentExitNodes.cpp109 if (!DA.isUniform(Top->getTerminator())) in isUniformlyReached()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm8bitStorageTests.cpp2620 const bool isUniform = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER == CAPABILITIES[capIdx].dtype; in addCompute8bitStorage8bitStructMixedTypesGroup() local
2621 …vector<deInt8> inData = isUniform ? data8bit(SHADERTEMPLATE_STRIDEMIX_STD140, rnd) : data8bit(S… in addCompute8bitStorage8bitStructMixedTypesGroup()
2632 specs["inStorage"] = isUniform ? "Uniform" : "StorageBuffer"; in addCompute8bitStorage8bitStructMixedTypesGroup()
2634 specs["uniformPtr"] = isUniform ? in addCompute8bitStorage8bitStructMixedTypesGroup()
2644 specs["inPtr"] = isUniform ? "inPtr" : "outPtr"; in addCompute8bitStorage8bitStructMixedTypesGroup()
2646 …specs["InOffsets"] = StringTemplate(isUniform ? getStructShaderComponet(SHADERTEMPLATE_STRIDEMIX_… in addCompute8bitStorage8bitStructMixedTypesGroup()
2649 if(isUniform) in addCompute8bitStorage8bitStructMixedTypesGroup()
2656 …spec.verifyIO = isUniform ? checkStruct<deInt8, deInt8, SHADERTEMPLATE_STRIDEMIX_STD140, SHADE… in addCompute8bitStorage8bitStructMixedTypesGroup()
4558 const bool isUniform = (VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER == CAPABILITIES[capIdx].dtype); in addGraphics8BitStorageUniformStruct8To32Group() local
4559 …vector<deInt8> i8Data = isUniform ? data8bit(SHADERTEMPLATE_STRIDE8BIT_STD140, rnd) : data8bit(… in addGraphics8BitStorageUniformStruct8To32Group()
[all …]
DvktSpvAsm16bitStorageTests.cpp3211 const bool isUniform = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER == CAPABILITIES[capIdx].dtype; in addCompute16bitStructMixedTypesGroup() local
3212 vector<deInt16> inData = isUniform ? dataMixStd140(rnd) : dataMixStd430(rnd); in addCompute16bitStructMixedTypesGroup()
3223 specs["capability"] = isUniform ? "OpCapability " + string(CAPABILITIES[capIdx].cap) : " "; in addCompute16bitStructMixedTypesGroup()
3225 specs["storage"] = isUniform ? "Block" : "BufferBlock"; in addCompute16bitStructMixedTypesGroup()
3227 …specs["InOffsets"] = StringTemplate(isUniform ? getStructShaderComponet(SHADERTEMPLATE_STRIDEMIX_… in addCompute16bitStructMixedTypesGroup()
3233 …spec.verifyIO = isUniform ? computeCheckStruct<deInt16, deInt16, SHADERTEMPLATE_STRIDEMIX_STD1… in addCompute16bitStructMixedTypesGroup()
6640 const bool isUniform = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER == CAPABILITIES[capIdx].dtype; in addGraphics16bitStructMixedTypesGroup() local
6641 vector<deInt16> inData = isUniform ? dataMixStd140(rnd) : dataMixStd430(rnd); in addGraphics16bitStructMixedTypesGroup()
6664 specs["storage"] = isUniform ? "Block" : "BufferBlock"; in addGraphics16bitStructMixedTypesGroup()
6665 specs["cap"] = isUniform ?"OpCapability " + string( CAPABILITIES[capIdx].cap) : ""; in addGraphics16bitStructMixedTypesGroup()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp300 pipeline.getStructInstanceName(pipelineStruct.isUniform() in CreatePipelineMainLocalVar()
320 if (pipelineStruct.isUniform()) in CreatePipelineMainLocalVar()
329 else if (!pipelineStruct.isUniform()) in CreatePipelineMainLocalVar()
453 if (isMain && !mPipelineMainLocalVar.isUniform()) in getUpdatedFunction()
491 addressSpace = mPipelineMainLocalVar.isUniform() in getUpdatedFunction()
607 !mPipelineMainLocalVar.isUniform())) in getInternalPipelineVariable()
820 else if (!mPipelineMainLocalVar.isUniform()) in visitMain()
828 if (!mPipelineMainLocalVar.isUniform()) in visitMain()
841 else if (!mPipelineMainLocalVar.isUniform()) in visitMain()
DPipeline.h40 bool isUniform() const { return external == internal; } in isUniform() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLegacyDivergenceAnalysis.h46 bool isUniform(const Value *V) const { return !isDivergent(V); } in isUniform() function
DDivergenceAnalysis.h202 bool isUniform(const Value &V) const { return !isDivergent(V); } in isUniform() function
DLoopAccessAnalysis.h546 bool isUniform(Value *V) const;
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorMetalDirect.cpp144 bool isUniform = type.getQualifier() == EvqUniform && !type.isInterfaceBlock() && in visitDeclaration() local
149 if (isUniform) in visitDeclaration()
157 mInDefaultUniform = isUniform; in visitDeclaration()
161 if (isUniform) in visitDeclaration()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorizationLegality.h288 bool isUniform(Value *V);
/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir.h735 virtual bool isUniform() const { return true; } in isUniform() function
776 virtual bool isUniform() const;
800 virtual bool isUniform() const;
Dnv50_ir.cpp267 LValue::isUniform() const in isUniform() function in nv50_ir::LValue
275 return !insn->srcExists(1) && insn->getSrc(0)->isUniform(); in isUniform()
308 Symbol::isUniform() const in isUniform() function in nv50_ir::Symbol
Dnv50_ir_lowering_nv50.cpp908 if (bias->isUniform()) in handleTXB()
961 if (lod->isUniform()) in handleTXL()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp419 bool LoopVectorizationLegality::isUniform(Value *V) { in isUniform() function in llvm::LoopVectorizationLegality
420 return LAI->isUniform(V); in isUniform()
DLoopVectorize.cpp5869 bool isLoopInvariantStoreValue = Legal->isUniform(SI->getValueOperand()); in getUniformMemOpCost()
6018 if (Legal->isUniform(Ptr) && in setCostBasedWideningDecision()
6271 if (Op2VK == TargetTransformInfo::OK_AnyValue && Legal->isUniform(Op2)) in getInstructionCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp954 if (!DA.isUniform(Br)) in hasOnlyUniformBranches()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopAccessAnalysis.cpp1932 if (isUniform(Ptr)) in analyzeLoop()
2108 bool LoopAccessInfo::isUniform(Value *V) const { in isUniform() function in LoopAccessInfo
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp3418 const bool isUniform = isUniformDescriptorType(m_descriptorType); in genResourceDeclarations() local
3419 const char* const storageType = (isUniform) ? ("uniform") : ("buffer"); in genResourceDeclarations()
9001 const bool isUniform = isUniformDescriptorType(m_descriptorType); in genResourceDeclarations() local
9002 const char* const storageType = (isUniform) ? ("textureBuffer ") : ("readonly imageBuffer "); in genResourceDeclarations()
9003 const char* const formatQualifier = (isUniform) ? ("") : (", rgba8"); in genResourceDeclarations()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DGLSLTest.cpp9425 bool isUniform) in InitBuffer() argument
9427 GLenum bindPoint = isUniform ? GL_UNIFORM_BUFFER : GL_SHADER_STORAGE_BUFFER; in InitBuffer()
9432 if (isUniform) in InitBuffer()
/third_party/mesa3d/docs/relnotes/
D20.0.0.rst1909 - nv50/ir: fix crash in isUniform for undefined values