Lines Matching refs:index
271 struct SetupInfo { u16 type; u16 index; u32 value[4]; }; in MakeConstRgCommand_() member
286 *boolMap |= ( info.value[ 0 ] << info.index ) & ( 1 << info.index ); in MakeConstRgCommand_()
291 *command++ = PICA_CMD_HEADER_SINGLE( reg_integer + info.index ); in MakeConstRgCommand_()
295 *command++ = info.index; in MakeConstRgCommand_()
327 struct OutmapInfo { u16 type; u16 index; u16 mask; u16 reserve; }; in MakeOutAttrCommand_() member
373 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_()
388 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_()
401 outmap_buffer[ outMapBufferCount ].index = outMapBufferCount; in MakeOutAttrCommand_()
421 for ( int index = 0; index < OUT_ATTR_INDEX_MAX; ++index ) in MakeOutAttrCommand_() local
423 attr[ index ] = 0x1f1f1f1f; in MakeOutAttrCommand_()
427 … for ( int j = 0; outmap_buffer[ i ].index == index && j < OUT_ATTR_DIMENTION_MAX; ++j ) in MakeOutAttrCommand_()
443 … attr[ index ] = attr[ index ] & ~( 0xff << ( j * 8 ) ) | value << ( j * 8 ); in MakeOutAttrCommand_()
446 if ( attr[ index ] != 0x1f1f1f1f ) in MakeOutAttrCommand_()
448 outMask |= ( 1 << index ); in MakeOutAttrCommand_()
467 for ( int index = 0; index < VS_OUT_ATTR_INDEX_MAX; ++index ) in MakeOutAttrCommand_() local
469 vtxAttr[ index ] = 0x1f1f1f1f; in MakeOutAttrCommand_()
473 … for ( int j = 0; outmapInfo[ i ].index == index && j < OUT_ATTR_DIMENTION_MAX; ++j ) in MakeOutAttrCommand_()
490 … vtxAttr[ index ] = vtxAttr[ index ] & ~( 0xff << ( j * 8 ) ) | value << ( j * 8 ); in MakeOutAttrCommand_()
493 if ( vtxAttr[ index ] != 0x1f1f1f1f ) in MakeOutAttrCommand_()
495 vtxOutMask |= ( 1 << index ); in MakeOutAttrCommand_()
588 for ( int index = 0; index < OUT_ATTR_INDEX_MAX; ++index ) in MakeOutAttrCommand_() local
590 if ( attr[ index ] != 0x1f1f1f1f ) in MakeOutAttrCommand_()
592 *command++ = attr[ index ]; in MakeOutAttrCommand_()
597 for ( int index = outNum; index < OUT_ATTR_INDEX_MAX; ++index ) in MakeOutAttrCommand_() local
599 *command++ = attr[ index ]; in MakeOutAttrCommand_()
600 *command++ = PICA_CMD_HEADER_SINGLE( PICA_REG_VS_OUT_ATTR0 + index ); in MakeOutAttrCommand_()
803 int index = -1; in SearchBindSymbol() local
810 … if ( 120 <= regStart && regStart < 136 && type == BindSymbol::SYMBOL_TYPE_BOOL ) ++index; in SearchBindSymbol()
811 … else if ( 112 <= regStart && regStart < 115 && type == BindSymbol::SYMBOL_TYPE_INTEGER ) ++index; in SearchBindSymbol()
812 … else if ( 16 <= regStart && regStart < 111 && type == BindSymbol::SYMBOL_TYPE_FLOAT ) ++index; in SearchBindSymbol()
813 … else if ( regStart < 15 && type == BindSymbol::SYMBOL_TYPE_INPUT ) ++index; in SearchBindSymbol()
815 if ( index == symbol_index ) in SearchBindSymbol()