Lines Matching refs:commandIndex
216 u32 commandIndex = 12; in SetupActivateVertexAttributeCommand_() local
244 command[commandIndex ] = bufferAddr - baseAddr; in SetupActivateVertexAttributeCommand_()
245 …command[commandIndex + 1] = internal::MakeCommandHeader(REG_VTX_ARRAY_OFFSET + 3 * arrayIndex, 3, … in SetupActivateVertexAttributeCommand_()
246 command[commandIndex + 2] = 0; in SetupActivateVertexAttributeCommand_()
247 command[commandIndex + 3] = (interleave.GetStride() << 16) | (streamCount << 28); in SetupActivateVertexAttributeCommand_()
249 u32* arraySetting = &command[commandIndex + 2]; in SetupActivateVertexAttributeCommand_()
250 commandIndex += 4; in SetupActivateVertexAttributeCommand_()
301 command[commandIndex] = bufferAddr - baseAddr; in SetupActivateVertexAttributeCommand_()
302 …command[commandIndex + 1] = internal::MakeCommandHeader(REG_VTX_ARRAY_OFFSET + 3 * arrayIndex, 3, … in SetupActivateVertexAttributeCommand_()
303 command[commandIndex + 2] = inputIndex; in SetupActivateVertexAttributeCommand_()
304 …command[commandIndex + 3] = (CommandCacheHelper::GetVertexSize(dimension, format) << 16) + (1 << … in SetupActivateVertexAttributeCommand_()
307 commandIndex += 4; in SetupActivateVertexAttributeCommand_()
341 command[commandIndex] = inputIndex; in SetupActivateVertexAttributeCommand_()
342 command[commandIndex + 1] = HEADER_VTX_PARAM_INDEX; in SetupActivateVertexAttributeCommand_()
343 command[commandIndex + 2] = (data[3] << 8) | (data[2] >> 16); in SetupActivateVertexAttributeCommand_()
344 command[commandIndex + 3] = (data[2] << 16) | (data[1] >> 8); in SetupActivateVertexAttributeCommand_()
345 command[commandIndex + 4] = (data[1] << 24) | (data[0]); in SetupActivateVertexAttributeCommand_()
346 command[commandIndex + 5] = 0; in SetupActivateVertexAttributeCommand_()
351 commandIndex += 6; in SetupActivateVertexAttributeCommand_()
365 command[commandIndex] = inputIndex; in SetupActivateVertexAttributeCommand_()
366 command[commandIndex + 1] = HEADER_VTX_PARAM_INDEX; in SetupActivateVertexAttributeCommand_()
367 command[commandIndex + 2] = (ut::Float24::Float32ToBits24( 1.0f ) << 8); in SetupActivateVertexAttributeCommand_()
368 command[commandIndex + 3] = 0; in SetupActivateVertexAttributeCommand_()
369 command[commandIndex + 4] = 0; in SetupActivateVertexAttributeCommand_()
370 command[commandIndex + 5] = 0; in SetupActivateVertexAttributeCommand_()
371 commandIndex += 6; in SetupActivateVertexAttributeCommand_()
384 command[commandIndex + 0] = 0x76543210; in SetupActivateVertexAttributeCommand_()
385 command[commandIndex + 1] = HEADER_GEOM_MAP_0; in SetupActivateVertexAttributeCommand_()
386 command[commandIndex + 2] = 0xfedcba98; in SetupActivateVertexAttributeCommand_()
387 command[commandIndex + 3] = HEADER_GEOM_MAP_1; in SetupActivateVertexAttributeCommand_()
388 commandIndex += 4; in SetupActivateVertexAttributeCommand_()
391 NWForwardCurrentCmdBuffer( commandIndex * sizeof(u32) ); in SetupActivateVertexAttributeCommand_()
424 u32 commandIndex = 0; in SetupDeactivateVertexAttributeCommand_() local
443 command[commandIndex ] = 0; in SetupDeactivateVertexAttributeCommand_()
444 …command[commandIndex + 1] = internal::MakeCommandHeader(REG_VTX_ARRAY_OFFSET + 2 + 3 * arrayIndex,… in SetupDeactivateVertexAttributeCommand_()
445 commandIndex += 2; in SetupDeactivateVertexAttributeCommand_()
453 command[commandIndex ] = 0; in SetupDeactivateVertexAttributeCommand_()
454 …command[commandIndex + 1] = internal::MakeCommandHeader(REG_VTX_ARRAY_OFFSET + 2 + 3 * arrayIndex,… in SetupDeactivateVertexAttributeCommand_()
455 commandIndex += 2; in SetupDeactivateVertexAttributeCommand_()
469 command[commandIndex++] = INPUT_MAP0; in SetupDeactivateVertexAttributeCommand_()
470 … command[commandIndex++] = internal::MakeCommandHeader(REG_VTX_MAP_0, 2, true, 0xF); in SetupDeactivateVertexAttributeCommand_()
471 command[commandIndex++] = INPUT_MAP1; in SetupDeactivateVertexAttributeCommand_()
472 command[commandIndex++] = 0; in SetupDeactivateVertexAttributeCommand_()
475 …command[commandIndex++] = (static_cast<u32>(inputIndex - 1) << 28) | (((0x1 << inputIndex) - 2) <<… in SetupDeactivateVertexAttributeCommand_()
476 command[commandIndex++] = internal::MakeCommandHeader(REG_VTX_ARRAY_VTXMASK, 1, false, 0xF); in SetupDeactivateVertexAttributeCommand_()
483 command[commandIndex] = i; in SetupDeactivateVertexAttributeCommand_()
484 command[commandIndex + 1] = HEADER_VTX_PARAM_INDEX; in SetupDeactivateVertexAttributeCommand_()
485 command[commandIndex + 2] = (ut::Float24::Float32ToBits24( 1.0f ) << 8); in SetupDeactivateVertexAttributeCommand_()
486 command[commandIndex + 3] = 0; in SetupDeactivateVertexAttributeCommand_()
487 command[commandIndex + 4] = 0; in SetupDeactivateVertexAttributeCommand_()
488 command[commandIndex + 5] = 0; in SetupDeactivateVertexAttributeCommand_()
489 commandIndex += 6; in SetupDeactivateVertexAttributeCommand_()
492 NWForwardCurrentCmdBuffer( commandIndex * sizeof(u32) ); in SetupDeactivateVertexAttributeCommand_()