Home
last modified time | relevance | path

Searched refs:log2Width (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c912 GLint log2Width, log2Height, texelBytes; in setup_hardware_state() local
920 log2Width = firstImage->WidthLog2; in setup_hardware_state()
949 t->pp_txformat |= ((log2Width << RADEON_TXFORMAT_WIDTH_SHIFT) | in setup_hardware_state()
955 assert(log2Width == log2Height); in setup_hardware_state()
956 t->pp_txformat |= ((log2Width << RADEON_TXFORMAT_F5_WIDTH_SHIFT) | in setup_hardware_state()
960 t->pp_cubic_faces = ((log2Width << RADEON_FACE_WIDTH_1_SHIFT) | in setup_hardware_state()
962 (log2Width << RADEON_FACE_WIDTH_2_SHIFT) | in setup_hardware_state()
964 (log2Width << RADEON_FACE_WIDTH_3_SHIFT) | in setup_hardware_state()
966 (log2Width << RADEON_FACE_WIDTH_4_SHIFT) | in setup_hardware_state()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c1292 GLint log2Width, log2Height, log2Depth, texelBytes; in setup_hardware_state() local
1299 log2Width = firstImage->WidthLog2; in setup_hardware_state()
1306 __func__, rmesa, t, log2Width, log2Height, in setup_hardware_state()
1350 t->pp_txformat |= (((log2Width + extra_size) << R200_TXFORMAT_WIDTH_SHIFT) | in setup_hardware_state()
1367 assert(log2Width == log2Height); in setup_hardware_state()
1368 t->pp_txformat |= ((log2Width << R200_TXFORMAT_F5_WIDTH_SHIFT) | in setup_hardware_state()
1373 t->pp_cubic_faces = ((log2Width << R200_FACE_WIDTH_1_SHIFT) | in setup_hardware_state()
1375 (log2Width << R200_FACE_WIDTH_2_SHIFT) | in setup_hardware_state()
1377 (log2Width << R200_FACE_WIDTH_3_SHIFT) | in setup_hardware_state()
1379 (log2Width << R200_FACE_WIDTH_4_SHIFT) | in setup_hardware_state()
/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.cpp1432 const UINT_32 log2Width = (log2NumEle + (widthPrecedent ? 1 : 0)) / 2; in ComputeThinBlockDimension() local
1434 *pWidth = 1u << log2Width; in ComputeThinBlockDimension()
1435 *pHeight = 1u << (log2NumEle - log2Width); in ComputeThinBlockDimension()