Lines Matching refs:size
83 s32 size = 0; in GetCommonCommandSize() local
86 size += sizeof(u32) * 2; in GetCommonCommandSize()
88 size += GetSwizzleCommandSize(); in GetCommonCommandSize()
89 size += GetProgramCommandSize(); in GetCommonCommandSize()
91 return size; in GetCommonCommandSize()
99 s32 size = 0; in GetShaderProgramCommandSize() local
101 size += 2 * sizeof(u32); // PutEnableMirroringShaderSetting の分 in GetShaderProgramCommandSize()
103 size += this->GetConstRegCommandSize( vertexIndex ); in GetShaderProgramCommandSize()
107 size += this->GetConstRegCommandSize( geometryIndex ); in GetShaderProgramCommandSize()
110 size += this->GetOutAttrCommandSize( vertexIndex, geometryIndex ); in GetShaderProgramCommandSize()
112 return size; in GetShaderProgramCommandSize()
123 s32 size = 0; in GetProgramCommandSize() local
125 size += 2 * sizeof(u32); in GetProgramCommandSize()
126 size += this->GetLoadCommandSize( vertexInstructionCount ); in GetProgramCommandSize()
127 size += 2 * sizeof(u32); in GetProgramCommandSize()
131 size += 2 * sizeof(u32); in GetProgramCommandSize()
132 size += this->GetLoadCommandSize( m_InstructionCount ); in GetProgramCommandSize()
133 size += 2 * sizeof(u32); in GetProgramCommandSize()
136 return size; in GetProgramCommandSize()
143 s32 size = 0; in GetSwizzleCommandSize() local
145 size += 2 * sizeof(u32); in GetSwizzleCommandSize()
146 size += this->GetLoadCommandSize( m_SwizzleCount ); in GetSwizzleCommandSize()
150 size += 2 * sizeof(u32); in GetSwizzleCommandSize()
151 size += this->GetLoadCommandSize( m_SwizzleCount ); in GetSwizzleCommandSize()
154 return size; in GetSwizzleCommandSize()
168 s32 size = 0; in GetConstRegCommandSize() local
201 size += INT_COMMAND_SIZE * sizeof(u32); in GetConstRegCommandSize()
205 size += FLOAT_COMMAND_SIZE * sizeof(u32); in GetConstRegCommandSize()
210 return size; in GetConstRegCommandSize()
223 s32 size = 0; in GetOutAttrCommandSize() local
228 size += geometrySettingCommandSize; in GetOutAttrCommandSize()
229 size += SHADER_PROGRAM_COMMAND_SIZE * sizeof(u32); in GetOutAttrCommandSize()
233 size += GEOMETRY_COMMAND_SIZE * sizeof(u32); in GetOutAttrCommandSize()
236 return size; in GetOutAttrCommandSize()