~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/gallium/tests/graw/fragment-shader/frag-lg2.sh

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
FRAG
2
 
 
3
 
DCL IN[0], COLOR, LINEAR
4
 
DCL OUT[0], COLOR
5
 
 
6
 
DCL TEMP[0]
7
 
 
8
 
IMM FLT32 { 1.0, 0.0, 0.0, 0.0 }
9
 
IMM FLT32 { 0.5, 0.0, 0.0, 0.0 }
10
 
 
11
 
ADD TEMP[0], IN[0], IMM[0]
12
 
LG2 TEMP[0].x, TEMP[0].xxxx
13
 
ADD OUT[0], TEMP[0], IMM[1]
14
 
 
15
 
END