diff options
author | Zack Rusin <zackr@vmware.com> | 2013-04-03 21:15:13 -0700 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2013-04-04 12:09:55 -0700 |
commit | be9a42e980d9555f4f4c6c4a248dc269766085d9 (patch) | |
tree | bd5646fd300846b0d24ac857bc58a78a72fd3b92 /src/gallium/tests | |
parent | 5db22494934779a3e7fb7669379d1693ff19d39f (diff) |
llvmpipe: implement ucmp
and add a test for it
Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/tests')
-rw-r--r-- | src/gallium/tests/graw/fragment-shader/frag-ucmp.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/fragment-shader/frag-ucmp.sh b/src/gallium/tests/graw/fragment-shader/frag-ucmp.sh new file mode 100644 index 0000000000..fa4ea25d96 --- /dev/null +++ b/src/gallium/tests/graw/fragment-shader/frag-ucmp.sh @@ -0,0 +1,11 @@ +FRAG +DCL IN[0], COLOR, LINEAR +DCL OUT[0], COLOR +DCL TEMP[0] +IMM[0] FLT32 { 10.0000, 1.0000, 0.0000, 0.0000} +IMM[1] UINT32 {1, 0, 0, 0} +0: MUL TEMP[0].x, IN[0].xxxx, IMM[0].xxxx +1: F2U TEMP[0].x, TEMP[0].xxxx +2: AND TEMP[0].x, TEMP[0].xxxx, IMM[1].xxxx +3: UCMP OUT[0], TEMP[0].xxxx, IMM[0].yzzz, IMM[0].yyyz +4: END |