Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateClipCullDistance.cpp107 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary() local
108 if (constIdx) in visitBinary()
111 switch (constIdx->getType()) in visitBinary()
114 idx = constIdx->getIConst(); in visitBinary()
117 idx = constIdx->getUConst(); in visitBinary()
120 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
123 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DReplaceClipCullDistanceVariable.cpp121 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary() local
122 if (!constIdx) in visitBinary()
129 switch (constIdx->getType()) in visitBinary()
132 idx = constIdx->getIConst(); in visitBinary()
135 idx = constIdx->getUConst(); in visitBinary()
138 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
141 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()
DRewriteSampleMaskVariable.cpp82 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary() local
83 if (!constIdx) in visitBinary()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm8bitStorageTests.cpp3078 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStorageUniformInt8To32Group() local
3092 specs["constarrayidx"] = de::toString(constIdx); in addGraphics8BitStorageUniformInt8To32Group()
3104 name += string("_const_idx_") + de::toString(constIdx); in addGraphics8BitStorageUniformInt8To32Group()
3287 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group() local
3296 constIdxData.push_back(sOutputs[constIdx]); in addGraphics8BitStoragePushConstantInt8To32Group()
3299 specs["constarrayidx"] = de::toString(constIdx); in addGraphics8BitStoragePushConstantInt8To32Group()
3306 testName += string("_const_idx_") + de::toString(constIdx); in addGraphics8BitStoragePushConstantInt8To32Group()
3330 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics8BitStoragePushConstantInt8To32Group() local
3339 constIdxData.push_back(uOutputs[constIdx]); in addGraphics8BitStoragePushConstantInt8To32Group()
3342 specs["constarrayidx"] = de::toString(constIdx); in addGraphics8BitStoragePushConstantInt8To32Group()
[all …]
DvktSpvAsm16bitStorageTests.cpp4817 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics16BitStoragePushConstantFloat16To32Group() local
4826 float32ConstIdxData.push_back(float32Data[constIdx]); in addGraphics16BitStoragePushConstantFloat16To32Group()
4829 specs["constarrayidx"] = de::toString(constIdx); in addGraphics16BitStoragePushConstantFloat16To32Group()
4842 testName += string("_const_idx_") + de::toString(constIdx); in addGraphics16BitStoragePushConstantFloat16To32Group()
4886 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics16BitStoragePushConstantFloat16To32Group() local
4895 float32ConstIdxData.push_back(float32Data[constIdx * 4 + numIdx % 4]); in addGraphics16BitStoragePushConstantFloat16To32Group()
4898 specs["constarrayidx"] = de::toString(constIdx); in addGraphics16BitStoragePushConstantFloat16To32Group()
4911 testName += string("_const_idx_") + de::toString(constIdx); in addGraphics16BitStoragePushConstantFloat16To32Group()
4962 deUint32 constIdx = constantIndices[constIndexIdx].constantIndex; in addGraphics16BitStoragePushConstantFloat16To32Group() local
4977 float32ConstIdxData.push_back(float32Data[constIdx * 8 + numIdx % 8]); in addGraphics16BitStoragePushConstantFloat16To32Group()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp141 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary() local
142 if (!constIdx) in visitBinary()
156 switch (constIdx->getType()) in visitBinary()
159 idx = constIdx->getIConst(); in visitBinary()
162 idx = constIdx->getUConst(); in visitBinary()
165 idx = static_cast<unsigned int>(constIdx->getFConst()); in visitBinary()
168 idx = constIdx->getBConst() ? 1 : 0; in visitBinary()