summaryrefslogtreecommitdiffstats
path: root/src/getopt
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-06-18 14:50:04 -0700
committerPaul Berry <[email protected]>2012-07-02 13:27:36 -0700
commit3f929efa2872aa5a4402520ec9fd551392e2413a (patch)
treefa71cc399a09981dfac0d16016719a2acb792f71 /src/getopt
parent8aa78c104a6fa9497cba558b54c41f6f2292bd74 (diff)
i965/fs: Add FS_OPCODE_MOV_DISPATCH_TO_FLAGS to fragment shader backend.
In order to compute centroid varyings correctly, the fragment shader needs to be able to load the current pixel/sample mask into a flag register. This patch adds an opcode to the fragment shader back-end to do this; the opcode gets translated into the instruction mov(1) f0<1>UW g1.14<0,1,0>UW { align1 WE_all } Since this instruction clobbers f0, instruction scheduling has to treat it the same as instructions that have a conditional modifier. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions