首页> 外国专利> Compression and decompression of indices in a graphics pipeline

Compression and decompression of indices in a graphics pipeline

机译:图形管道中索引的压缩和解压缩

摘要

A compute unit accesses a chunk of bits that represent indices of vertices of a graphics primitive. The compute unit sets values of a first bit to indicate whether the chunk is monotonic or ordinary, second bits to define an offset that is determined based on values of indices in the chunk, and sets of third bits that determine values of the indices in the chunk based on the offset defined by the second bits. The compute unit writes a compressed chunk represented by the first bit, the second bits, and the sets of third bits to a memory. The compressed chunk is decompressed and the decompressed indices are written to an index buffer. In some embodiments, the indices are decompressed based on metadata that includes offsets that are determined based on values of the indices and bitfields that indicate characteristics of the indices.
机译:计算单元访问代表图形图元的顶点索引的大量位。计算单元设置第一位的值以指示块是单调的还是普通的,第二位设置第二位以定义基于块中的索引的值确定的偏移量,第三位的集合确定在块中的索引的值基于第二位定义的偏移量的块。计算单元将由第一位,第二位和第三位组表示的压缩块写入存储器。压缩块被解压缩,解压缩后的索引被写入索引缓冲区。在一些实施例中,基于元数据对索引进行解压缩,该元数据包括基于索引的值和指示索引的特性的位域确定的偏移。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号