缓冲区平铺Buffer tiling

缓冲区资源分为64kb 个磁贴,最后一个磁贴中的某些空白空间(如果大小不是64kb 的倍数)。A Buffer resource is divided into 64KB tiles, with some empty space in the last tile if the size is not a multiple of 64KB.

结构化的缓冲区对要平铺的步幅不能有约束。Structured buffers must have no constraint on the stride to be tiled. 但在第一时间将其平铺会牺牲使用 StructuredBuffers 时可能的硬件性能优化。But possible performance optimizations in hardware for using StructuredBuffers can be sacrificed by making them tiled in the first place.

相关主题Related topics

流式资源区域的平铺方式How a streaming resource's area is tiled