Cross Reference: frag-rcp.sh
xref: /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/fragment-shader/frag-rcp.sh
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/fragment-shader/
1848b8605SmrgFRAG
2848b8605Smrg
3848b8605SmrgDCL IN[0], COLOR, LINEAR
4848b8605SmrgDCL OUT[0], COLOR
5848b8605Smrg
6848b8605SmrgDCL TEMP[0]
7848b8605Smrg
8848b8605SmrgIMM FLT32 { 1.0, 0.0, 0.0, 0.0 }
9848b8605SmrgIMM FLT32 { 1.5, 0.0, 0.0, 0.0 }
10848b8605Smrg
11848b8605SmrgADD TEMP[0], IN[0], IMM[0]
12848b8605SmrgRCP TEMP[0].x, TEMP[0].xxxx
13848b8605SmrgSUB OUT[0], TEMP[0], IMM[1]
14848b8605Smrg
15848b8605SmrgEND
16

Indexes created Sun Nov 30 08:09:32 GMT 2025