計算著色器 (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