Lines Matching refs:command

65     u32* command = reinterpret_cast<u32*>(shape->m_CommandCache[bufferSide]);  in SetupParticleVertexAttributeCommand()  local
72 command[0] = (vtxAttrNum - 1) | 0xa0000000; in SetupParticleVertexAttributeCommand()
73 command[1] = HEADER_VTX_SHADER_ATTR_NUM; in SetupParticleVertexAttributeCommand()
75 command[2] = (vtxAttrNum - 1); in SetupParticleVertexAttributeCommand()
76 command[3] = HEADER_VTX_SHADER_ATTR_NUM_2; in SetupParticleVertexAttributeCommand()
78 command[4] = 0; in SetupParticleVertexAttributeCommand()
79 command[5] = HEADER_VTX_MAP_0; in SetupParticleVertexAttributeCommand()
80 command[6] = 0; in SetupParticleVertexAttributeCommand()
81 command[7] = 0; in SetupParticleVertexAttributeCommand()
84 command[8] = baseAddr >> 3; in SetupParticleVertexAttributeCommand()
85 command[9] = internal::MakeCommandHeader(REG_VTX_STREAM_BASE, 3 + vtxAttrNum * 3, true, 0xF); in SetupParticleVertexAttributeCommand()
86 command[10] = 0; in SetupParticleVertexAttributeCommand()
87 command[11] = static_cast<u32>(vtxAttrNum - 1) << 28; in SetupParticleVertexAttributeCommand()
89 u32* inputTable = &command[4]; in SetupParticleVertexAttributeCommand()
90 u32* inputFormat = &command[10]; in SetupParticleVertexAttributeCommand()
91 u32* vertexParamMask = &command[11]; in SetupParticleVertexAttributeCommand()
118 shape->SetVertexAttributeCommandPtr(i, bufferSide, &command[commandIndex]); in SetupParticleVertexAttributeCommand()
122 command[commandIndex++] = bufferAddr - baseAddr; in SetupParticleVertexAttributeCommand()
123 command[commandIndex++] = inputIndex; in SetupParticleVertexAttributeCommand()
124command[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()
141 command[commandIndex++] = 0; in SetupParticleVertexAttributeCommand()
168 shape->SetVertexAttributeCommandPtr(i, bufferSide, &command[commandIndex + 2]); in SetupParticleVertexAttributeCommand()
170 command[commandIndex] = inputIndex; in SetupParticleVertexAttributeCommand()
171 command[commandIndex + 1] = HEADER_VTX_PARAM_INDEX; in SetupParticleVertexAttributeCommand()
172 command[commandIndex + 2] = (data[3] << 8) | (data[2] >> 16); in SetupParticleVertexAttributeCommand()
173 command[commandIndex + 3] = (data[2] << 16) | (data[1] >> 8); in SetupParticleVertexAttributeCommand()
174 command[commandIndex + 4] = (data[1] << 24) | (data[0]); in SetupParticleVertexAttributeCommand()
175 command[commandIndex + 5] = 0; in SetupParticleVertexAttributeCommand()
186 command[commandIndex + 0] = 0x76543210; in SetupParticleVertexAttributeCommand()
187 command[commandIndex + 1] = HEADER_GEOM_MAP_0; in SetupParticleVertexAttributeCommand()
188 command[commandIndex + 2] = 0xfedcba98; in SetupParticleVertexAttributeCommand()
189 command[commandIndex + 3] = 0; in SetupParticleVertexAttributeCommand()
209 u32* command = reinterpret_cast<u32*>(shape->m_DeactivateVertexCommandCache); in SetupDeactivateParticleVertexAttributeCommand() local
211 shape->m_DeactivateVertexCommandCache = command; in SetupDeactivateParticleVertexAttributeCommand()
223 command[commandIndex++] = 0; in SetupDeactivateParticleVertexAttributeCommand()
224command[commandIndex++] = internal::MakeCommandHeader(REG_VTX_ARRAY_OFFSET + 2 + 3 * inputIndex, 1… in SetupDeactivateParticleVertexAttributeCommand()
235 command[commandIndex++] = i; in SetupDeactivateParticleVertexAttributeCommand()
236 command[commandIndex++] = HEADER_VTX_PARAM_INDEX; in SetupDeactivateParticleVertexAttributeCommand()
237 command[commandIndex++] = 0; in SetupDeactivateParticleVertexAttributeCommand()
238 command[commandIndex++] = 0; in SetupDeactivateParticleVertexAttributeCommand()
239 command[commandIndex++] = 0; in SetupDeactivateParticleVertexAttributeCommand()
240 command[commandIndex++] = 0; in SetupDeactivateParticleVertexAttributeCommand()
271 u32* command = reinterpret_cast<u32*>(shape->m_PrimitiveCommandCache); in CreatePrimitiveCommandCache() local
307 command[commandIndex++] = 0x7fff0000 | (type << 1); // bit0は予約されているため、bit1から配置する in CreatePrimitiveCommandCache()
308 command[commandIndex++] = HEADER_VERTEX_UNIFORM_BOOL; in CreatePrimitiveCommandCache()
309 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
310 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
311 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
312 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
314 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
315 command[commandIndex++] = HEADER_ELEMENTS_MODE; in CreatePrimitiveCommandCache()
316 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
317 command[commandIndex++] = HEADER_ELEMENTS_MODE_2; in CreatePrimitiveCommandCache()
318 command[commandIndex++] = 3 << 8; in CreatePrimitiveCommandCache()
319 command[commandIndex++] = HEADER_ELEMENTS_MODE_3; in CreatePrimitiveCommandCache()
320 command[commandIndex++] = 1; in CreatePrimitiveCommandCache()
321 command[commandIndex++] = HEADER_TRIANGLE_INDEX_RESET; in CreatePrimitiveCommandCache()
322 command[commandIndex++] = 0; in CreatePrimitiveCommandCache()
323 command[commandIndex++] = HEADER_DRAW_READY; in CreatePrimitiveCommandCache()
324 command[commandIndex++] = 1; in CreatePrimitiveCommandCache()
325 command[commandIndex++] = HEADER_DRAW_KICK; in CreatePrimitiveCommandCache()
326 command[commandIndex++] = 1; in CreatePrimitiveCommandCache()
327 command[commandIndex++] = HEADER_DRAW_READY; in CreatePrimitiveCommandCache()
328 command[commandIndex++] = 1; in CreatePrimitiveCommandCache()
329 command[commandIndex++] = HEADER_VERTEX_CACHE_CLEAR; in CreatePrimitiveCommandCache()
330 command[commandIndex++] = 1; in CreatePrimitiveCommandCache()
331 command[commandIndex++] = HEADER_COLOR_DEPTH_CACHE_FLUSH; in CreatePrimitiveCommandCache()
332 command[commandIndex++] = 1; in CreatePrimitiveCommandCache()
333 command[commandIndex++] = HEADER_COLOR_DEPTH_CACHE_CLEAR; in CreatePrimitiveCommandCache()