X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Ftests%2Fpython%2Ftests%2Fregress%2Fvertex-shader%2Fvert-srcmod-absneg.sh;fp=src%2Fgallium%2Ftests%2Fpython%2Ftests%2Fregress%2Fvertex-shader%2Fvert-srcmod-absneg.sh;h=d82eb08fd304e00206c4b6d033aedfc538b82ccb;hb=6917ef10f20d2c6de92e5432b9483d9648d8b0c0;hp=0000000000000000000000000000000000000000;hpb=6cd82eb399c8a6c248c2d9b135bafefbac8fbe0f;p=mesa.git diff --git a/src/gallium/tests/python/tests/regress/vertex-shader/vert-srcmod-absneg.sh b/src/gallium/tests/python/tests/regress/vertex-shader/vert-srcmod-absneg.sh new file mode 100644 index 00000000000..d82eb08fd30 --- /dev/null +++ b/src/gallium/tests/python/tests/regress/vertex-shader/vert-srcmod-absneg.sh @@ -0,0 +1,16 @@ +VERT + +DCL IN[0], POSITION +DCL IN[1], COLOR +DCL OUT[0], POSITION +DCL OUT[1], COLOR +DCL TEMP[0] + +IMM FLT32 { -0.2, -0.2, 0.0, 0.0 } + +ADD TEMP[0], IN[0], IMM[0] +MOV OUT[0].xy, -|TEMP[0]| +MOV OUT[0].zw, IN[0] +MOV OUT[1], IN[1] + +END