Home
last modified time | relevance | path

Searched refs:CreateUIntNode (Results 1 – 12 of 12) sorted by relevance

/external/angle/src/compiler/translator/tree_util/
DDriverUniform.cpp258 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 …]
DSpecializationConstant.cpp80 decl->appendDeclarator(new TIntermBinary(EOpInitialize, getDither(), CreateUIntNode(0))); in declareSpecConsts()
DRewriteSampleMaskVariable.cpp148 TIntermConstantUnion *singleSampleCount = CreateUIntNode(1); in RewriteSampleMask()
DIntermNode_util.h34 TIntermConstantUnion *CreateUIntNode(unsigned int value);
DReplaceClipCullDistanceVariable.cpp230 TIntermConstantUnion *bitMask = CreateUIntNode(0x1 << index); in assignFuncWithEnableFlags()
232 TIntermBinary *nonZero = new TIntermBinary(EOpNotEqual, bitwiseAnd, CreateUIntNode(0)); in assignFuncWithEnableFlags()
DIntermNode_util.cpp171 TIntermConstantUnion *CreateUIntNode(unsigned int value) in CreateUIntNode() function
/external/angle/src/compiler/translator/tree_ops/spirv/
DEmulateDithering.cpp84 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()
DEmulateAdvancedBlendEquations.cpp131 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/
DRewriteAtomicCounters.cpp71 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()
DRewritePixelLocalStorage.cpp257 "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/
DShaderStorageBlockOutputHLSL.cpp630 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/
DTranslatorMSL.cpp384 new TIntermBinary(EOpBitShiftLeft, CreateUIntNode(1), in AddSampleMaskInDeclaration()
439 EOpAssign, new TIntermSymbol(angleSampleMask), CreateUIntNode(0xFFFFFFFFu))); in AddSampleMaskDeclaration()
615 new TIntermBinary(EOpBitShiftLeft, CreateUIntNode(0xFFFFFFFFu), in AddSampleMaskDeclaration()