Searched refs:commandIndex (Results 1 – 5 of 5) sorted by relevance
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ActivateCommand.cpp | 202 s32 commandIndex = 0; in CalcSetupDeactivateVertexAttributeCommandSize_() local 227 commandIndex += 2; in CalcSetupDeactivateVertexAttributeCommandSize_() 230 commandIndex += 6; in CalcSetupDeactivateVertexAttributeCommandSize_() 235 commandIndex += 6; in CalcSetupDeactivateVertexAttributeCommandSize_() 238 return sizeof(u32) * commandIndex; in CalcSetupDeactivateVertexAttributeCommandSize_() 326 u32 commandIndex = 12; in SetupActivateVertexAttributeCommand_() local 354 command[commandIndex ] = bufferAddr - baseAddr; in SetupActivateVertexAttributeCommand_() 355 …command[commandIndex + 1] = internal::MakeCommandHeader(REG_VTX_ARRAY_OFFSET + 3 * arrayIndex, 3, … in SetupActivateVertexAttributeCommand_() 356 command[commandIndex + 2] = 0; in SetupActivateVertexAttributeCommand_() 357 command[commandIndex + 3] = (interleave.GetStride() << 16) | (streamCount << 28); in SetupActivateVertexAttributeCommand_() [all …]
|
| D | gfx_MeshRenderer.cpp | 292 int commandIndex = 0; in RenderParticleShape() local 294 command[commandIndex++] = 0x80000000 | VERTEX_SHADER_UNIFORM_POSOFFS_INDEX; in RenderParticleShape() 295 … command[commandIndex++] = internal::MakeCommandHeader(REG_UNIFORM_FLOAT_INDEX, 1 + 4, true, 0xF); in RenderParticleShape() 296 command[commandIndex++] = 0; in RenderParticleShape() 297 command[commandIndex++] = *(u32*)&resource.GetPositionOffset().z; in RenderParticleShape() 298 command[commandIndex++] = *(u32*)&resource.GetPositionOffset().y; in RenderParticleShape() 299 command[commandIndex++] = *(u32*)&resource.GetPositionOffset().x; in RenderParticleShape() 308 command[commandIndex++] = 0x80000000 | VERTEX_SHADER_UNIFORM_UNIVREG_INDEX; in RenderParticleShape() 309 command[commandIndex++] = HEADER_UNIFORM_FLOAT_INDEX; in RenderParticleShape() 320 (f32*)&command[commandIndex], in RenderParticleShape() [all …]
|
| D | gfx_ParticleShape.cpp | 94 u32 commandIndex = 12; in SetupParticleVertexAttributeCommand() local 118 shape->SetVertexAttributeCommandPtr(i, bufferSide, &command[commandIndex]); in SetupParticleVertexAttributeCommand() 122 command[commandIndex++] = bufferAddr - baseAddr; in SetupParticleVertexAttributeCommand() 123 command[commandIndex++] = inputIndex; in SetupParticleVertexAttributeCommand() 124 …command[commandIndex++] = (internal::CommandCacheHelper::GetVertexSize(dimension, format) << 16) +… in SetupParticleVertexAttributeCommand() 133 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() 134 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() 135 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() 139 if ((commandIndex & 1) == 1) in SetupParticleVertexAttributeCommand() 141 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() [all …]
|
| D | gfx_Fog.cpp | 373 u32 commandIndex = (index == 0) ? 2 : index + 3; in SetupFogSampler() local 375 fogSampler.SetCommandCache(commandIndex, value ); in SetupFogSampler()
|
| /NW4C-2.0.3/sources/libraries/gfx/res/ |
| D | gfx_ResMesh.cpp | 108 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale() local 109 … if ( commandIndex >= 0 ) { command[ commandIndex ] = ut::Float32::Float32ToBits32(1.0f); } in ResSeparateDataShape_SetupVertexIrScale() 119 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale() local 120 … if ( commandIndex >= 0 ) { command[ commandIndex ] = ut::Float32::Float32ToBits32(scale); } in ResSeparateDataShape_SetupVertexIrScale() 121 NW_ASSERT( ! ( (commandIndex == BONE_INDEX_SCALE_INDEX) && (scale != 1.0f)) ); in ResSeparateDataShape_SetupVertexIrScale()
|