| /external/angle/src/compiler/translator/tree_util/ |
| D | DriverUniform.cpp | 258 TIntermTyped *width = new TIntermBinary(EOpBitwiseAnd, renderAreaRef, CreateUIntNode(0xFFFF)); in getHalfRenderArea() 260 new TIntermBinary(EOpBitShiftRight, renderAreaRef->deepCopy(), CreateUIntNode(16)); in getHalfRenderArea() 315 CreateUIntNode(vk::kDriverUniformsMiscSwapXYMask)); in getSwapXY() 329 CreateUIntNode(vk::kDriverUniformsMiscAdvancedBlendEquationOffset)); in getAdvancedBlendEquation() 331 CreateUIntNode(vk::kDriverUniformsMiscAdvancedBlendEquationMask)); in getAdvancedBlendEquation() 340 EOpBitShiftRight, miscRef, CreateUIntNode(vk::kDriverUniformsMiscSampleCountOffset)); in getNumSamples() 342 CreateUIntNode(vk::kDriverUniformsMiscSampleCountMask)); in getNumSamples() 351 EOpBitShiftRight, miscRef, CreateUIntNode(vk::kDriverUniformsMiscEnabledClipPlanesOffset)); in getClipDistancesEnabled() 353 CreateUIntNode(vk::kDriverUniformsMiscEnabledClipPlanesMask)); in getClipDistancesEnabled() 362 EOpBitShiftRight, miscRef, CreateUIntNode(vk::kDriverUniformsMiscTransformDepthOffset)); in getTransformDepth() [all …]
|
| D | SpecializationConstant.cpp | 80 decl->appendDeclarator(new TIntermBinary(EOpInitialize, getDither(), CreateUIntNode(0))); in declareSpecConsts()
|
| D | RewriteSampleMaskVariable.cpp | 148 TIntermConstantUnion *singleSampleCount = CreateUIntNode(1); in RewriteSampleMask()
|
| D | IntermNode_util.h | 34 TIntermConstantUnion *CreateUIntNode(unsigned int value);
|
| D | ReplaceClipCullDistanceVariable.cpp | 230 TIntermConstantUnion *bitMask = CreateUIntNode(0x1 << index); in assignFuncWithEnableFlags() 232 TIntermBinary *nonZero = new TIntermBinary(EOpNotEqual, bitwiseAnd, CreateUIntNode(0)); in assignFuncWithEnableFlags()
|
| D | IntermNode_util.cpp | 171 TIntermConstantUnion *CreateUIntNode(unsigned int value) in CreateUIntNode() function
|
| /external/angle/src/compiler/translator/tree_ops/spirv/ |
| D | EmulateDithering.cpp | 84 EOpBitShiftRight, ditherControl->deepCopy(), CreateUIntNode(location * 2)); in EmitFragmentOutputDither() 88 new TIntermBinary(EOpBitwiseAnd, ditherControlShifted, CreateUIntNode(3)); in EmitFragmentOutputDither() 138 switchBody->appendStatement(new TIntermCase(CreateUIntNode(vk::kDitherControlDither4444))); in EmitFragmentOutputDither() 163 switchBody->appendStatement(new TIntermCase(CreateUIntNode(vk::kDitherControlDither5551))); in EmitFragmentOutputDither() 190 switchBody->appendStatement(new TIntermCase(CreateUIntNode(vk::kDitherControlDither565))); in EmitFragmentOutputDither() 332 new TIntermBinary(EOpNotEqual, ditherControl, CreateUIntNode(0)); in EmitDitheringBlock() 400 new TIntermBinary(EOpBitwiseAnd, fragCoordXInt, CreateUIntNode(1)); in EmitDitheringBlock() 402 new TIntermBinary(EOpBitShiftLeft, fragCoordXBit0, CreateUIntNode(1)); in EmitDitheringBlock() 411 new TIntermBinary(EOpBitwiseAnd, fragCoordYInt, CreateUIntNode(1)); in EmitDitheringBlock()
|
| D | EmulateAdvancedBlendEquations.cpp | 131 TIntermTyped *notZero = new TIntermBinary(EOpNotEqual, equationUniform, CreateUIntNode(0)); in build() 1164 new TIntermCase(CreateUIntNode(static_cast<uint32_t>(equation)))); in generateEquationSwitch()
|
| /external/angle/src/compiler/translator/tree_ops/ |
| D | RewriteAtomicCounters.cpp | 71 CreateUIntNode((binding % 4) * 8)); in CreateUniformBufferOffset() 75 return new TIntermBinary(EOpBitwiseAnd, uniformBufferOffsetShifted, CreateUIntNode(0xFF)); in CreateUniformBufferOffset() 295 substituteArguments.push_back(CreateUIntNode(valueChange)); in convertBuiltinFunction() 304 substituteCall = new TIntermBinary(EOpSub, substituteCall, CreateUIntNode(1)); in convertBuiltinFunction()
|
| D | RewritePixelLocalStorage.cpp | 257 "min", {new TIntermSymbol(plsVar), CreateUIntNode(255)}, *mSymbolTable, in clampPLSVarIfNeeded() 285 {expr, CreateUIntNode(0), CreateUIntNode(0), CreateUIntNode(1)}); in Expand() 460 data = new TIntermBinary(EOpBitShiftRight, data, CreateUIntNode(24)); in unpackImageDataIfNecessary() 560 CreateUIntNode(componentIdx * 8)); in clampAndPackPLSDataIfNecessary()
|
| /external/angle/src/compiler/translator/hlsl/ |
| D | ShaderStorageBlockOutputHLSL.cpp | 630 right = Mul(CreateUIntNode(arraySizes[i]), right); in writeEOpIndexDirectOrIndirectOutput() 632 right = Mul(CreateUIntNode(blockMemberInfo->arrayStride), right); in writeEOpIndexDirectOrIndirectOutput() 638 right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); in writeEOpIndexDirectOrIndirectOutput() 642 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput() 649 right = Mul(CreateUIntNode(blockMemberInfo->matrixStride), right); in writeEOpIndexDirectOrIndirectOutput() 653 right = Mul(CreateUIntNode(BlockLayoutEncoder::kBytesPerComponent), right); in writeEOpIndexDirectOrIndirectOutput() 665 return CreateUIntNode(blockMemberInfo->offset); in createFieldOffset()
|
| /external/angle/src/compiler/translator/msl/ |
| D | TranslatorMSL.cpp | 384 new TIntermBinary(EOpBitShiftLeft, CreateUIntNode(1), in AddSampleMaskInDeclaration() 439 EOpAssign, new TIntermSymbol(angleSampleMask), CreateUIntNode(0xFFFFFFFFu))); in AddSampleMaskDeclaration() 615 new TIntermBinary(EOpBitShiftLeft, CreateUIntNode(0xFFFFFFFFu), in AddSampleMaskDeclaration()
|