mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 14:10:37 +02:00
i965/fs: Add a comment explaining what saturate propagation does.
This commit is contained in:
parent
3f6b008168
commit
2308b3bef2
1 changed files with 14 additions and 0 deletions
|
|
@ -26,6 +26,20 @@
|
|||
#include "brw_cfg.h"
|
||||
|
||||
/** @file brw_fs_saturate_propagation.cpp
|
||||
*
|
||||
* Implements a pass that propagates the SAT modifier from a MOV.SAT into the
|
||||
* instruction that produced the source of the MOV.SAT, thereby allowing the
|
||||
* MOV's src and dst to be coalesced and the MOV removed.
|
||||
*
|
||||
* For instance,
|
||||
*
|
||||
* ADD tmp, src0, src1
|
||||
* MOV.SAT dst, tmp
|
||||
*
|
||||
* would be transformed into
|
||||
*
|
||||
* ADD.SAT tmp, src0, src1
|
||||
* MOV dst, tmp
|
||||
*/
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue