Home
last modified time | relevance | path

Searched refs:pSwizzle (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp1347 const ADDR_BIT_SETTING* pSwizzle = fullSwizzlePattern; in ConvertSwizzlePatternToEquation() local
1364 ADDR_ASSERT(IsPow2(pSwizzle[i].value)); in ConvertSwizzlePatternToEquation()
1366 if (pSwizzle[i].x != 0) in ConvertSwizzlePatternToEquation()
1368 ADDR_ASSERT(IsPow2(static_cast<UINT_32>(pSwizzle[i].x))); in ConvertSwizzlePatternToEquation()
1372 pEquation->addr[i].index = Log2(pSwizzle[i].x) + elemLog2; in ConvertSwizzlePatternToEquation()
1374 else if (pSwizzle[i].y != 0) in ConvertSwizzlePatternToEquation()
1376 ADDR_ASSERT(IsPow2(static_cast<UINT_32>(pSwizzle[i].y))); in ConvertSwizzlePatternToEquation()
1380 pEquation->addr[i].index = Log2(pSwizzle[i].y); in ConvertSwizzlePatternToEquation()
1384 ADDR_ASSERT(pSwizzle[i].z != 0); in ConvertSwizzlePatternToEquation()
1385 ADDR_ASSERT(IsPow2(static_cast<UINT_32>(pSwizzle[i].z))); in ConvertSwizzlePatternToEquation()
[all …]
Dgfx10addrlib.h398 ADDR_BIT_SETTING (&pSwizzle)[20]) const in GetSwizzlePatternFromPatternInfo()
400 memcpy(pSwizzle, in GetSwizzlePatternFromPatternInfo()
404 memcpy(&pSwizzle[8], in GetSwizzlePatternFromPatternInfo()
408 memcpy(&pSwizzle[12], in GetSwizzlePatternFromPatternInfo()
412 memcpy(&pSwizzle[16], in GetSwizzlePatternFromPatternInfo()
/external/swiftshader/src/Shader/
DVertexProgram.cpp475 unsigned char pSwizzle = instruction->predicateSwizzle; in program() local
477 Float4 xPredicate = p0[(pSwizzle >> 0) & 0x03]; in program()
478 Float4 yPredicate = p0[(pSwizzle >> 2) & 0x03]; in program()
479 Float4 zPredicate = p0[(pSwizzle >> 4) & 0x03]; in program()
480 Float4 wPredicate = p0[(pSwizzle >> 6) & 0x03]; in program()
DPixelProgram.cpp471 unsigned char pSwizzle = instruction->predicateSwizzle; in applyShader() local
473 Float4 xPredicate = p0[(pSwizzle >> 0) & 0x03]; in applyShader()
474 Float4 yPredicate = p0[(pSwizzle >> 2) & 0x03]; in applyShader()
475 Float4 zPredicate = p0[(pSwizzle >> 4) & 0x03]; in applyShader()
476 Float4 wPredicate = p0[(pSwizzle >> 6) & 0x03]; in applyShader()