(EN) The embodiment of the invention provides a graphic block data read-write method, device and equipment and a storage medium, and the data write method comprises the steps: obtaining the primitive datain to-be-written graphic block data, wherein the primitive data comprises the attribute data of all attributes supported by a primitive; generating a first data set, wherein each element represents whether the primitive contains an attribute or not, and the contained attributes are effective attributes; generating a second data set, wherein each element is effective attribute data corresponding tothe effective attribute, and all the effective attribute data are continuously stored, wherein the arrangement sequence of the valid attribute data in the second data set is consistent with the arrangement sequence of the corresponding valid attributes in the first data set; generating a primitive data packet according to the first data set and the second data set, and writing the primitive datapacket into a memory. According to the graphic block data read-write method, device and equipment and the storage medium provided by the embodiment of the invention, the problem of relatively high data bandwidth occupancy rate between the GPU and the memory in a traditional scheme can be solved.
(ZH) 本申请实施例提供一种图形分块数据读写方法、装置、设备及存储介质,其中,数据写入方法包括:获取待写入图形分块数据中的各图元数据,图元数据包括图元支持的所有属性的属性数据;生成第一数据组,其中每一个元素表示图元是否含有一个属性;含有的属性为有效属性;生成第二数据组,其中每一个元素为有效属性对应的有效属性数据,各有效属性数据连续存储;有效属性数据在第二数据组中排列的顺序与对应有效属性在第一数据组中排列的顺序一致;根据第一数据组和第二数据组生成图元数据包,并将图元数据包写入存储器。本申请实施例提供的图形分块数据读写方法、装置、设备及存储介质能够解决传统方案中GPU和存储器之间的数据带宽占用率较高的问题。