Searched refs:commandIndex (Results 1 – 6 of 6) sorted by relevance
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_ActivateCommand.cpp | 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_() [all …]
|
| D | gfx_MeshRenderer.cpp | 294 int commandIndex = 0; in RenderParticleShape() local 296 command[commandIndex++] = 0x80000000 | VERTEX_SHADER_UNIFORM_POSOFFS_INDEX; in RenderParticleShape() 297 … command[commandIndex++] = internal::MakeCommandHeader(REG_UNIFORM_FLOAT_INDEX, 1 + 4, true, 0xF); in RenderParticleShape() 298 command[commandIndex++] = 0; in RenderParticleShape() 299 command[commandIndex++] = *(u32*)&resource.GetPositionOffset().z; in RenderParticleShape() 300 command[commandIndex++] = *(u32*)&resource.GetPositionOffset().y; in RenderParticleShape() 301 command[commandIndex++] = *(u32*)&resource.GetPositionOffset().x; in RenderParticleShape() 310 command[commandIndex++] = 0x80000000 | VERTEX_SHADER_UNIFORM_UNIVREG_INDEX; in RenderParticleShape() 311 command[commandIndex++] = HEADER_UNIFORM_FLOAT_INDEX; in RenderParticleShape() 322 (f32*)&command[commandIndex], in RenderParticleShape() [all …]
|
| D | gfx_ParticleShape.cpp | 92 u32 commandIndex = 12; in SetupParticleVertexAttributeCommand() local 116 shape->SetVertexAttributeCommandPtr(i, bufferSide, &command[commandIndex]); in SetupParticleVertexAttributeCommand() 120 command[commandIndex++] = bufferAddr - baseAddr; in SetupParticleVertexAttributeCommand() 121 command[commandIndex++] = inputIndex; in SetupParticleVertexAttributeCommand() 122 …command[commandIndex++] = (internal::CommandCacheHelper::GetVertexSize(dimension, format) << 16) +… in SetupParticleVertexAttributeCommand() 131 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() 132 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() 133 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() 137 if ((commandIndex & 1) == 1) in SetupParticleVertexAttributeCommand() 139 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand() [all …]
|
| D | gfx_RenderContext.cpp | 986 u32 commandIndex = 9; in RenderPrimitive() local 988 … command[commandIndex++] = internal::MakeCommandHeader(REG_ELEMENTS_MODE_3, 1, false, 0x2); in RenderPrimitive() 989 command[commandIndex++] = 0; in RenderPrimitive() 990 … command[commandIndex++] = internal::MakeCommandHeader(REG_ELEMENTS_MODE_3, 1, false, 0x4); in RenderPrimitive() 991 command[commandIndex++] = 1; in RenderPrimitive() 992 … command[commandIndex++] = internal::MakeCommandHeader(REG_TRIANGLE_INDEX_RESET, 1, false, 0xF); in RenderPrimitive() 993 command[commandIndex++] = 0; in RenderPrimitive() 994 command[commandIndex++] = internal::MakeCommandHeader(REG_DRAW_READY, 1, false, 0xF); in RenderPrimitive() 995 command[commandIndex++] = 1; in RenderPrimitive() 996 command[commandIndex++] = internal::MakeCommandHeader(REG_DRAW_KICK, 1, false, 0xF); in RenderPrimitive() [all …]
|
| D | gfx_Fog.cpp | 336 u32 commandIndex = (index == 0) ? 2 : index + 3; in SetupFogSampler() local 338 fogSampler.SetCommandCache(commandIndex, value ); in SetupFogSampler()
|
| /NW4C-1.2.23/sources/libraries/gfx/res/ |
| D | gfx_ResMesh.cpp | 106 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale() local 107 … if ( commandIndex >= 0 ) { command[ commandIndex ] = ut::Float32::Float32ToBits32(1.0f); } in ResSeparateDataShape_SetupVertexIrScale() 117 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale() local 118 … if ( commandIndex >= 0 ) { command[ commandIndex ] = ut::Float32::Float32ToBits32(scale); } in ResSeparateDataShape_SetupVertexIrScale() 119 NW_ASSERT( ! ( (commandIndex == BONE_INDEX_SCALE_INDEX) && (scale != 1.0f)) ); in ResSeparateDataShape_SetupVertexIrScale()
|