(CS) 阶段的计算着色器Compute shader (CS) stage

计算着色器 (CS) 阶段提供高速通用计算,并利用了图形处理单元 (GPU) 中的大量并行处理器。The compute shader (CS) stage provides high-speed general-purpose computing, and takes advantage of the large numbers of parallel processors on the graphics processing unit (GPU). 计算着色器阶段提供内存共享和线程同步功能,以允许更有效的并行编程方法。The compute shader stage provides memory sharing and thread synchronization features to allow more effective parallel programming methods.

计算着色器可以在多个线程上并行运行。A compute shader can run on many threads in parallel.

计算着色器是一种 HLSL的可编程着色器阶段,它扩展了 Direct3D 以外的图形编程。A compute shader is an HLSL-programmable shader stage that expands Direct3D beyond graphics programming. 计算着色器技术也称为 DirectCompute 技术。Compute shader technology is also known as DirectCompute technology. 有关详细信息,另请参阅 计算着色器概述For more info, also see Compute shader overview.

计算管道 图形管道Compute pipeline Graphics pipeline