tests/shader_runner: Introduce a Metal shader runner.

This commit is contained in:
Feifan He 2024-10-21 22:23:27 +08:00 committed by Henri Verbeet
parent da75582a14
commit b0646cb427
Notes: Henri Verbeet 2024-10-31 16:58:27 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1205
176 changed files with 1154 additions and 992 deletions

View File

@ -491,6 +491,13 @@ tests_shader_runner_SOURCES = \
tests/shader_runner_d3d12.c \ tests/shader_runner_d3d12.c \
tests/shader_runner_gl.c \ tests/shader_runner_gl.c \
tests/shader_runner_vulkan.c tests/shader_runner_vulkan.c
if HAVE_METAL
tests_shader_runner_OBJCFLAGS = $(AM_CFLAGS)
tests_shader_runner_SOURCES += tests/shader_runner_metal.m
tests_shader_runner_LINK = $(OBJCLINK) -framework Foundation -framework Metal
else
tests_shader_runner_LINK = $(LINK)
endif
tests_vkd3d_api_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS) tests_vkd3d_api_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
tests_vkd3d_api_LDADD = libvkd3d.la @DL_LIBS@ tests_vkd3d_api_LDADD = libvkd3d.la @DL_LIBS@
tests_vkd3d_shader_api_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS) tests_vkd3d_shader_api_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)

View File

@ -8,6 +8,7 @@ AC_CONFIG_HEADERS(include/config.h)
AC_ARG_VAR([WIDL], [widl IDL compiler]) AC_ARG_VAR([WIDL], [widl IDL compiler])
AC_ARG_VAR([CROSSCC32], [32-bit Windows cross compiler]) AC_ARG_VAR([CROSSCC32], [32-bit Windows cross compiler])
AC_ARG_VAR([CROSSCC64], [64-bit Windows cross compiler]) AC_ARG_VAR([CROSSCC64], [64-bit Windows cross compiler])
AC_ARG_WITH([metal], AS_HELP_STRING([--with-metal], [Build with the Metal library (default: test)]))
AC_ARG_WITH([ncurses], AS_HELP_STRING([--with-ncurses], [Build with the ncurses library (default: test)])) AC_ARG_WITH([ncurses], AS_HELP_STRING([--with-ncurses], [Build with the ncurses library (default: test)]))
AC_ARG_WITH([opengl], AS_HELP_STRING([--with-opengl], [Build with the OpenGL library (default: test)])) AC_ARG_WITH([opengl], AS_HELP_STRING([--with-opengl], [Build with the OpenGL library (default: test)]))
AC_ARG_WITH([spirv-tools], AS_HELP_STRING([--with-spirv-tools], AC_ARG_WITH([spirv-tools], AS_HELP_STRING([--with-spirv-tools],
@ -134,6 +135,16 @@ AS_IF([test "x$SONAME_LIBDXCOMPILER" = "x"],
[VKD3D_CHECK_SONAME([dxcompiler], [DxcCreateInstance], [HAVE_DXCOMPILER=yes], [HAVE_DXCOMPILER=no], [$DXCOMPILER_LIBS])], [VKD3D_CHECK_SONAME([dxcompiler], [DxcCreateInstance], [HAVE_DXCOMPILER=yes], [HAVE_DXCOMPILER=no], [$DXCOMPILER_LIBS])],
[AC_DEFINE_UNQUOTED([SONAME_LIBDXCOMPILER],["$SONAME_LIBDXCOMPILER"],[Define to the shared object name of the dxcompiler library.])]) [AC_DEFINE_UNQUOTED([SONAME_LIBDXCOMPILER],["$SONAME_LIBDXCOMPILER"],[Define to the shared object name of the dxcompiler library.])])
AS_IF([test "x$with_metal" != "xno"],
[AC_MSG_CHECKING([for Metal])]
[AC_PREPROC_IFELSE([AC_LANG_PROGRAM([#include <Metal/Metal.h>])],
[AC_MSG_RESULT([yes])
AC_PROG_OBJC
AC_DEFINE([HAVE_METAL], [1], [Define to 1 if you have Metal.])
with_metal=yes],
[AC_MSG_RESULT([no])
AM_CONDITIONAL([am__fastdepOBJC], [false])
with_metal=no])])
AS_IF([test "x$with_ncurses" != "xno"], AS_IF([test "x$with_ncurses" != "xno"],
[PKG_CHECK_MODULES([NCURSES], [ncurses], [PKG_CHECK_MODULES([NCURSES], [ncurses],
[AC_DEFINE([HAVE_NCURSES], [1], [Define to 1 if you have ncurses.]) with_ncurses=yes], [AC_DEFINE([HAVE_NCURSES], [1], [Define to 1 if you have ncurses.]) with_ncurses=yes],
@ -181,6 +192,7 @@ AM_CONDITIONAL([BUILD_TESTS], [test "x$enable_tests" != "xno"])
AM_CONDITIONAL([HAVE_WIDL], [test "x$WIDL" != "xno"]) AM_CONDITIONAL([HAVE_WIDL], [test "x$WIDL" != "xno"])
AM_CONDITIONAL([HAVE_CROSSTARGET32], [test "x$CROSSTARGET32" != "xno"]) AM_CONDITIONAL([HAVE_CROSSTARGET32], [test "x$CROSSTARGET32" != "xno"])
AM_CONDITIONAL([HAVE_CROSSTARGET64], [test "x$CROSSTARGET64" != "xno"]) AM_CONDITIONAL([HAVE_CROSSTARGET64], [test "x$CROSSTARGET64" != "xno"])
AM_CONDITIONAL([HAVE_METAL], [test "${host_os#darwin}" != "$host_os"])
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT
@ -197,11 +209,12 @@ AS_ECHO(["
widl: ${WIDL} widl: ${WIDL}
Have dxcompiler: ${HAVE_DXCOMPILER}
Have Metal: ${with_metal}
Have ncurses: ${with_ncurses} Have ncurses: ${with_ncurses}
Have OpenGL: ${with_opengl} Have OpenGL: ${with_opengl}
Have SPIRV-Tools: ${with_spirv_tools} Have SPIRV-Tools: ${with_spirv_tools}
Have xcb: ${HAVE_XCB} Have xcb: ${HAVE_XCB}
Have dxcompiler: ${HAVE_DXCOMPILER}
Building demos: ${enable_demos} Building demos: ${enable_demos}
Building tests: ${enable_tests} Building tests: ${enable_tests}

View File

@ -8,8 +8,8 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.7 0.0 0.0 uniform 0 float4 0.1 0.7 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.7, 0.4, 0.4) probe (0, 0) rgba (0.1, 0.7, 0.4, 0.4)
uniform 0 float4 -0.7 0.1 0.0 0.0 uniform 0 float4 -0.7 0.1 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.7, 0.1, 1.2, 0.4) probe (0, 0) rgba (0.7, 0.1, 1.2, 0.4)

View File

@ -11,17 +11,17 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.1 1.6 1.3 0.5 uniform 0 float4 -1.1 1.6 1.3 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
[test] [test]
uniform 0 float4 0.0 1.6 1.3 0.5 uniform 0 float4 0.0 1.6 1.3 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[test] [test]
uniform 0 float4 1.0 0.0 1.3 0.5 uniform 0 float4 1.0 0.0 1.3 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader] [pixel shader]
@ -34,12 +34,12 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
[test] [test]
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader] [pixel shader]
@ -53,11 +53,11 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 0.0 0.0 uniform 0 float4 1.0 2.0 0.0 0.0
uniform 4 float4 3.0 4.0 0.0 0.0 uniform 4 float4 3.0 4.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
[test] [test]
uniform 0 float4 1.0 2.0 0.0 0.0 uniform 0 float4 1.0 2.0 0.0 0.0
uniform 4 float4 0.0 4.0 0.0 0.0 uniform 4 float4 0.0 4.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)

View File

@ -8,7 +8,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.0 30.0 150.0 180.0 uniform 0 float4 0.0 30.0 150.0 180.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.52359877, 2.61799387, 3.14159265) probe (0, 0) rgba (0.0, 0.52359877, 2.61799387, 3.14159265)
@ -22,5 +22,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.0 0.78539816 1.57079632 2.35619449 uniform 0 float4 0.0 0.78539816 1.57079632 2.35619449
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 45.0, 90.0, 135.0) probe (0, 0) rgba (0.0, 45.0, 90.0, 135.0)

View File

@ -8,25 +8,25 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 1.0 1.0 1.0 uniform 0 float4 1.0 1.0 1.0 1.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 0.0 1.0 0.0 0.0 uniform 0 float4 0.0 1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 0.0 0.0 1.0 0.0 uniform 0 float4 0.0 0.0 1.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 0.0 0.0 0.0 1.0 uniform 0 float4 0.0 0.0 0.0 1.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
uniform 0 float4 -1.0 -1.0 -1.0 -1.0 uniform 0 float4 -1.0 -1.0 -1.0 -1.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -39,13 +39,13 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
uniform 0 float4 -1.0 0.0 0.0 0.0 uniform 0 float4 -1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
@ -60,27 +60,27 @@ float4 main() : sv_target
[test] [test]
if(sm<4) uniform 0 float4 1 1 1 1 if(sm<4) uniform 0 float4 1 1 1 1
if(sm>=4) uniform 0 uint4 1 1 1 1 if(sm>=4) uniform 0 uint4 1 1 1 1
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float4 1 0 0 0 if(sm<4) uniform 0 float4 1 0 0 0
if(sm>=4) uniform 0 uint4 1 0 0 0 if(sm>=4) uniform 0 uint4 1 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float4 0 1 0 0 if(sm<4) uniform 0 float4 0 1 0 0
if(sm>=4) uniform 0 uint4 0 1 0 0 if(sm>=4) uniform 0 uint4 0 1 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float4 0 0 1 0 if(sm<4) uniform 0 float4 0 0 1 0
if(sm>=4) uniform 0 uint4 0 0 1 0 if(sm>=4) uniform 0 uint4 0 0 1 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float4 0 0 0 1 if(sm<4) uniform 0 float4 0 0 0 1
if(sm>=4) uniform 0 uint4 0 0 0 1 if(sm>=4) uniform 0 uint4 0 0 0 1
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float4 0 0 0 0 if(sm<4) uniform 0 float4 0 0 0 0
if(sm>=4) uniform 0 uint4 0 0 0 0 if(sm>=4) uniform 0 uint4 0 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader] [pixel shader]
@ -94,9 +94,9 @@ float4 main() : sv_target
[test] [test]
if(sm<4) uniform 0 float4 1 0 0 0 if(sm<4) uniform 0 float4 1 0 0 0
if(sm>=4) uniform 0 uint4 1 0 0 0 if(sm>=4) uniform 0 uint4 1 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float4 0 0 0 0 if(sm<4) uniform 0 float4 0 0 0 0
if(sm>=4) uniform 0 uint4 0 0 0 0 if(sm>=4) uniform 0 uint4 0 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)

View File

@ -10,7 +10,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 5.0 15.0 0.0 0.0 uniform 0 float4 5.0 15.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (20.0, -10.0, 75.0, 0.33333333) 1 probe (0, 0) rgba (20.0, -10.0, 75.0, 0.33333333) 1
[pixel shader] [pixel shader]
@ -25,7 +25,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 5.0 15.0 0.0 0.0 uniform 0 float4 5.0 15.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0) 1 probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0) 1
[pixel shader] [pixel shader]
@ -40,7 +40,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 42.0 5.0 0.0 0.0 uniform 0 float4 42.0 5.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) 16 probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) 16
[pixel shader] [pixel shader]
@ -55,7 +55,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 45.0 5.0 0.0 0.0 uniform 0 float4 45.0 5.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader] [pixel shader]
@ -69,7 +69,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 5.0 -42.1 4.0 45.0 uniform 0 float4 5.0 -42.1 4.0 45.0
uniform 4 float4 15.0 -5.0 4.1 5.0 uniform 4 float4 15.0 -5.0 4.1 5.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, -2.1, 4.0, 0.0) 6 probe (0, 0) rgba (5.0, -2.1, 4.0, 0.0) 6
[require] [require]
@ -88,7 +88,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1e99, 1e99, 1e99, 1e99) probe (0, 0) rgba (1e99, 1e99, 1e99, 1e99)
[pixel shader] [pixel shader]
@ -103,7 +103,7 @@ float4 main() : sv_target
uniform 0 float4 1.00000007 -42.1 4.0 45.0 uniform 0 float4 1.00000007 -42.1 4.0 45.0
uniform 4 float4 1.625 -5.0 4.125 5.0 uniform 4 float4 1.625 -5.0 4.125 5.0
uniform 8 float4 1.00000007 -1.0 0.5 -0.5 uniform 8 float4 1.00000007 -1.0 0.5 -0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.62500024, 209.5, 17.0, 224.5) 1 probe (0, 0) rgba (2.62500024, 209.5, 17.0, 224.5) 1
% precise mad() is not allowed to fuse, even though unfused is less precise. % precise mad() is not allowed to fuse, even though unfused is less precise.
@ -120,7 +120,7 @@ float4 main() : sv_target
uniform 0 float4 1.00000007 -42.1 4.0 45.0 uniform 0 float4 1.00000007 -42.1 4.0 45.0
uniform 4 float4 1.625 -5.0 4.125 5.0 uniform 4 float4 1.625 -5.0 4.125 5.0
uniform 8 float4 1.00000007 -1.0 0.5 -0.5 uniform 8 float4 1.00000007 -1.0 0.5 -0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.62500048, 209.5, 17.0, 224.5) 1 probe (0, 0) rgba (2.62500048, 209.5, 17.0, 224.5) 1
[require] [require]

View File

@ -8,7 +8,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (20.0, -10.0, 75.0, 0.33333333) probe (0, 0) rgba (20.0, -10.0, 75.0, 0.33333333)
[pixel shader] [pixel shader]
@ -21,7 +21,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0) probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0)
[pixel shader] [pixel shader]
@ -34,7 +34,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) 16 probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) 16
[pixel shader] [pixel shader]
@ -47,7 +47,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader] [pixel shader]
@ -60,7 +60,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, -2.1, 4.0, 0.0) 6 probe (0, 0) rgba (5.0, -2.1, 4.0, 0.0) 6
[require] [require]
@ -77,5 +77,5 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1e99, 1e99, 1e99, 1e99) probe (0, 0) rgba (1e99, 1e99, 1e99, 1e99)

View File

@ -10,7 +10,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 5.0 16.0 0.0 0.0 uniform 0 float4 5.0 16.0 0.0 0.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (21.0, -11.0, 80.0, 0.0) probe (0, 0) rgba (21.0, -11.0, 80.0, 0.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -25,7 +25,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 5.0 16.0 0.0 0.0 uniform 0 float4 5.0 16.0 0.0 0.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0) probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -40,7 +40,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 42.0 5.0 0.0 0.0 uniform 0 float4 42.0 5.0 0.0 0.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (8.0, -8.0, -8.0, 8.0) probe (0, 0) rgba (8.0, -8.0, -8.0, 8.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -55,7 +55,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 42.0 5.0 0.0 0.0 uniform 0 float4 42.0 5.0 0.0 0.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -70,7 +70,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 45.0 5.0 0.0 0.0 uniform 0 float4 45.0 5.0 0.0 0.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (9.0, -9.0, -9.0, 9.0) probe (0, 0) rgba (9.0, -9.0, -9.0, 9.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -85,7 +85,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 45.0 5.0 0.0 0.0 uniform 0 float4 45.0 5.0 0.0 0.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader] [pixel shader]
@ -98,7 +98,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 5.0 -7.0 0.0 -10.0 uniform 0 float4 5.0 -7.0 0.0 -10.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 7.0, 0.0, 10.0) probe (0, 0) rgba (5.0, 7.0, 0.0, 10.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -117,7 +117,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 45.0 5.0 50.0 10.0 uniform 0 float4 45.0 5.0 50.0 10.0
uniform 4 float4 3.0 8.0 2.0 5.0 uniform 4 float4 3.0 8.0 2.0 5.0
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (9.0, 5.0, 1.0, 3.0) probe (0, 0) rgba (9.0, 5.0, 1.0, 3.0)
[require] [require]

View File

@ -8,7 +8,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (20.0, -10.0, 75.0, 0.0) probe (0, 0) rgba (20.0, -10.0, 75.0, 0.0)
[pixel shader] [pixel shader]
@ -21,7 +21,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0) probe (0, 0) rgba (5.0, 5.0, -5.0, 3.0)
[pixel shader] [pixel shader]
@ -34,7 +34,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (8.0, -8.0, -8.0, 8.0) probe (0, 0) rgba (8.0, -8.0, -8.0, 8.0)
[pixel shader] [pixel shader]
@ -47,7 +47,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0) probe (0, 0) rgba (2.0, -2.0, 2.0, -2.0)
[pixel shader] [pixel shader]
@ -60,7 +60,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (9.0, -9.0, -9.0, 9.0) probe (0, 0) rgba (9.0, -9.0, -9.0, 9.0)
[pixel shader] [pixel shader]
@ -73,7 +73,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]
@ -118,7 +118,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<6) probe (0,0) rgba (-2147483648.0, -2147483648.0, -2147483648.0, -2147483648.0) if(sm<6) probe (0,0) rgba (-2147483648.0, -2147483648.0, -2147483648.0, -2147483648.0)
if(sm>=6) probe (0,0) rgba (0.0, 0.0, 0.0, 0.0) if(sm>=6) probe (0,0) rgba (0.0, 0.0, 0.0, 0.0)
@ -134,5 +134,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 1.0, 3.0) probe (0, 0) rgba (2.0, 3.0, 1.0, 3.0)

View File

@ -11,7 +11,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (20.0, 4294967296.0, 75.0, 0.0) probe (0, 0) rgba (20.0, 4294967296.0, 75.0, 0.0)
[pixel shader] [pixel shader]
@ -24,7 +24,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 5.0, 4294967296.0, 3.0) probe (0, 0) rgba (5.0, 5.0, 4294967296.0, 3.0)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]

View File

@ -12,7 +12,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (25.0, 25.0, 25.0, 25.0) probe (0, 0) rgba (25.0, 25.0, 25.0, 25.0)
@ -78,7 +78,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (15.0, 26.0, 37.0, 48.0) probe (0, 0) rgba (15.0, 26.0, 37.0, 48.0)
@ -153,7 +153,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (136.0, 136.0, 136.0, 136.0) probe (0, 0) rgba (136.0, 136.0, 136.0, 136.0)
@ -171,5 +171,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (702.0, 702.0, 702.0, 702.0) probe (0, 0) rgba (702.0, 702.0, 702.0, 702.0)

View File

@ -14,7 +14,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)
@ -36,7 +36,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (61, 62, 63, 64) probe (0, 0) rgba (61, 62, 63, 64)
[pixel shader] [pixel shader]
@ -49,7 +49,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2, 3, 6, 1) probe (0, 0) rgba (2, 3, 6, 1)
% Additional level of indirection % Additional level of indirection
@ -64,7 +64,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2, 3, 6, 1) probe (0, 0) rgba (2, 3, 6, 1)
@ -88,5 +88,5 @@ uniform 4 float 0.0
uniform 8 float 0.0 uniform 8 float 0.0
uniform 12 float 0.0 uniform 12 float 0.0
uniform 16 float 42.0 uniform 16 float 42.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (42, 42, 42, 42) probe (0, 0) rgba (42, 42, 42, 42)

View File

@ -20,7 +20,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 123.0 -2.0 456 0.01 uniform 0 float4 123.0 -2.0 456 0.01
draw quad todo(msl) draw quad
probe (320,240) rgba (123.0, -2.0, 456.0, 0.01) probe (320,240) rgba (123.0, -2.0, 456.0, 0.01)
[pixel shader] [pixel shader]
@ -36,7 +36,7 @@ float4 main() : sv_target
uniform 0 float4 11 12 0 0 uniform 0 float4 11 12 0 0
uniform 4 float4 13 14 0 0 uniform 4 float4 13 14 0 0
uniform 8 float4 20 21 22 23 uniform 8 float4 20 21 22 23
draw quad todo(msl) draw quad
probe (320,240) rgba (13.0, 21.0, 0.0, 0.0) probe (320,240) rgba (13.0, 21.0, 0.0, 0.0)
[pixel shader fail] [pixel shader fail]

View File

@ -20,7 +20,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 int4 123 0xc00000 456 0x7fd69345 uniform 0 int4 123 0xc00000 456 0x7fd69345
draw quad todo(msl) draw quad
probe (320,240) rgba (123.0, 12582912.0, 456.0, 2144768896.0) probe (320,240) rgba (123.0, 12582912.0, 456.0, 2144768896.0)
[pixel shader] [pixel shader]
@ -36,7 +36,7 @@ float4 main() : sv_target
uniform 0 int4 11 12 0 0 uniform 0 int4 11 12 0 0
uniform 4 int4 13 14 0 0 uniform 4 int4 13 14 0 0
uniform 8 int4 20 21 22 23 uniform 8 int4 20 21 22 23
draw quad todo(msl) draw quad
probe (320,240) rgba (13.0, 21.0, 0.0, 0.0) probe (320,240) rgba (13.0, 21.0, 0.0, 0.0)

View File

@ -20,7 +20,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 uint4 123 0xc0000000 456 0x7fd69345 uniform 0 uint4 123 0xc0000000 456 0x7fd69345
draw quad todo(msl) draw quad
probe (320,240) rgba (123.0, 3221225472.0, 456.0, 2144768896.0) probe (320,240) rgba (123.0, 3221225472.0, 456.0, 2144768896.0)
@ -37,7 +37,7 @@ float4 main() : sv_target
uniform 0 uint4 11 12 0 0 uniform 0 uint4 11 12 0 0
uniform 4 uint4 13 14 0 0 uniform 4 uint4 13 14 0 0
uniform 8 uint4 20 21 22 23 uniform 8 uint4 20 21 22 23
draw quad todo(msl) draw quad
probe (320,240) rgba (13.0, 21.0, 0.0, 0.0) probe (320,240) rgba (13.0, 21.0, 0.0, 0.0)

View File

@ -15,7 +15,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 uint4 2 0 0 0 uniform 0 uint4 2 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (8, 8, 0, 0) probe (0, 0) rgba (8, 8, 0, 0)
[pixel shader] [pixel shader]
@ -35,7 +35,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 uint4 1 0 0 0 uniform 0 uint4 1 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2, -6, 2, -6) probe (0, 0) rgba (2, -6, 2, -6)
[pixel shader] [pixel shader]
@ -52,7 +52,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 uint4 3 0 0 0 uniform 0 uint4 3 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (280, 280, 0, 0) probe (0, 0) rgba (280, 280, 0, 0)
[pixel shader] [pixel shader]
@ -72,7 +72,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 uint4 2 0 0 0 uniform 0 uint4 2 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (20, -48, 20, -48) probe (0, 0) rgba (20, -48, 20, -48)
[pixel shader fail] [pixel shader fail]
@ -100,5 +100,5 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (55, 183, -16760, 0) probe (0, 0) rgba (55, 183, -16760, 0)

View File

@ -11,7 +11,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 163840.0, 480.0) probe (0, 0) rgba (0.0, 0.0, 163840.0, 480.0)
[pixel shader] [pixel shader]
@ -26,7 +26,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (-2147483648.0, 4.0, 2147483650.0, 4.0) probe (0, 0) rgba (-2147483648.0, 4.0, 2147483650.0, 4.0)
[pixel shader] [pixel shader]
@ -41,7 +41,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 536870912.0, 1.0, 1073741824.0) probe (0, 0) rgba (0.0, 536870912.0, 1.0, 1073741824.0)
[pixel shader] [pixel shader]
@ -54,7 +54,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 15.0, 10.0, -6.0) probe (0, 0) rgba (5.0, 15.0, 10.0, -6.0)
[pixel shader] [pixel shader]
@ -67,7 +67,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -80,7 +80,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -93,7 +93,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 0.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 0.0)
[pixel shader] [pixel shader]
@ -113,7 +113,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 0.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 0.0)
[pixel shader] [pixel shader]
@ -126,7 +126,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 163840.0, 480.0) probe (0, 0) rgba (0.0, 0.0, 163840.0, 480.0)
[pixel shader fail] [pixel shader fail]
@ -157,7 +157,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 15.0, 10.0, 4294967296.0) probe (0, 0) rgba (5.0, 15.0, 10.0, 4294967296.0)
[pixel shader] [pixel shader]
@ -170,7 +170,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -183,7 +183,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -196,7 +196,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 0.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 0.0)
[rtv 0] [rtv 0]

View File

@ -10,7 +10,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 1.0, 1.0)
@ -27,7 +27,7 @@ float4 main() : SV_TARGET
uniform 0 float4 0.0 0.0 2.0 4.0 uniform 0 float4 0.0 0.0 2.0 4.0
if(sm<4) uniform 4 float4 0 1 0 10 if(sm<4) uniform 4 float4 0 1 0 10
if(sm>=4) uniform 4 int4 0 1 0 10 if(sm>=4) uniform 4 int4 0 1 0 10
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.0, 10.0, 1.0, 11.0) probe (0, 0) rgba (0.0, 10.0, 1.0, 11.0)
@ -42,5 +42,5 @@ float4 main() : sv_target
[test] [test]
if(sm<4) uniform 0 float4 1.0 1.0 1.0 0.0 if(sm<4) uniform 0 float4 1.0 1.0 1.0 0.0
if(sm>=4) uniform 0 uint4 0x00000001 0x00000002 0x80000000 0x00000000 if(sm>=4) uniform 0 uint4 0x00000001 0x00000002 0x80000000 0x00000000
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 2.0, 0.0) probe (0, 0) rgba (2.0, 2.0, 2.0, 0.0)

View File

@ -49,5 +49,5 @@ float4 main(struct input i) : sv_target
} }
[test] [test]
draw triangle strip 4 todo(msl) draw triangle strip 4
probe (0, 0, 640, 480) rgba (0.0, 2.0, 2.0, 2.0) probe (0, 0, 640, 480) rgba (0.0, 2.0, 2.0, 2.0)

View File

@ -19,7 +19,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (84.0, 84.0, 84.0, 84.0) probe (0, 0) rgba (84.0, 84.0, 84.0, 84.0)
@ -94,5 +94,5 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (33.0, 33.0, 33.0, 33.0) probe (0, 0) rgba (33.0, 33.0, 33.0, 33.0)

View File

@ -16,7 +16,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 1.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 1.0)
@ -39,7 +39,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 6.0, 7.0, 8.0) probe (0, 0) rgba (5.0, 6.0, 7.0, 8.0)
@ -55,7 +55,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
@ -86,7 +86,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (7.0, 7.0, 7.0, 7.0) probe (0, 0) rgba (7.0, 7.0, 7.0, 7.0)
@ -119,7 +119,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.0, 3.0, 3.0, 3.0) probe (0, 0) rgba (3.0, 3.0, 3.0, 3.0)
@ -159,7 +159,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 20.0, 30.0, 30.0) probe (0, 0) rgba (10.0, 20.0, 30.0, 30.0)
@ -181,7 +181,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 11.4, 12.4) probe (0, 0) rgba (10.0, 10.0, 11.4, 12.4)
@ -197,7 +197,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (11.0, 12.0, 13.0, 14.0) probe (0, 0) rgba (11.0, 12.0, 13.0, 14.0)
@ -220,7 +220,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21.0, 22.0, 23.0, 24.0) probe (0, 0) rgba (21.0, 22.0, 23.0, 24.0)
@ -236,7 +236,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (31.0, 32.0, 33.0, 33.0) probe (0, 0) rgba (31.0, 32.0, 33.0, 33.0)
@ -258,7 +258,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (41.0, 42.0, 43.0, 44.0) probe (0, 0) rgba (41.0, 42.0, 43.0, 44.0)
@ -297,7 +297,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (55.0, 56.0, 57.0, 58.0) probe (0, 0) rgba (55.0, 56.0, 57.0, 58.0)
@ -329,7 +329,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (61.0, 62.0, 63.0, 64.0) probe (0, 0) rgba (61.0, 62.0, 63.0, 64.0)
@ -355,7 +355,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (71.0, 72.0, 73.0, 74.0) probe (0, 0) rgba (71.0, 72.0, 73.0, 74.0)
@ -404,7 +404,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (81.0, 82.0, 83.0, 84.0) probe (0, 0) rgba (81.0, 82.0, 83.0, 84.0)
@ -420,7 +420,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (91.0, 92.0, 93.0, 0.0) probe (0, 0) rgba (91.0, 92.0, 93.0, 0.0)
@ -436,7 +436,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (11.0, 12.0, 13.0, 0.0) probe (0, 0) rgba (11.0, 12.0, 13.0, 0.0)
@ -477,7 +477,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21.0, 22.0, 23.0, 24.0) probe (0, 0) rgba (21.0, 22.0, 23.0, 24.0)
@ -499,7 +499,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (31.0, 32.0, 33.0, 0.0) probe (0, 0) rgba (31.0, 32.0, 33.0, 0.0)
@ -521,7 +521,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (41.0, 42.0, 43.0, 0.0) probe (0, 0) rgba (41.0, 42.0, 43.0, 0.0)
@ -537,7 +537,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (51.0, 52.0, 53.0, 0.0) probe (0, 0) rgba (51.0, 52.0, 53.0, 0.0)
@ -564,7 +564,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (61.0, 62.0, 63.0, 0.0) probe (0, 0) rgba (61.0, 62.0, 63.0, 0.0)
@ -580,5 +580,5 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (71.0, 72.0, 73.0, 0.0) probe (0, 0) rgba (71.0, 72.0, 73.0, 0.0)

View File

@ -50,7 +50,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 1.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 1.0)
@ -89,7 +89,7 @@ float4 main() : sv_target
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 6.0, 7.0, 8.0) probe (0, 0) rgba (5.0, 6.0, 7.0, 8.0)
@ -120,7 +120,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (4.0, 4.0, 4.0, 4.0) probe (0, 0) rgba (4.0, 4.0, 4.0, 4.0)
@ -154,7 +154,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.0, 5.0, 5.0, 5.0) probe (0, 0) rgba (5.0, 5.0, 5.0, 5.0)
@ -199,7 +199,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (71.0, 73.0, 73.0, 74.0) probe (0, 0) rgba (71.0, 73.0, 73.0, 74.0)

View File

@ -18,7 +18,7 @@ if(sm>=4) uniform 0 int -1
if(sm>=4) uniform 1 uint 3 if(sm>=4) uniform 1 uint 3
if(sm>=4) uniform 2 int -2 if(sm>=4) uniform 2 int -2
if(sm>=4) uniform 3 float 0.5 if(sm>=4) uniform 3 float 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)
@ -33,5 +33,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)

View File

@ -18,7 +18,7 @@ if(sm>=4) uniform 0 int -1
if(sm>=4) uniform 1 uint 3 if(sm>=4) uniform 1 uint 3
if(sm>=4) uniform 2 int -2 if(sm>=4) uniform 2 int -2
if(sm>=4) uniform 3 float 0.5 if(sm>=4) uniform 3 float 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)
@ -33,5 +33,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)

View File

@ -10,7 +10,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 10.3 11.5 12.8 13.1 uniform 0 float4 10.3 11.5 12.8 13.1
draw quad todo(msl) draw quad
probe (0, 0) rgba (10, 11, 12, 0) probe (0, 0) rgba (10, 11, 12, 0)
@ -40,7 +40,7 @@ if(sm>=4) uniform 0 float 2.6
if(sm>=4) uniform 1 int -2 if(sm>=4) uniform 1 int -2
if(sm>=4) uniform 2 int -2 if(sm>=4) uniform 2 int -2
if(sm>=4) uniform 3 float -3.6 if(sm>=4) uniform 3 float -3.6
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)
@ -61,6 +61,6 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<4) todo probe (0,0) rgba (0.5, 4.2949673e+009, 0.5, 0.5) if(sm<4) todo probe (0,0) rgba (0.5, 4.2949673e+009, 0.5, 0.5)
if(sm>=4) probe (0,0) rgba (0.5, 0.5, 0.5, 0.5) if(sm>=4) probe (0,0) rgba (0.5, 0.5, 0.5, 0.5)

View File

@ -25,7 +25,7 @@ uniform 0 float 2.6
uniform 1 int 2 uniform 1 int 2
uniform 2 int -2 uniform 2 int -2
uniform 3 float -3.6 uniform 3 float -3.6
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)
@ -46,5 +46,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)

View File

@ -13,7 +13,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[pixel shader fail(sm>=6)] [pixel shader fail(sm>=6)]
@ -61,7 +61,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[pixel shader fail(sm>=6)] [pixel shader fail(sm>=6)]
@ -83,7 +83,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[pixel shader] [pixel shader]
@ -97,7 +97,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[pixel shader fail] [pixel shader fail]
@ -150,7 +150,7 @@ uniform 0 float4 0.0 1.0 2.0 3.0
uniform 4 float4 4.0 5.0 6.0 7.0 uniform 4 float4 4.0 5.0 6.0 7.0
uniform 8 float4 8.0 9.0 10.0 11.0 uniform 8 float4 8.0 9.0 10.0 11.0
uniform 12 float4 12.0 13.0 14.0 15.0 uniform 12 float4 12.0 13.0 14.0 15.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 2.0, 4.0, 8.0) probe (0, 0) rgba (0.0, 2.0, 4.0, 8.0)
@ -171,7 +171,7 @@ float4 main() : sv_target
uniform 0 float4 0.0 1.0 2.0 3.0 uniform 0 float4 0.0 1.0 2.0 3.0
uniform 4 float4 4.0 5.0 6.0 7.0 uniform 4 float4 4.0 5.0 6.0 7.0
uniform 8 float4 8.0 9.0 10.0 11.0 uniform 8 float4 8.0 9.0 10.0 11.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 4.0, 8.0, 9.0) probe (0, 0) rgba (0.0, 4.0, 8.0, 9.0)
@ -197,7 +197,7 @@ uniform 0 float4 0.0 1.0 2.0 3.0
uniform 4 float4 4.0 5.0 6.0 7.0 uniform 4 float4 4.0 5.0 6.0 7.0
uniform 8 float4 8.0 9.0 10.0 11.0 uniform 8 float4 8.0 9.0 10.0 11.0
uniform 12 float4 12.0 13.0 14.0 15.0 uniform 12 float4 12.0 13.0 14.0 15.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 4.0, 5.0, 6.0) probe (0, 0) rgba (0.0, 4.0, 5.0, 6.0)
@ -246,7 +246,7 @@ float4 main() : sv_target
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
uniform 8 float4 9.0 10.0 11.0 12.0 uniform 8 float4 9.0 10.0 11.0 12.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (509, 610, 711, 812) probe (0, 0) rgba (509, 610, 711, 812)
@ -274,7 +274,7 @@ uniform 0 float4 0.0 1.0 2.0 3.0
uniform 4 float4 4.0 5.0 6.0 7.0 uniform 4 float4 4.0 5.0 6.0 7.0
uniform 8 float4 8.0 9.0 10.0 11.0 uniform 8 float4 8.0 9.0 10.0 11.0
uniform 12 float4 12.0 13.0 14.0 15.0 uniform 12 float4 12.0 13.0 14.0 15.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (12468.0, 13509.0, 14010.0, 15011.0) probe (0, 0) rgba (12468.0, 13509.0, 14010.0, 15011.0)
@ -291,7 +291,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 2.0, 3.0) probe (0, 0) rgba (2.0, 3.0, 2.0, 3.0)
@ -396,7 +396,7 @@ float4 main() : sv_target
uniform 0 float 1.0 uniform 0 float 1.0
uniform 1 float 2.0 uniform 1 float 2.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (512.0, 612.0, 712.0, 812.0) probe (0, 0) rgba (512.0, 612.0, 712.0, 812.0)
@ -427,7 +427,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.0, 4.0, 3.0, 4.0) probe (0, 0) rgba (3.0, 4.0, 3.0, 4.0)
@ -569,7 +569,7 @@ float4 main() : sv_target
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
uniform 4 float4 0.0 2.0 0.0 0.0 uniform 4 float4 0.0 2.0 0.0 0.0
uniform 8 float4 0.0 0.0 3.0 0.0 uniform 8 float4 0.0 0.0 3.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 0.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 0.0, 4.0)
@ -619,7 +619,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
@ -767,7 +767,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 0.0 0.0 0.0 0.0 uniform 4 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]
@ -813,7 +813,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 0.1 0.2 0.3 0.4 uniform 4 float4 0.1 0.2 0.3 0.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.1, 2.2, 3.3, 4.4) probe (0, 0) rgba (1.1, 2.2, 3.3, 4.4)
@ -850,7 +850,7 @@ uniform 4 float4 4.0 5.0 6.0 7.0
uniform 8 float4 8.0 9.0 10.0 11.0 uniform 8 float4 8.0 9.0 10.0 11.0
uniform 12 float4 12.0 13.0 14.0 15.0 uniform 12 float4 12.0 13.0 14.0 15.0
uniform 16 float4 16.0 17.0 18.0 19.0 uniform 16 float4 16.0 17.0 18.0 19.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (124.0, 135.0, 146.0, 150.5) probe (0, 0) rgba (124.0, 135.0, 146.0, 150.5)
[require] [require]

View File

@ -5,7 +5,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 7.0, 8.0, 4.0) 4 probe (0, 0) rgba (0.0, 7.0, 8.0, 4.0) 4
[pixel shader] [pixel shader]
@ -18,7 +18,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 7.5 3.4 uniform 0 float4 -0.5 6.5 7.5 3.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 7.0, 8.0, 4.0) 4 probe (0, 0) rgba (0.0, 7.0, 8.0, 4.0) 4
[pixel shader] [pixel shader]
@ -34,7 +34,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 7.5 3.4 uniform 0 float4 -0.5 6.5 7.5 3.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (7.0, 8.0, 0.0, 4.0) 4 probe (0, 0) rgba (7.0, 8.0, 0.0, 4.0) 4
[pixel shader] [pixel shader]
@ -51,5 +51,5 @@ float4 main() : sv_target
[test] [test]
if(sm<4) uniform 0 float4 -1 6 7 3 if(sm<4) uniform 0 float4 -1 6 7 3
if(sm>=4) uniform 0 int4 -1 6 7 3 if(sm>=4) uniform 0 int4 -1 6 7 3
draw quad todo(msl) draw quad
probe (0, 0) rgba (6.0, 7.0, -1.0, 3.0) 4 probe (0, 0) rgba (6.0, 7.0, -1.0, 3.0) 4

View File

@ -124,8 +124,8 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -2.0 0.0 0.0 0.0 uniform 0 float4 -2.0 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
uniform 0 float4 -0.0 0.0 0.0 0.0 uniform 0 float4 -0.0 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)

View File

@ -8,7 +8,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.3 -0.1 0.7 0.0 uniform 0 float4 -0.3 -0.1 0.7 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.1, 0.7, -0.3, 0.3) probe (0, 0) rgba (-0.1, 0.7, -0.3, 0.3)
@ -24,7 +24,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.5, 5.0, 4.2, 5.2) probe (0, 0) rgba (5.5, 5.0, 4.2, 5.2)

View File

@ -9,20 +9,20 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1 2 3 4 uniform 0 float4 1 2 3 4
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4) probe (0, 0) rgba (1, 2, 3, 4)
uniform 0 float4 9 8 7 6 uniform 0 float4 9 8 7 6
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 8, 7, 6) probe (0, 0) rgba (9, 8, 7, 6)
uniform 0 float4 -1 8 7 6 uniform 0 float4 -1 8 7 6
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 8, 7, 6) probe (0, 0) rgba (9, 8, 7, 6)
uniform 0 float4 9 0 7 6 uniform 0 float4 9 0 7 6
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 0, 7, 6) probe (0, 0) rgba (9, 0, 7, 6)
uniform 0 float4 3 -8 3 0 uniform 0 float4 3 -8 3 0
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 0, 7, 6) probe (0, 0) rgba (9, 0, 7, 6)
uniform 0 float4 3 3 3 -1 uniform 0 float4 3 3 3 -1
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (9, 0, 7, 6) probe (0, 0) rgba (9, 0, 7, 6)

View File

@ -45,7 +45,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0, 0, 0, 1) probe (0, 0) rgba (0, 0, 0, 1)
@ -61,7 +61,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.5 0.0 0.0 0.0 uniform 0 float4 0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 1.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 1.5)
@ -77,7 +77,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<4) todo probe (0, 0) rgba (1, 1, 1, 11) if(sm<4) todo probe (0, 0) rgba (1, 1, 1, 11)
if(sm>=4) probe (0, 0) rgba (10, 10, 10, 11) if(sm>=4) probe (0, 0) rgba (10, 10, 10, 11)
@ -92,7 +92,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<4) todo probe (0, 0) rgba (1, 1, 1, 11) if(sm<4) todo probe (0, 0) rgba (1, 1, 1, 11)
if(sm>=4) probe (0, 0) rgba (10, 10, 10, 11) if(sm>=4) probe (0, 0) rgba (10, 10, 10, 11)
@ -107,7 +107,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (21, 21, 21, 11) probe (0, 0) rgba (21, 21, 21, 11)
@ -123,7 +123,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<4) probe (0, 0) rgba (102, 102, 102, 111) if(sm<4) probe (0, 0) rgba (102, 102, 102, 111)
if(sm>=4) probe (0, 0) rgba (12, 12, 12, 111) if(sm>=4) probe (0, 0) rgba (12, 12, 12, 111)
@ -139,7 +139,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (104, 104, 104, 111) probe (0, 0) rgba (104, 104, 104, 111)
@ -163,7 +163,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1, 1, 1, 11) probe (0, 0) rgba (1, 1, 1, 11)

View File

@ -6,5 +6,5 @@ float4 main(): sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.6, 0.7, 0.8, 0.9) probe (0, 0) rgba (0.6, 0.7, 0.8, 0.9)

View File

@ -11,10 +11,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.9, 0.8, 0.7, 0.6) probe (0, 0) rgba (0.9, 0.8, 0.7, 0.6)
uniform 0 float4 0.1 0.0 0.0 0.0 uniform 0 float4 0.1 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4) probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -43,7 +43,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.9, 0.8, 0.7, 0.6) probe (0, 0) rgba (0.9, 0.8, 0.7, 0.6)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]
@ -87,10 +87,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float -2 uniform 0 float -2
draw quad todo(msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4) probe (0, 0) rgba (1, 2, 3, 4)
uniform 0 float 10 uniform 0 float 10
draw quad todo(msl) draw quad
probe (0, 0) rgba (10, 20, 30, 40) probe (0, 0) rgba (10, 20, 30, 40)
@ -108,7 +108,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.9, 0.8, 0.7, 0.6) probe (0, 0) rgba (0.9, 0.8, 0.7, 0.6)
[pixel shader] [pixel shader]
@ -125,7 +125,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (9.0, 10.0, 11.0, 12.0) probe (0, 0) rgba (9.0, 10.0, 11.0, 12.0)
@ -145,19 +145,19 @@ if(sm<4) uniform 0 float 8
if(sm<4) uniform 4 float 9 if(sm<4) uniform 4 float 9
if(sm>=4) uniform 0 int 8 if(sm>=4) uniform 0 int 8
if(sm>=4) uniform 1 int 9 if(sm>=4) uniform 1 int 9
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0) probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0)
if(sm<4) uniform 0 float -3 if(sm<4) uniform 0 float -3
if(sm<4) uniform 4 float -4 if(sm<4) uniform 4 float -4
if(sm>=4) uniform 0 int -3 if(sm>=4) uniform 0 int -3
if(sm>=4) uniform 1 int -4 if(sm>=4) uniform 1 int -4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float 7 if(sm<4) uniform 0 float 7
if(sm<4) uniform 4 float 7 if(sm<4) uniform 4 float 7
if(sm>=4) uniform 0 int 7 if(sm>=4) uniform 0 int 7
if(sm>=4) uniform 1 int 7 if(sm>=4) uniform 1 int 7
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
@ -177,19 +177,19 @@ if(sm<4) uniform 0 float 8
if(sm<4) uniform 4 float 9 if(sm<4) uniform 4 float 9
if(sm>=4) uniform 0 int 8 if(sm>=4) uniform 0 int 8
if(sm>=4) uniform 1 int 9 if(sm>=4) uniform 1 int 9
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0) probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0)
if(sm<4) uniform 0 float -3 if(sm<4) uniform 0 float -3
if(sm<4) uniform 4 float -4 if(sm<4) uniform 4 float -4
if(sm>=4) uniform 0 int -3 if(sm>=4) uniform 0 int -3
if(sm>=4) uniform 1 int -4 if(sm>=4) uniform 1 int -4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
if(sm<4) uniform 0 float 7 if(sm<4) uniform 0 float 7
if(sm<4) uniform 4 float 7 if(sm<4) uniform 4 float 7
if(sm>=4) uniform 0 int 7 if(sm>=4) uniform 0 int 7
if(sm>=4) uniform 1 int 7 if(sm>=4) uniform 1 int 7
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0) probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0)
@ -209,13 +209,13 @@ if(sm<4) uniform 0 float -3
if(sm<4) uniform 4 float -2 if(sm<4) uniform 4 float -2
if(sm>=4) uniform 0 int -3 if(sm>=4) uniform 0 int -3
if(sm>=4) uniform 1 int -2 if(sm>=4) uniform 1 int -2
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0) probe (0, 0) rgba (-1.0, -1.0, -1.0, -1.0)
if(sm<4) uniform 0 float 4 if(sm<4) uniform 0 float 4
if(sm<4) uniform 4 float 4 if(sm<4) uniform 4 float 4
if(sm>=4) uniform 0 int 4 if(sm>=4) uniform 0 int 4
if(sm>=4) uniform 1 int 4 if(sm>=4) uniform 1 int 4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
@ -243,10 +243,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float -2 uniform 0 float -2
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 4.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 4.0)
uniform 0 float 4 uniform 0 float 4
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
@ -267,11 +267,11 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 2 uniform 0 float 2
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 4.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 4.0)
uniform 0 float 1 uniform 0 float 1
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 0.0, 0.0, 4.0) probe (0, 0) rgba (1.0, 0.0, 0.0, 4.0)
uniform 0 float 0 uniform 0 float 0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 0.0, 4.0) probe (0, 0) rgba (1.0, 1.0, 0.0, 4.0)

View File

@ -10,7 +10,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 0.1 0.2 0.3 0.4 uniform 4 float4 0.1 0.2 0.3 0.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.1, 2.2, 3.3, 4.4) probe (0, 0) rgba (1.1, 2.2, 3.3, 4.4)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]

View File

@ -14,11 +14,11 @@ float4 main(out uint sample_mask : SV_Coverage) : SV_Target
[test] [test]
clear rtv 0 0.0 0.0 0.0 0.0 clear rtv 0 0.0 0.0 0.0 0.0
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5) probe (0, 0) rgba (0.5, 0.5, 0.5, 0.5)
sample mask 0x0b sample mask 0x0b
clear rtv 0 0.0 0.0 0.0 0.0 clear rtv 0 0.0 0.0 0.0 0.0
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.25, 0.25, 0.25, 0.25) probe (0, 0) rgba (0.25, 0.25, 0.25, 0.25)

View File

@ -12,7 +12,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1 -2 3 4 uniform 0 float4 1 -2 3 4
uniform 4 float4 10 100 1000 10000 uniform 4 float4 10 100 1000 10000
draw quad todo(msl) draw quad
probe (0, 0) rgba (-2300, -970, 120, 0) probe (0, 0) rgba (-2300, -970, 120, 0)
@ -29,5 +29,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1 -2 3 4 uniform 0 float4 1 -2 3 4
draw quad todo(msl) draw quad
probe (0, 0) rgba (-20, 8, 12, 3.5) probe (0, 0) rgba (-20, 8, 12, 3.5)

View File

@ -11,7 +11,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 7.5 3.4 uniform 0 float4 -0.5 6.5 7.5 3.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1912.0, 1657.0, -127.0, 867.0) 1 probe (0, 0) rgba (1912.0, 1657.0, -127.0, 867.0) 1
[pixel shader] [pixel shader]
@ -24,5 +24,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 7.5 3.4 uniform 0 float4 -0.5 6.5 7.5 3.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (-127.0, -127.0, -127.0, -127.0) 1 probe (0, 0) rgba (-127.0, -127.0, -127.0, -127.0) 1

View File

@ -8,7 +8,7 @@ float4 main(float4 pos : sv_position) : sv_target
} }
[test] [test]
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0, 640, 480) rgba (1.0, 1.0, 0.0, 0.0) probe (0, 0, 640, 480) rgba (1.0, 1.0, 0.0, 0.0)
@ -29,7 +29,7 @@ float4 main(float4 pos : sv_position) : sv_target
} }
[test] [test]
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
todo(sm<4) probe (10, 10) rgba (-16.0, -5.0, 3.0, 0.0) todo(sm<4) probe (10, 10) rgba (-16.0, -5.0, 3.0, 0.0)
todo(sm<4) probe (11, 10) rgba (-21.0, -5.0, 3.0, 0.0) todo(sm<4) probe (11, 10) rgba (-21.0, -5.0, 3.0, 0.0)
todo(sm<4) probe (10, 11) rgba (-13.0, -5.0, 3.0, 0.0) todo(sm<4) probe (10, 11) rgba (-13.0, -5.0, 3.0, 0.0)
@ -55,7 +55,7 @@ float4 main(float4 pos : sv_position) : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (10, 10) rgba (-16.0, -5.0, 3.0, 0.0) probe (10, 10) rgba (-16.0, -5.0, 3.0, 0.0)
probe (11, 10) rgba (-21.0, -5.0, 3.0, 0.0) probe (11, 10) rgba (-21.0, -5.0, 3.0, 0.0)
probe (10, 11) rgba (-13.0, -5.0, 3.0, 0.0) probe (10, 11) rgba (-13.0, -5.0, 3.0, 0.0)
@ -74,7 +74,7 @@ float4 main(float4 pos : sv_position) : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (10, 10) rgba (-0.524999976, -0.164999843, 0.104999900, 0.0) 16 probe (10, 10) rgba (-0.524999976, -0.164999843, 0.104999900, 0.0) 16
probe (11, 10) rgba (-0.689999819, -0.164999843, 0.114999890, 0.0) 32 probe (11, 10) rgba (-0.689999819, -0.164999843, 0.114999890, 0.0) 32
probe (10, 11) rgba (-0.420000076, -0.154999852, 0.104999900, 0.0) 32 probe (10, 11) rgba (-0.420000076, -0.154999852, 0.104999900, 0.0) 32

View File

@ -17,7 +17,7 @@ if(sm<4) uniform 8 float4 10 20 0 0
if(sm>=4) uniform 0 float4 10 20 0 0 if(sm>=4) uniform 0 float4 10 20 0 0
if(sm>=4) uniform 4 float4 10 30 50 70 if(sm>=4) uniform 4 float4 10 30 50 70
if(sm>=4) uniform 8 float4 20 40 60 80 if(sm>=4) uniform 8 float4 20 40 60 80
draw quad todo(msl) draw quad
probe (0, 0) rgba (10, 20, 50, 60) probe (0, 0) rgba (10, 20, 50, 60)
@ -57,7 +57,7 @@ float4 main() : sv_target { return b; }
[test] [test]
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (10, 20, 30, 40) probe (0, 0) rgba (10, 20, 30, 40)
@ -71,7 +71,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (20, 40, 60, 80) probe (0, 0) rgba (20, 40, 60, 80)
@ -88,7 +88,7 @@ if(sm<4) uniform 0 float4 10 20 30 40
if(sm<4) uniform 4 float4 50 60 70 80 if(sm<4) uniform 4 float4 50 60 70 80
if(sm>=4) uniform 0 int4 10 20 30 40 if(sm>=4) uniform 0 int4 10 20 30 40
if(sm>=4) uniform 4 int4 50 60 70 80 if(sm>=4) uniform 4 int4 50 60 70 80
draw quad todo(msl) draw quad
probe (0, 0) rgba (100, 120, 140, 160) probe (0, 0) rgba (100, 120, 140, 160)
@ -111,7 +111,7 @@ if(sm<4) uniform 8 float4 70 90 0 0
if(sm<4) uniform 12 float4 80 100 0 0 if(sm<4) uniform 12 float4 80 100 0 0
if(sm>=4) uniform 8 int4 70 90 0 0 if(sm>=4) uniform 8 int4 70 90 0 0
if(sm>=4) uniform 12 int4 80 100 0 0 if(sm>=4) uniform 12 int4 80 100 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (70, 80, 90, 100) probe (0, 0) rgba (70, 80, 90, 100)
@ -134,7 +134,7 @@ if(sm<4) uniform 8 float4 10 20 0 0
if(sm>=4) uniform 0 float4 10 20 0 0 if(sm>=4) uniform 0 float4 10 20 0 0
if(sm>=4) uniform 4 float4 10 30 50 70 if(sm>=4) uniform 4 float4 10 30 50 70
if(sm>=4) uniform 8 float4 20 40 60 80 if(sm>=4) uniform 8 float4 20 40 60 80
draw quad todo(msl) draw quad
probe (0, 0) rgba (10, 20, 50, 60) probe (0, 0) rgba (10, 20, 50, 60)
@ -170,7 +170,7 @@ float4 main() : sv_target { return b; }
[test] [test]
uniform 0 float4 10 20 30 40 uniform 0 float4 10 20 30 40
draw quad todo(msl) draw quad
probe (0, 0) rgba (10, 20, 30, 40) probe (0, 0) rgba (10, 20, 30, 40)
@ -190,7 +190,7 @@ float4 main() : sv_target
if(sm<4) uniform 0 float4 30 50 40 40 if(sm<4) uniform 0 float4 30 50 40 40
if(sm>=4) uniform 0 float4 10 20 0 0 if(sm>=4) uniform 0 float4 10 20 0 0
if(sm>=4) uniform 4 float4 30 50 40 40 if(sm>=4) uniform 4 float4 30 50 40 40
draw quad todo(msl) draw quad
probe (0, 0) rgba (60, 100, 80, 80) probe (0, 0) rgba (60, 100, 80, 80)
@ -216,7 +216,7 @@ if(sm<4) uniform 8 float4 70 90 0 0
if(sm<4) uniform 12 float4 80 100 0 0 if(sm<4) uniform 12 float4 80 100 0 0
if(sm>=4) uniform 8 int4 70 90 0 0 if(sm>=4) uniform 8 int4 70 90 0 0
if(sm>=4) uniform 12 int4 80 100 0 0 if(sm>=4) uniform 12 int4 80 100 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (70, 80, 90, 100) probe (0, 0) rgba (70, 80, 90, 100)

View File

@ -16,22 +16,22 @@ float main() : SV_Depth
uniform 0 float 0.0 uniform 0 float 0.0
clear dsv 1.0 clear dsv 1.0
depth less depth less
draw quad todo(msl) draw quad
probe dsv (0,0) r (0.0) probe dsv (0,0) r (0.0)
uniform 0 float 0.75 uniform 0 float 0.75
clear dsv 1.0 clear dsv 1.0
draw quad todo(msl) draw quad
probe dsv (0,0) r (0.75) probe dsv (0,0) r (0.75)
clear dsv 0.5 clear dsv 0.5
depth greater depth greater
draw quad todo(msl) draw quad
probe dsv (0,0) r (0.75) probe dsv (0,0) r (0.75)
depth less depth less
clear dsv 0.5 clear dsv 0.5
draw quad todo(msl) draw quad
probe dsv (0,0) r (0.5) probe dsv (0,0) r (0.5)

View File

@ -8,7 +8,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 9.0 2.0 3.0 4.0 uniform 0 float4 9.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (9.0, 9.0, 9.0, 9.0) probe (0, 0) rgba (9.0, 9.0, 9.0, 9.0)
[pixel shader] [pixel shader]
@ -21,7 +21,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -35,7 +35,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-4.0, -4.0, -4.0, -4.0) probe (0, 0) rgba (-4.0, -4.0, -4.0, -4.0)
[pixel shader] [pixel shader]
@ -49,7 +49,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -64,7 +64,7 @@ float4 main() : sv_target
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 -6.0 7.0 8.0 uniform 4 float4 5.0 -6.0 7.0 8.0
uniform 8 float4 9.0 10.0 11.0 12.0 uniform 8 float4 9.0 10.0 11.0 12.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (192.0, 192.0, 192.0, 192.0) probe (0, 0) rgba (192.0, 192.0, 192.0, 192.0)
[pixel shader] [pixel shader]
@ -80,7 +80,7 @@ uniform 0 float4 1.0 -2.0 3.0 4.0
uniform 4 float4 5.0 6.0 -7.0 8.0 uniform 4 float4 5.0 6.0 -7.0 8.0
uniform 8 float4 9.0 10.0 11.0 12.0 uniform 8 float4 9.0 10.0 11.0 12.0
uniform 12 float4 13.0 14.0 15.0 16.0 uniform 12 float4 13.0 14.0 15.0 16.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-672.0, -672.0, -672.0, -672.0) probe (0, 0) rgba (-672.0, -672.0, -672.0, -672.0)
[pixel shader] [pixel shader]
@ -96,7 +96,7 @@ uniform 0 float4 1.0 2.0 3.0 0.0
uniform 4 float4 5.0 -6.0 7.0 0.0 uniform 4 float4 5.0 -6.0 7.0 0.0
uniform 8 float4 9.0 10.0 11.0 0.0 uniform 8 float4 9.0 10.0 11.0 0.0
uniform 12 float4 0.0 0.0 0.0 0.0 uniform 12 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (192.0, 192.0, 192.0, 192.0) probe (0, 0) rgba (192.0, 192.0, 192.0, 192.0)
[pixel shader fail] [pixel shader fail]

View File

@ -10,10 +10,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1 2 3 4 uniform 0 float4 1 2 3 4
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4) probe (0, 0) rgba (1, 2, 3, 4)
uniform 0 float4 9 8 7 6 uniform 0 float4 9 8 7 6
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4) probe (0, 0) rgba (1, 2, 3, 4)
[require] [require]
@ -30,7 +30,7 @@ float4 main(float4 pos : sv_position) : sv_target
} }
[test] [test]
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (0, 0) rgba (1, 0, 0, 1) probe (0, 0) rgba (1, 0, 0, 1)
probe (1, 0) rgba (1, 2, 3, 4) probe (1, 0) rgba (1, 2, 3, 4)
probe (0, 1) rgba (1, 2, 3, 4) probe (0, 1) rgba (1, 2, 3, 4)

View File

@ -10,7 +10,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -2.0 3.0 4.0 0.1 uniform 0 float4 -2.0 3.0 4.0 0.1
uniform 4 float4 2.0 -1.0 4.0 5.0 uniform 4 float4 2.0 -1.0 4.0 5.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (7.483983, 7.483983, 7.483983, 7.483983) 1 probe (0, 0) rgba (7.483983, 7.483983, 7.483983, 7.483983) 1
[pixel shader] [pixel shader]
@ -34,7 +34,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 16 32 48 64 uniform 0 float4 16 32 48 64
uniform 4 float4 1.0 0.5 0.25 0.125 uniform 4 float4 1.0 0.5 0.25 0.125
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 16.0, 48.0, 0.125) probe (0, 0) rgba (1.0, 16.0, 48.0, 0.125)
[pixel shader] [pixel shader]
@ -44,7 +44,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
todo(sm>=6) draw quad todo(sm>=6 | msl) draw quad
probe (0, 0) rgba (1.0, 80.0, 3.0, 80.0) probe (0, 0) rgba (1.0, 80.0, 3.0, 80.0)
[pixel shader] [pixel shader]
@ -54,7 +54,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 304.0, 76.0, 4.0) probe (0, 0) rgba (1.0, 304.0, 76.0, 4.0)
[pixel shader fail] [pixel shader fail]

View File

@ -10,7 +10,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 3.0 4.0 5.0 uniform 0 float4 2.0 3.0 4.0 5.0
uniform 4 float4 10.0 11.0 12.0 13.0 uniform 4 float4 10.0 11.0 12.0 13.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (166.0, 166.0, 166.0, 166.0) probe (0, 0) rgba (166.0, 166.0, 166.0, 166.0)
[pixel shader] [pixel shader]
@ -25,7 +25,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 3.0 0.0 0.0 uniform 0 float4 2.0 3.0 0.0 0.0
uniform 4 float4 10.0 11.0 12.0 13.0 uniform 4 float4 10.0 11.0 12.0 13.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (53.0, 53.0, 53.0, 53.0) probe (0, 0) rgba (53.0, 53.0, 53.0, 53.0)
[pixel shader] [pixel shader]
@ -40,7 +40,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 0.0 0.0 0.0 uniform 0 float4 2.0 0.0 0.0 0.0
uniform 4 float4 10.0 11.0 12.0 13.0 uniform 4 float4 10.0 11.0 12.0 13.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0) probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0)
[pixel shader] [pixel shader]
@ -55,7 +55,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 10.0 11.0 12.0 13.0 uniform 0 float4 10.0 11.0 12.0 13.0
uniform 4 float4 2.0 0.0 0.0 0.0 uniform 4 float4 2.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0) probe (0, 0) rgba (92.0, 92.0, 92.0, 92.0)
[pixel shader] [pixel shader]
@ -71,7 +71,7 @@ float4 main() : SV_TARGET
% Account for both the SM1 and SM4 uniform layout % Account for both the SM1 and SM4 uniform layout
uniform 0 float4 2.0 3.0 0.0 0.0 uniform 0 float4 2.0 3.0 0.0 0.0
uniform 4 float4 3.0 0.0 0.0 0.0 uniform 4 float4 3.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (6.0, 6.0, 6.0, 6.0) probe (0, 0) rgba (6.0, 6.0, 6.0, 6.0)
[pixel shader] [pixel shader]
@ -84,7 +84,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (110.0, 110.0, 110.0, 110.0) probe (0, 0) rgba (110.0, 110.0, 110.0, 110.0)
[pixel shader fail] [pixel shader fail]

View File

@ -7,6 +7,6 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<6) probe (0,0) rgba (0.1, 0.2, 0.3, 0.4) if(sm<6) probe (0,0) rgba (0.1, 0.2, 0.3, 0.4)
if(sm>=6) probe (0,0) rgba (0.1, 0.3, 0.2, 0.4) if(sm>=6) probe (0,0) rgba (0.1, 0.3, 0.2, 0.4)

View File

@ -26,6 +26,6 @@ depth greater equal
clear rtv 0 0.0 0.0 0.0 0.0 clear rtv 0 0.0 0.0 0.0 0.0
clear dsv 0.5 clear dsv 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba(0, 0, 0, 0) probe (0, 0) rgba(0, 0, 0, 0)
probe uav 1 (0) r(0.0) probe uav 1 (0) r(0.0)

View File

@ -247,7 +247,7 @@ technique
float4 main() : sv_target { return 0; } float4 main() : sv_target { return 0; }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0, 0, 0, 0) probe (0, 0) rgba (0, 0, 0, 0)

View File

@ -36,7 +36,7 @@ float4 main(float tex : texcoord) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.2, 0.2, 0.2) probe (0, 0) rgba (0.2, 0.2, 0.2, 0.2)
[pixel shader] [pixel shader]
@ -49,7 +49,7 @@ float4 main(float tex : texcoord) : sv_target
float4 main(float tex : bogus) : bogus; float4 main(float tex : bogus) : bogus;
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.2, 0.2, 0.2) probe (0, 0) rgba (0.2, 0.2, 0.2, 0.2)
@ -85,7 +85,7 @@ float4 main(in apple a) : sv_target
} }
[test] [test]
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (10.0, 20.0, 30.0, 40.0) probe (0, 0) rgba (10.0, 20.0, 30.0, 40.0)
@ -102,7 +102,7 @@ float4 main(in apple a) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 11.0, 30.0, 31.0) probe (0, 0) rgba (10.0, 11.0, 30.0, 31.0)
@ -126,7 +126,7 @@ float4 main(in apple aps[2][2]) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 20.0, 20.0) probe (0, 0) rgba (10.0, 10.0, 20.0, 20.0)
@ -148,7 +148,7 @@ float4 main(in banana bans[2]) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
todo(sm>=6) probe (0, 0) rgba (10.0, 11.0, 20.0, 21.0) todo(sm>=6) probe (0, 0) rgba (10.0, 11.0, 20.0, 21.0)
@ -212,7 +212,7 @@ float4 main(in float4 tex0 : TEXCOORD0, in float4 tex1 : TEXCOORD1) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 10.0, 20.0) probe (0, 0) rgba (1.0, 2.0, 10.0, 20.0)
@ -275,7 +275,7 @@ float4 main(in float4 t1 : TEXCOORD0, in float4 t2 : TEXCOORD0) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
todo(sm>=6) probe (0, 0) rgba (99.0, 99.0, 10.0, 11.0) todo(sm>=6) probe (0, 0) rgba (99.0, 99.0, 10.0, 11.0)
@ -287,7 +287,7 @@ float4 main(in float4 a : TEXCOORD0, in float3 b : TEXCOORD1) : sv_target
} }
[test] [test]
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (10.0, 11.0, 20.0, 21.0) probe (0, 0) rgba (10.0, 11.0, 20.0, 21.0)

View File

@ -8,7 +8,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.0 0.0 1.0 2.0 uniform 0 float4 -1.0 0.0 1.0 2.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 1.0, 2.0, 4.0) 2 probe (0, 0) rgba (0.5, 1.0, 2.0, 4.0) 2
[pixel shader] [pixel shader]
@ -21,5 +21,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.0 0.0 1.0 2.0 uniform 0 float4 -1.0 0.0 1.0 2.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.36787948, 1.0, 2.7182815, 7.38905573) 2 probe (0, 0) rgba (0.36787948, 1.0, 2.7182815, 7.38905573) 2

View File

@ -9,7 +9,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (8.0, 8.0, 8.0, 8.0) probe (0, 0) rgba (8.0, 8.0, 8.0, 8.0)
@ -26,7 +26,7 @@ float4 main() : sv_target
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
uniform 8 float 2 uniform 8 float 2
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0) probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0)
@ -40,7 +40,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.0, 3.0, 3.0, 3.0) probe (0, 0) rgba (3.0, 3.0, 3.0, 3.0)
@ -56,10 +56,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float 0 uniform 4 float 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (4.0, 4.0, 4.0, 4.0) probe (0, 0) rgba (4.0, 4.0, 4.0, 4.0)
uniform 4 float 2 uniform 4 float 2
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
@ -78,7 +78,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (4.0, 4.0, 4.0, 4.0) probe (0, 0) rgba (4.0, 4.0, 4.0, 4.0)
@ -99,5 +99,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.0 2.0 3.0 4.0 uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float 1 uniform 4 float 1
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0) probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0)

View File

@ -11,77 +11,77 @@ float4 main() : sv_target
[test] [test]
uniform 0 uint 0x5140 uniform 0 uint 0x5140
draw quad todo(msl) draw quad
probe (0, 0) rgba(42.0, 42.0, 42.0, 42.0) probe (0, 0) rgba(42.0, 42.0, 42.0, 42.0)
% zero % zero
uniform 0 uint 0x0 uniform 0 uint 0x0
draw quad todo(msl) draw quad
probe (0, 0) rgba(0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba(0.0, 0.0, 0.0, 0.0)
% negative zero % negative zero
uniform 0 uint 0x8000 uniform 0 uint 0x8000
draw quad todo(msl) draw quad
probe (0, 0) rgba(-0.0, -0.0, -0.0, -0.0) probe (0, 0) rgba(-0.0, -0.0, -0.0, -0.0)
% subnormal number % subnormal number
uniform 0 uint 0x1 uniform 0 uint 0x1
draw quad todo(msl) draw quad
probe (0, 0) rgba(5.9604645e-08, 5.9604645e-08, 5.9604645e-08, 5.9604645e-08) probe (0, 0) rgba(5.9604645e-08, 5.9604645e-08, 5.9604645e-08, 5.9604645e-08)
% subnormal number % subnormal number
uniform 0 uint 0x2 uniform 0 uint 0x2
draw quad todo(msl) draw quad
probe (0, 0) rgba(1.1920929e-07, 1.1920929e-07, 1.1920929e-07, 1.1920929e-07) probe (0, 0) rgba(1.1920929e-07, 1.1920929e-07, 1.1920929e-07, 1.1920929e-07)
% subnormal number % subnormal number
uniform 0 uint 0x4 uniform 0 uint 0x4
draw quad todo(msl) draw quad
probe (0, 0) rgba(2.3841858e-07, 2.3841858e-07, 2.3841858e-07, 2.3841858e-07) probe (0, 0) rgba(2.3841858e-07, 2.3841858e-07, 2.3841858e-07, 2.3841858e-07)
% subnormal number % subnormal number
uniform 0 uint 0x8 uniform 0 uint 0x8
draw quad todo(msl) draw quad
probe (0, 0) rgba(4.7683716e-07, 4.7683716e-07, 4.7683716e-07, 4.7683716e-07) probe (0, 0) rgba(4.7683716e-07, 4.7683716e-07, 4.7683716e-07, 4.7683716e-07)
% subnormal number % subnormal number
uniform 0 uint 0x10 uniform 0 uint 0x10
draw quad todo(msl) draw quad
probe (0, 0) rgba(9.536743e-07, 9.536743e-07, 9.536743e-07, 9.536743e-07) probe (0, 0) rgba(9.536743e-07, 9.536743e-07, 9.536743e-07, 9.536743e-07)
% subnormal number % subnormal number
uniform 0 uint 0x20 uniform 0 uint 0x20
draw quad todo(msl) draw quad
probe (0, 0) rgba(1.9073486e-06, 1.9073486e-06, 1.9073486e-06, 1.9073486e-06) probe (0, 0) rgba(1.9073486e-06, 1.9073486e-06, 1.9073486e-06, 1.9073486e-06)
% subnormal number % subnormal number
uniform 0 uint 0x40 uniform 0 uint 0x40
draw quad todo(msl) draw quad
probe (0, 0) rgba(3.8146973e-06, 3.8146973e-06, 3.8146973e-06, 3.8146973e-06) probe (0, 0) rgba(3.8146973e-06, 3.8146973e-06, 3.8146973e-06, 3.8146973e-06)
% subnormal number % subnormal number
uniform 0 uint 0x80 uniform 0 uint 0x80
draw quad todo(msl) draw quad
probe (0, 0) rgba(7.6293945e-06, 7.6293945e-06, 7.6293945e-06, 7.6293945e-06) probe (0, 0) rgba(7.6293945e-06, 7.6293945e-06, 7.6293945e-06, 7.6293945e-06)
% subnormal number % subnormal number
uniform 0 uint 0x100 uniform 0 uint 0x100
draw quad todo(msl) draw quad
probe (0, 0) rgba(1.5258789e-05, 1.5258789e-05, 1.5258789e-05, 1.5258789e-05) probe (0, 0) rgba(1.5258789e-05, 1.5258789e-05, 1.5258789e-05, 1.5258789e-05)
% subnormal number % subnormal number
uniform 0 uint 0x200 uniform 0 uint 0x200
draw quad todo(msl) draw quad
probe (0, 0) rgba(3.0517578e-05, 3.0517578e-05, 3.0517578e-05, 3.0517578e-05) probe (0, 0) rgba(3.0517578e-05, 3.0517578e-05, 3.0517578e-05, 3.0517578e-05)
% I'd love to use rgba probes here but msvc doesn't scanf infinity :( % I'd love to use rgba probes here but msvc doesn't scanf infinity :(
% positive infinity % positive infinity
uniform 0 uint 0x7c00 uniform 0 uint 0x7c00
draw quad todo(msl) draw quad
probe (0, 0) rgbaui(0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000) probe (0, 0) rgbaui(0x7f800000, 0x7f800000, 0x7f800000, 0x7f800000)
% negative infinity % negative infinity
uniform 0 uint 0xfc00 uniform 0 uint 0xfc00
draw quad todo(msl) draw quad
probe (0, 0) rgbaui(0xff800000, 0xff800000, 0xff800000, 0xff800000) probe (0, 0) rgbaui(0xff800000, 0xff800000, 0xff800000, 0xff800000)

View File

@ -11,77 +11,77 @@ uint4 main() : sv_target
[test] [test]
uniform 0 float 42.0 uniform 0 float 42.0
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x5140, 0x5140, 0x5140, 0x5140) probe (0, 0) rgbaui (0x5140, 0x5140, 0x5140, 0x5140)
% zero % zero
uniform 0 float 0.0 uniform 0 float 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x0, 0x0, 0x0, 0x0) probe (0, 0) rgbaui (0x0, 0x0, 0x0, 0x0)
% negative zero % negative zero
uniform 0 uint 0x8000 uniform 0 uint 0x8000
draw quad todo(msl) draw quad
probe (0, 0) rgba(-0.0, -0.0, -0.0, -0.0) probe (0, 0) rgba(-0.0, -0.0, -0.0, -0.0)
% subnormal number % subnormal number
uniform 0 float 5.9604645e-08 uniform 0 float 5.9604645e-08
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x1, 0x1, 0x1, 0x1) probe (0, 0) rgbaui (0x1, 0x1, 0x1, 0x1)
% subnormal number % subnormal number
uniform 0 float 1.1920929e-07 uniform 0 float 1.1920929e-07
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x2, 0x2, 0x2, 0x2) probe (0, 0) rgbaui (0x2, 0x2, 0x2, 0x2)
% subnormal number % subnormal number
uniform 0 float 2.3841858e-07 uniform 0 float 2.3841858e-07
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x4, 0x4, 0x4, 0x4) probe (0, 0) rgbaui (0x4, 0x4, 0x4, 0x4)
% subnormal number % subnormal number
uniform 0 float 4.7683716e-07 uniform 0 float 4.7683716e-07
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x8, 0x8, 0x8, 0x8) probe (0, 0) rgbaui (0x8, 0x8, 0x8, 0x8)
% subnormal number % subnormal number
uniform 0 float 9.536743e-07 uniform 0 float 9.536743e-07
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x10, 0x10, 0x10, 0x10) probe (0, 0) rgbaui (0x10, 0x10, 0x10, 0x10)
% subnormal number % subnormal number
uniform 0 float 1.9073486e-06 uniform 0 float 1.9073486e-06
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x20, 0x20, 0x20, 0x20) probe (0, 0) rgbaui (0x20, 0x20, 0x20, 0x20)
% subnormal number % subnormal number
uniform 0 float 3.8146973e-06 uniform 0 float 3.8146973e-06
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x40, 0x40, 0x40, 0x40) probe (0, 0) rgbaui (0x40, 0x40, 0x40, 0x40)
% subnormal number % subnormal number
uniform 0 float 7.6293945e-06 uniform 0 float 7.6293945e-06
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x80, 0x80, 0x80, 0x80) probe (0, 0) rgbaui (0x80, 0x80, 0x80, 0x80)
% subnormal number % subnormal number
uniform 0 float 1.5258789e-05 uniform 0 float 1.5258789e-05
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x100, 0x100, 0x100, 0x100) probe (0, 0) rgbaui (0x100, 0x100, 0x100, 0x100)
% subnormal number % subnormal number
uniform 0 float 3.0517578e-05 uniform 0 float 3.0517578e-05
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x200, 0x200, 0x200, 0x200) probe (0, 0) rgbaui (0x200, 0x200, 0x200, 0x200)
% I'd love to use rgba probes here but msvc doesn't scanf infinity :( % I'd love to use rgba probes here but msvc doesn't scanf infinity :(
% positive infinity % positive infinity
uniform 0 uint 0x7f800000 uniform 0 uint 0x7f800000
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x7c00, 0x7c00, 0x7c00, 0x7c00) probe (0, 0) rgbaui (0x7c00, 0x7c00, 0x7c00, 0x7c00)
% negative infinity % negative infinity
uniform 0 uint 0xff800000 uniform 0 uint 0xff800000
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0xfc00, 0xfc00, 0xfc00, 0xfc00) probe (0, 0) rgbaui (0xfc00, 0xfc00, 0xfc00, 0xfc00)

View File

@ -12,41 +12,41 @@ float4 main() : sv_target
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 1.0 0.0 0.0 0.0 uniform 4 float4 1.0 0.0 0.0 0.0
uniform 8 float4 1.0 0.2 0.0 0.0 uniform 8 float4 1.0 0.2 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0) probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0)
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 1.0 0.0 0.0 0.0 uniform 4 float4 1.0 0.0 0.0 0.0
uniform 8 float4 1.0 -0.2 0.0 0.0 uniform 8 float4 1.0 -0.2 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0) probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0)
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 1.0 0.0 0.0 0.0 uniform 4 float4 1.0 0.0 0.0 0.0
uniform 8 float4 -1.0 0.0 0.0 0.0 uniform 8 float4 -1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 20.0, 30.0, 40.0) probe (0, 0) rgba (10.0, 20.0, 30.0, 40.0)
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 0.0 -1.0 0.0 0.0 uniform 4 float4 0.0 -1.0 0.0 0.0
uniform 8 float4 0.0 1.0 0.0 0.0 uniform 8 float4 0.0 1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 20.0, 30.0, 40.0) probe (0, 0) rgba (10.0, 20.0, 30.0, 40.0)
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 1.0 0.0 0.0 0.0 uniform 4 float4 1.0 0.0 0.0 0.0
uniform 8 float4 0.0 1.0 0.0 0.0 uniform 8 float4 0.0 1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0) probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0)
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 0.0 0.0 0.0 0.0 uniform 4 float4 0.0 0.0 0.0 0.0
uniform 8 float4 0.0 1.0 0.0 0.0 uniform 8 float4 0.0 1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0) probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0)
uniform 0 float4 10.0 20.0 30.0 40.0 uniform 0 float4 10.0 20.0 30.0 40.0
uniform 4 float4 0.0 0.0 0.0 0.0 uniform 4 float4 0.0 0.0 0.0 0.0
uniform 8 float4 0.0 0.0 0.0 0.0 uniform 8 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0) probe (0, 0) rgba (-10.0, -20.0, -30.0, -40.0)

View File

@ -9,7 +9,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.0 uniform 0 float 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0)
@ -55,7 +55,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.0 1.5 1.5 0.0 uniform 0 float4 0.0 1.5 1.5 0.0
draw quad todo(msl) draw quad
% SM1-3 apparently treats '0/0' as zero. % SM1-3 apparently treats '0/0' as zero.
if(sm<4) todo probe (0,0) rgba (1010101.0, 11001100.0, 1101001.0, 11.0) if(sm<4) todo probe (0,0) rgba (1010101.0, 11001100.0, 1101001.0, 11.0)
% SM4-5 optimises away the 'not' by inverting the condition, even though this is invalid for NaN. % SM4-5 optimises away the 'not' by inverting the condition, even though this is invalid for NaN.

View File

@ -5,7 +5,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.0, 6.0, 7.0, 3.0) 4 probe (0, 0) rgba (-1.0, 6.0, 7.0, 3.0) 4
[pixel shader] [pixel shader]
@ -18,7 +18,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 7.5 3.4 uniform 0 float4 -0.5 6.5 7.5 3.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.0, 6.0, 7.0, 3.0) 4 probe (0, 0) rgba (-1.0, 6.0, 7.0, 3.0) 4
[pixel shader] [pixel shader]
@ -34,7 +34,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 7.5 3.4 uniform 0 float4 -0.5 6.5 7.5 3.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (6.0, 7.0, -1.0, 3.0) 4 probe (0, 0) rgba (6.0, 7.0, -1.0, 3.0) 4
@ -52,5 +52,5 @@ float4 main() : sv_target
[test] [test]
if(sm<4) uniform 0 float4 -1 6 7 3 if(sm<4) uniform 0 float4 -1 6 7 3
if(sm>=4) uniform 0 int4 -1 6 7 3 if(sm>=4) uniform 0 int4 -1 6 7 3
draw quad todo(msl) draw quad
probe (0, 0) rgba (6.0, 7.0, -1.0, 3.0) 4 probe (0, 0) rgba (6.0, 7.0, -1.0, 3.0) 4

View File

@ -8,10 +8,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 0.0 0.0 uniform 0 float4 -0.5 6.5 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.5, 0.0, 0.0, 0.0) 4 probe (0, 0) rgba (-0.5, 0.0, 0.0, 0.0) 4
uniform 0 float4 1.1 0.3 0.0 0.0 uniform 0 float4 1.1 0.3 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.0, 0.0, 0.0) 4 probe (0, 0) rgba (0.2, 0.0, 0.0, 0.0) 4
[pixel shader] [pixel shader]
@ -24,8 +24,8 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.5 6.5 2.0 0.0 uniform 0 float4 -0.5 6.5 2.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.5, 0.5, 0.0, 0.0) 4 probe (0, 0) rgba (-0.5, 0.5, 0.0, 0.0) 4
uniform 0 float4 1.1 0.3 3.0 0.0 uniform 0 float4 1.1 0.3 3.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.1, 0.3, 0.0, 0.0) 4 probe (0, 0) rgba (1.1, 0.3, 0.0, 0.0) 4

View File

@ -54,7 +54,7 @@ float4 main(float tex : texcoord) : sv_target
[test] [test]
uniform 0 uint4 10 0 0 0 uniform 0 uint4 10 0 0 0
draw quad todo(msl) draw quad
probe ( 0, 0, 159, 480) rgba (10.0, 35.0, 0.0, 0.0) probe ( 0, 0, 159, 480) rgba (10.0, 35.0, 0.0, 0.0)
probe (161, 0, 479, 480) rgba (10.0, 38.0, 0.0, 0.0) probe (161, 0, 479, 480) rgba (10.0, 38.0, 0.0, 0.0)
probe (481, 0, 640, 480) rgba ( 5.0, 10.0, 0.0, 0.0) probe (481, 0, 640, 480) rgba ( 5.0, 10.0, 0.0, 0.0)
@ -76,7 +76,7 @@ float4 main(float tex : texcoord) : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 45.0, 0.0, 0.0) probe (0, 0) rgba (10.0, 45.0, 0.0, 0.0)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]

View File

@ -8,5 +8,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.1 1.6 1.3 0.5 uniform 0 float4 -1.1 1.6 1.3 0.5
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.9, 0.6, 0.3, 0.5) 2 probe (0, 0) rgba (0.9, 0.6, 0.3, 0.5) 2

View File

@ -29,7 +29,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.1, 0.8, 0.5); probe (0, 0) rgba (0.2, 0.1, 0.8, 0.5);
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -79,16 +79,16 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.1 uniform 0 float 0.1
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.2, 0.6, 0.3) 1 probe (0, 0) rgba (0.3, 0.2, 0.6, 0.3) 1
uniform 0 float 0.4 uniform 0 float 0.4
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.6, 0.5, 0.6, 0.3) 1 probe (0, 0) rgba (0.6, 0.5, 0.6, 0.3) 1
uniform 0 float 0.6 uniform 0 float 0.6
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.6, 0.5, 0.4, 0.5) 1 probe (0, 0) rgba (0.6, 0.5, 0.4, 0.5) 1
uniform 0 float 0.8 uniform 0 float 0.8
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.8, 0.7, 0.4, 0.5) 1 probe (0, 0) rgba (0.8, 0.7, 0.4, 0.5) 1
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -134,13 +134,13 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.1 uniform 0 float 0.1
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.2, 0.1, 0.2, 0.1) 1 probe (0, 0) rgba (0.2, 0.1, 0.2, 0.1) 1
uniform 0 float 0.5 uniform 0 float 0.5
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.5, 0.4, 1.0, 0.9) 1 probe (0, 0) rgba (0.5, 0.4, 1.0, 0.9) 1
uniform 0 float 0.9 uniform 0 float 0.9
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 0.9, 1.0, 0.6) 1 probe (0, 0) rgba (1.0, 0.9, 1.0, 0.6) 1
[pixel shader] [pixel shader]
@ -181,7 +181,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.4, 0.3, 0.3, 0.9) 1 probe (0, 0) rgba (0.4, 0.3, 0.3, 0.9) 1
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -235,23 +235,23 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.0 uniform 0 float 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.2, 0.3, 0.3) 1 probe (0, 0) rgba (0.3, 0.2, 0.3, 0.3) 1
uniform 0 float 0.1 uniform 0 float 0.1
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.3, 0.3, 0.3) 1 probe (0, 0) rgba (0.3, 0.3, 0.3, 0.3) 1
uniform 0 float 0.3 uniform 0 float 0.3
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.5, 0.3, 0.3) 1 probe (0, 0) rgba (0.3, 0.5, 0.3, 0.3) 1
uniform 0 float 0.7 uniform 0 float 0.7
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.9, 0.7, 0.6) 1 probe (0, 0) rgba (0.3, 0.9, 0.7, 0.6) 1
uniform 0 float 0.9 uniform 0 float 0.9
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.4, 0.1, 0.7, 0.6) 1 probe (0, 0) rgba (0.4, 0.1, 0.7, 0.6) 1
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -291,21 +291,21 @@ float4 main() : sv_target
uniform 0 float4 0.3 0.0 0.0 0.0 uniform 0 float4 0.3 0.0 0.0 0.0
uniform 4 float4 0.0 0.0 0.0 0.0 uniform 4 float4 0.0 0.0 0.0 0.0
uniform 8 float4 0.1 0.0 0.0 0.0 uniform 8 float4 0.1 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.2, 0.6, 0.6) 1 probe (0, 0) rgba (0.3, 0.2, 0.6, 0.6) 1
uniform 4 float4 0.35 0.0 0.0 0.0 uniform 4 float4 0.35 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.3, 0.6, 0.6) 1 probe (0, 0) rgba (0.3, 0.3, 0.6, 0.6) 1
uniform 8 float4 0.5 0.0 0.0 0.0 uniform 8 float4 0.5 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.5, 0.6, 0.6) 1 probe (0, 0) rgba (0.3, 0.5, 0.6, 0.6) 1
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.3, 0.5, 0.6, 0.6) 1 probe (0, 0) rgba (0.3, 0.5, 0.6, 0.6) 1
uniform 4 float4 2.0 0.0 0.0 0.0 uniform 4 float4 2.0 0.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (0.4, 0.1, 0.6, 0.6) 1 probe (0, 0) rgba (0.4, 0.1, 0.6, 0.6) 1

View File

@ -176,7 +176,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4) probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
[pixel shader] [pixel shader]
@ -200,7 +200,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.6, 0.7, 0) probe (0, 0) rgba (0.5, 0.6, 0.7, 0)
[pixel shader] [pixel shader]
@ -221,7 +221,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.6, 0.1, 0.5, 0) probe (0, 0) rgba (0.6, 0.1, 0.5, 0)
% Recursion is forbidden. % Recursion is forbidden.
@ -275,7 +275,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0) probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0)
@ -293,7 +293,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0) probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0)
% Inline modifier % Inline modifier
@ -312,7 +312,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0) probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0)
% Inline modifier used on entry point % Inline modifier used on entry point
@ -331,7 +331,7 @@ inline float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0) probe (0, 0) rgba (2.0, 3.0, 6.0, 7.0)
% Export modifier % Export modifier
@ -343,7 +343,7 @@ export float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
% Default parameter values % Default parameter values
@ -360,7 +360,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 11.0, 13.0, 16.0) probe (0, 0) rgba (10.0, 11.0, 13.0, 16.0)
[pixel shader] [pixel shader]
@ -375,7 +375,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 4.0, 5.0) probe (0, 0) rgba (2.0, 3.0, 4.0, 5.0)
[pixel shader fail(sm>=6)] [pixel shader fail(sm>=6)]
@ -390,7 +390,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 4.0, 5.0) probe (0, 0) rgba (2.0, 3.0, 4.0, 5.0)
@ -408,7 +408,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
% Missing default value for parameter c. % Missing default value for parameter c.

View File

@ -18,7 +18,7 @@ float4 main(float4 pos : sv_position) : sv_target
} }
[test] [test]
todo(sm<4 | glsl) draw quad todo(sm<4 | glsl | msl) draw quad
probe (10, 10) rgba (8.0, 8.0, 8.0, 8.0) probe (10, 10) rgba (8.0, 8.0, 8.0, 8.0)
probe (11, 10) rgba (8.0, 8.0, 8.0, 8.0) probe (11, 10) rgba (8.0, 8.0, 8.0, 8.0)
probe (12, 10) rgba (10.0, 10.0, 10.0, 10.0) probe (12, 10) rgba (10.0, 10.0, 10.0, 10.0)

View File

@ -23,7 +23,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.2, 0.1) probe (0, 0) rgba (0.1, 0.2, 0.2, 0.1)
@ -37,7 +37,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.0, 0.1, 0.1, 0.0) probe (0, 0) rgba (0.0, 0.1, 0.1, 0.0)
@ -55,7 +55,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.2, 0.2, 0.1, 0.1) probe (0, 0) rgba (0.2, 0.2, 0.1, 0.1)
@ -69,7 +69,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.1, 0.1, 0.0, 0.0) probe (0, 0) rgba (0.1, 0.1, 0.0, 0.0)
@ -83,7 +83,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.5, 0.0, 0.5, 0.0) probe (0, 0) rgba (0.5, 0.0, 0.5, 0.0)
@ -97,7 +97,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.0, 0.4, 0.0, 0.4) probe (0, 0) rgba (0.0, 0.4, 0.0, 0.4)
@ -113,5 +113,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 int4 1 0 0 0 uniform 0 int4 1 0 0 0
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.2, 0.1) probe (0, 0) rgba (0.1, 0.2, 0.2, 0.1)

View File

@ -23,7 +23,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.1, 0.1, 0.0) probe (0, 0) rgba (0.0, 0.1, 0.1, 0.0)
@ -37,7 +37,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.2, 0.1) probe (0, 0) rgba (0.1, 0.2, 0.2, 0.1)
@ -55,7 +55,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.1, 0.0, 0.0) probe (0, 0) rgba (0.1, 0.1, 0.0, 0.0)
@ -69,7 +69,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.2, 0.1, 0.1) probe (0, 0) rgba (0.2, 0.2, 0.1, 0.1)
@ -97,7 +97,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.5, 0.0, 0.5) probe (0, 0) rgba (0.0, 0.5, 0.0, 0.5)
@ -111,5 +111,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.4, 0.0, 0.4, 0.0) probe (0, 0) rgba (0.4, 0.0, 0.4, 0.0)

View File

@ -28,7 +28,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (2.0, 3.0, 2.0, 3.0) probe (0, 0) rgba (2.0, 3.0, 2.0, 3.0)
[srv 1] [srv 1]
@ -53,5 +53,5 @@ float4 main() : sv_target
} }
[test] [test]
todo(glsl) draw quad todo(glsl | msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 1.0, 2.0) probe (0, 0) rgba (2.0, 2.0, 1.0, 2.0)

View File

@ -19,5 +19,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 10.0 uniform 0 float 10.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0) probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0)

View File

@ -17,10 +17,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.0 uniform 0 float 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0) probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0)
uniform 0 float 1.0 uniform 0 float 1.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (-2.0, -2.0, -2.0, -2.0) probe (0, 0) rgba (-2.0, -2.0, -2.0, -2.0)
@ -43,10 +43,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.0 uniform 0 float 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0) probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0)
uniform 0 float 1.0 uniform 0 float 1.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (20.0, 20.0, 20.0, 20.0) probe (0, 0) rgba (20.0, 20.0, 20.0, 20.0)
@ -69,8 +69,8 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 0.0 uniform 0 float 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 4.0, 0.0, 0.0) probe (0, 0) rgba (1.0, 4.0, 0.0, 0.0)
uniform 0 float 1.0 uniform 0 float 1.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (1.0, 40.0, 0.0, 0.0) probe (0, 0) rgba (1.0, 40.0, 0.0, 0.0)

View File

@ -6,7 +6,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4) probe (0, 0) rgba (1, 2, 3, 4)
@ -24,7 +24,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (4, 5, 6, 7) probe (0, 0) rgba (4, 5, 6, 7)
@ -37,7 +37,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (40, 10, 20, 30) probe (0, 0) rgba (40, 10, 20, 30)
@ -56,7 +56,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
@ -69,5 +69,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)

View File

@ -7,7 +7,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (50, 60, 70, 80) probe (0, 0) rgba (50, 60, 70, 80)
@ -21,7 +21,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
% dxcompiler emits a nop shader which returns immediately. % dxcompiler emits a nop shader which returns immediately.
if(sm<6) probe (0,0) rgba (5.0, 6.0, 7.0, 8.0) if(sm<6) probe (0,0) rgba (5.0, 6.0, 7.0, 8.0)
@ -35,7 +35,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (7.0, 8.0, 9.0, 10.0) probe (0, 0) rgba (7.0, 8.0, 9.0, 10.0)
@ -63,7 +63,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (318.0, 320.0, 322.0, 324.0) probe (0, 0) rgba (318.0, 320.0, 322.0, 324.0)

View File

@ -9,7 +9,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (17, 18, 19, 20) probe (0, 0) rgba (17, 18, 19, 20)
@ -57,7 +57,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (22, 23, 24, 25) probe (0, 0) rgba (22, 23, 24, 25)

View File

@ -10,7 +10,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)
@ -31,5 +31,5 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (71, 72, 73, 74) probe (0, 0) rgba (71, 72, 73, 74)

View File

@ -6,7 +6,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 0) probe (0, 0) rgba (21, 22, 23, 0)
@ -18,7 +18,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 0) probe (0, 0) rgba (21, 22, 23, 0)
@ -30,7 +30,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)
@ -42,7 +42,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 31, 32) probe (0, 0) rgba (21, 22, 31, 32)
@ -55,7 +55,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 31, 32) probe (0, 0) rgba (21, 22, 31, 32)
@ -68,5 +68,5 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 31, 32) probe (0, 0) rgba (21, 22, 31, 32)

View File

@ -7,7 +7,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (2, 3, 3, 0) probe (0, 0) rgba (2, 3, 3, 0)
@ -32,7 +32,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (7.2, 8.0, 7.2, 8.0) probe (0, 0) rgba (7.2, 8.0, 7.2, 8.0)
@ -48,5 +48,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.2, 9.0, 5.2, 9.0) probe (0, 0) rgba (5.2, 9.0, 5.2, 9.0)

View File

@ -6,7 +6,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1, 2, 3, 4) probe (0, 0) rgba (1, 2, 3, 4)
@ -23,7 +23,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)
@ -52,5 +52,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)

View File

@ -6,7 +6,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) 4 probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) 4
@ -18,7 +18,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) 4 probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) 4
@ -31,7 +31,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) 4 probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) 4
@ -44,7 +44,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (10.1, 1.1, 1.2, 2.1) 4 probe (0, 0) rgba (10.1, 1.1, 1.2, 2.1) 4
@ -56,7 +56,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.0, 250.0, 16.0, 4.2949673e+009) 4 probe (0, 0) rgba (3.0, 250.0, 16.0, 4.2949673e+009) 4
@ -69,6 +69,6 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
if(sm<6) probe (0,0) rgba (-1294967296.0, 3000000000.0, 0.0, 0.0) 4 if(sm<6) probe (0,0) rgba (-1294967296.0, 3000000000.0, 0.0, 0.0) 4
if(sm>=6) probe (0,0) rgba (3000000000.0, 3000000000.0, 0.0, 0.0) 4 if(sm>=6) probe (0,0) rgba (3000000000.0, 3000000000.0, 0.0, 0.0) 4

View File

@ -25,7 +25,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.2, 0.2, 0.1) probe (0, 0) rgba (0.2, 0.2, 0.2, 0.1)
@ -48,7 +48,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (31.1, 41.1, 51.1, 61.1) 1 probe (0, 0) rgba (31.1, 41.1, 51.1, 61.1) 1

View File

@ -11,7 +11,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)
@ -33,5 +33,5 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (61, 62, 63, 64) probe (0, 0) rgba (61, 62, 63, 64)

View File

@ -22,7 +22,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (41, 42, 43, 44) probe (0, 0) rgba (41, 42, 43, 44)
@ -52,7 +52,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (4311, 4312, 4313, 4314) probe (0, 0) rgba (4311, 4312, 4313, 4314)
@ -80,5 +80,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (21, 22, 23, 24) probe (0, 0) rgba (21, 22, 23, 24)

View File

@ -42,7 +42,7 @@ float4 main(vs_out i) : SV_Target
} }
[test] [test]
todo(glsl) draw triangle list 3 4 todo(glsl | msl) draw triangle list 3 4
probe rtv 0 (160, 120) rgba (0.0, 0.25, 0.0, 0.25) probe rtv 0 (160, 120) rgba (0.0, 0.25, 0.0, 0.25)
probe rtv 0 (480, 120) rgba (0.0, 0.5, 0.0, 0.5) probe rtv 0 (480, 120) rgba (0.0, 0.5, 0.0, 0.5)
probe rtv 0 (480, 360) rgba (0.0, 0.75, 0.0, 0.75) probe rtv 0 (480, 360) rgba (0.0, 0.75, 0.0, 0.75)

View File

@ -14,7 +14,7 @@ float4 main(float2 color_xy : COLOR0, float2 color_zw : COLOR1) : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe(320, 240) rgba(0.25, 0.5, 0.75, 1.0) probe(320, 240) rgba(0.25, 0.5, 0.75, 1.0)
% Test handling of arrays in interface blocks % Test handling of arrays in interface blocks
@ -115,7 +115,7 @@ float4 main(data input) : SV_Target
[test] [test]
clear rtv 0 -1.0 -1.0 -1.0 -1.0 clear rtv 0 -1.0 -1.0 -1.0 -1.0
todo(mvk & vulkan) draw triangle list 3 todo(mvk & vulkan | msl) draw triangle list 3
todo(mvk) probe (0, 0) rgba ( 0.0, 0.0, 0.0, 0.0) todo(mvk) probe (0, 0) rgba ( 0.0, 0.0, 0.0, 0.0)
todo(mvk) probe (1, 0) rgba ( 1.0, 12.0, 13.0, 14.0) todo(mvk) probe (1, 0) rgba ( 1.0, 12.0, 13.0, 14.0)
todo(mvk) probe (2, 0) rgba ( 2.0, 15.0, 16.0, 22.0) todo(mvk) probe (2, 0) rgba ( 2.0, 15.0, 16.0, 22.0)
@ -158,5 +158,5 @@ float4 main(float4 pos : SV_Position, float4 color : COLOR) : SV_Target
} }
[test] [test]
todo(mvk & sm<4) draw triangle list 3 todo(mvk & sm<4 | msl) draw triangle list 3
probe (0, 0) rgba(1.0, 10.0, 11.0, 4.0) probe (0, 0) rgba(1.0, 10.0, 11.0, 4.0)

View File

@ -11,7 +11,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.3, 0.3, 0.4, 0.6) probe (0, 0) rgba (0.3, 0.3, 0.4, 0.6)
[pixel shader fail(sm>=6)] [pixel shader fail(sm>=6)]
@ -27,7 +27,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.3, 0.3, 0.3, 0.4) probe (0, 0) rgba (0.3, 0.3, 0.3, 0.4)

View File

@ -13,23 +13,23 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.0 0.0 0.0 0.0 uniform 0 float4 -1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.14159274, 0.0, 0.0, 0.0) 128 probe (0, 0) rgba (3.14159274, 0.0, 0.0, 0.0) 128
uniform 0 float4 -0.5 0.0 0.0 0.0 uniform 0 float4 -0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.094441441, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (2.094441441, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.57072878, 0.0, 0.0, 0.0) 1024 probe (0, 0) rgba (1.57072878, 0.0, 0.0, 0.0) 1024
uniform 0 float4 0.5 0.0 0.0 0.0 uniform 0 float4 0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.04715133, 0.0, 0.0, 0.0) 512 probe (0, 0) rgba (1.04715133, 0.0, 0.0, 0.0) 512
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 128 probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 128
[pixel shader] [pixel shader]
@ -44,7 +44,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.0 0.0 0.0 0.0 uniform 0 float4 -1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-31416.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (-31416.0, 0.0, 0.0, 0.0)
[require] [require]
@ -52,15 +52,15 @@ shader model < 6.0
[test] [test]
uniform 0 float4 -0.5 0.0 0.0 0.0 uniform 0 float4 -0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-10473.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (-10473.0, 0.0, 0.0, 0.0)
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (1.0, 0.0, 0.0, 0.0)
uniform 0 float4 0.5 0.0 0.0 0.0 uniform 0 float4 0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (10473.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (10473.0, 0.0, 0.0, 0.0)
[require] [require]
@ -88,7 +88,7 @@ probe (0, 0) rgba (10472.0, 0.0, 0.0, 0.0) 4096
[test] [test]
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (31416.0, 0.0, 0.0, 0.0) probe (0, 0) rgba (31416.0, 0.0, 0.0, 0.0)
@ -102,23 +102,23 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.0 0.0 0.0 0.0 uniform 0 float4 -1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.785409629, 0.0, 0.0, 0.0) 512 probe (0, 0) rgba (-0.785409629, 0.0, 0.0, 0.0) 512
uniform 0 float4 -0.5 0.0 0.0 0.0 uniform 0 float4 -0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.4636476, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (-0.4636476, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.0 0.0 0.0 0.0 uniform 0 float4 0.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.5 0.0 0.0 0.0 uniform 0 float4 0.5 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.4636476, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (0.4636476, 0.0, 0.0, 0.0) 256
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.785409629, 0.0, 0.0, 0.0) 512 probe (0, 0) rgba (0.785409629, 0.0, 0.0, 0.0) 512
[pixel shader] [pixel shader]
@ -133,64 +133,64 @@ float4 main() : sv_target
[test] [test]
% Non-degenerate cases % Non-degenerate cases
uniform 0 float4 1.0 1.0 0.0 0.0 uniform 0 float4 1.0 1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.785385, 0.0, 0.0, 0.0) 512 probe (0, 0) rgba (0.785385, 0.0, 0.0, 0.0) 512
uniform 0 float4 5.0 -5.0 0.0 0.0 uniform 0 float4 5.0 -5.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.356194, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (2.356194, 0.0, 0.0, 0.0) 256
uniform 0 float4 -3.0 -3.0 0.0 0.0 uniform 0 float4 -3.0 -3.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-2.356194, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (-2.356194, 0.0, 0.0, 0.0) 256
uniform 0 float4 1.0 0.0 0.0 0.0 uniform 0 float4 1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256
uniform 0 float4 -1.0 0.0 0.0 0.0 uniform 0 float4 -1.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-1.570796, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (-1.570796, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.0 1.0 0.0 0.0 uniform 0 float4 0.0 1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (0.0, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.0 -1.0 0.0 0.0 uniform 0 float4 0.0 -1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.1415927, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (3.1415927, 0.0, 0.0, 0.0) 256
% Degenerate cases % Degenerate cases
uniform 0 float4 0.00001 0.00002 0.0 0.0 uniform 0 float4 0.00001 0.00002 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.463647, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (0.463647, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.00001 -0.00002 0.0 0.0 uniform 0 float4 0.00001 -0.00002 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.677945, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (2.677945, 0.0, 0.0, 0.0) 256
uniform 0 float4 -0.00001 100000.0 0.0 0.0 uniform 0 float4 -0.00001 100000.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.000000000099986595, 0.0, 0.0, 0.0) 2048 probe (0, 0) rgba (-0.000000000099986595, 0.0, 0.0, 0.0) 2048
uniform 0 float4 10000000.0 0.00000001 0.0 0.0 uniform 0 float4 10000000.0 0.00000001 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256
% Negative zero behavior should be to treat it the % Negative zero behavior should be to treat it the
% same as normal zero. % same as normal zero.
uniform 0 float4 1000000000.0 0.0 0.0 0.0 uniform 0 float4 1000000000.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256
uniform 0 float4 1000000000.0 -0.0 0.0 0.0 uniform 0 float4 1000000000.0 -0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (1.570796, 0.0, 0.0, 0.0) 256
uniform 0 float4 0.0 -1.0 0.0 0.0 uniform 0 float4 0.0 -1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.1415927, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (3.1415927, 0.0, 0.0, 0.0) 256
uniform 0 float4 -0.0 -1.0 0.0 0.0 uniform 0 float4 -0.0 -1.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.1415927, 0.0, 0.0, 0.0) 256 probe (0, 0) rgba (3.1415927, 0.0, 0.0, 0.0) 256

View File

@ -22,7 +22,7 @@ float4 main(bool face : sv_isfrontface) : sv_target
} }
[test] [test]
draw triangle strip 4 todo(msl) draw triangle strip 4
probe (0, 0, 640, 480) rgba (0.0, 1.0, 0.0, 1.0) probe (0, 0, 640, 480) rgba (0.0, 1.0, 0.0, 1.0)
[vb 0] [vb 0]
@ -32,5 +32,5 @@ probe (0, 0, 640, 480) rgba (0.0, 1.0, 0.0, 1.0)
2.0 2.0 2.0 2.0
[test] [test]
draw triangle strip 4 todo(msl) draw triangle strip 4
probe (0, 0, 640, 480) rgba (1.0, 2.0, 1.0, 2.0) probe (0, 0, 640, 480) rgba (1.0, 2.0, 1.0, 2.0)

View File

@ -10,7 +10,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 3.0 4.0 5.0 uniform 0 float4 2.0 3.0 4.0 5.0
uniform 4 float4 0.0 -10.0 10.0 100.0 uniform 4 float4 0.0 -10.0 10.0 100.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) 2 probe (0, 0) rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) 2
@ -28,7 +28,7 @@ if(sm<4) uniform 0 float4 2 3 4 5
if(sm<4) uniform 4 float4 0 -10 10 100 if(sm<4) uniform 4 float4 0 -10 10 100
if(sm>=4) uniform 0 int4 2 3 4 5 if(sm>=4) uniform 0 int4 2 3 4 5
if(sm>=4) uniform 4 int4 0 -10 10 100 if(sm>=4) uniform 4 int4 0 -10 10 100
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) 2 probe (0, 0) rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) 2
@ -43,7 +43,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (64.0, 64.0, 64.0, 40.0) probe (0, 0) rgba (64.0, 64.0, 64.0, 40.0)

View File

@ -8,7 +8,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 3.0 4.0 5.0 uniform 0 float4 2.0 3.0 4.0 5.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (7.34846926, 7.34846926, 7.34846926, 7.34846926) 1 probe (0, 0) rgba (7.34846926, 7.34846926, 7.34846926, 7.34846926) 1
[pixel shader] [pixel shader]
@ -21,7 +21,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 3.0 4.0 0.0 uniform 0 float4 2.0 3.0 4.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (5.38516474, 5.38516474, 5.38516474, 5.38516474) 1 probe (0, 0) rgba (5.38516474, 5.38516474, 5.38516474, 5.38516474) 1
[pixel shader] [pixel shader]
@ -34,7 +34,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 3.0 0.0 0.0 uniform 0 float4 2.0 3.0 0.0 0.0
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (3.60555124, 3.60555124, 3.60555124, 3.60555124) 1 probe (0, 0) rgba (3.60555124, 3.60555124, 3.60555124, 3.60555124) 1
[pixel shader] [pixel shader]
@ -47,7 +47,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 0.0 0.0 0.0 uniform 0 float4 2.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0) probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0)
[pixel shader] [pixel shader]
@ -60,7 +60,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.0 0.0 0.0 0.0 uniform 0 float4 2.0 0.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0) probe (0, 0) rgba (2.0, 2.0, 2.0, 2.0)
[pixel shader fail] [pixel shader fail]

View File

@ -12,7 +12,7 @@ float4 main() : SV_TARGET
uniform 0 float4 2.0 3.0 4.0 5.0 uniform 0 float4 2.0 3.0 4.0 5.0
uniform 4 float4 0.0 -10.0 10.0 100.0 uniform 4 float4 0.0 -10.0 10.0 100.0
uniform 8 float4 0.0 1.0 -1.0 0.75 uniform 8 float4 0.0 1.0 -1.0 0.75
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, -10.0, -2.0, 76.25) probe (0, 0) rgba (2.0, -10.0, -2.0, 76.25)
@ -33,7 +33,7 @@ if(sm<4) uniform 8 float4 0 1 -1 1000000
if(sm>=4) uniform 0 int4 2 3 4 0 if(sm>=4) uniform 0 int4 2 3 4 0
if(sm>=4) uniform 4 int4 0 -10 10 1000000 if(sm>=4) uniform 4 int4 0 -10 10 1000000
if(sm>=4) uniform 8 int4 0 1 -1 1000000 if(sm>=4) uniform 8 int4 0 1 -1 1000000
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, -10.0, -2.0, 1e12) 4 probe (0, 0) rgba (2.0, -10.0, -2.0, 1e12) 4
@ -49,7 +49,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (-6.0, -2.2, 4.48, 8.28) 1 probe (0, 0) rgba (-6.0, -2.2, 4.48, 8.28) 1

View File

@ -8,17 +8,17 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -0.1 10.0 0.0 0.0 uniform 0 float4 -0.1 10.0 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (1.0, 0.0, 0.0, 1.0)
[test] [test]
uniform 0 float4 1.2 -0.1 0.0 0.0 uniform 0 float4 1.2 -0.1 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.2, 0.0, 1.0) probe (0, 0) rgba (1.0, 1.2, 0.0, 1.0)
[test] [test]
uniform 0 float4 1.2 2.0 3.0 0.0 uniform 0 float4 1.2 2.0 3.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.2, 8.0, 1.0) probe (0, 0) rgba (1.0, 1.2, 8.0, 1.0)
[pixel shader] [pixel shader]
@ -31,7 +31,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 1.2 2.0 3.0 0.0 uniform 0 float4 1.2 2.0 3.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (2.0, 2.4, 16.0, 2.0) probe (0, 0) rgba (2.0, 2.4, 16.0, 2.0)
[pixel shader fail] [pixel shader fail]

View File

@ -22,10 +22,10 @@ float4 main() : sv_target
[test] [test]
uniform 0 uint 0 uniform 0 uint 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 0.0, 1.0, 0.0) probe (0, 0) rgba (1.0, 0.0, 1.0, 0.0)
uniform 0 uint 1 uniform 0 uint 1
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 1.0, 0.0) probe (0, 0) rgba (0.0, 0.0, 1.0, 0.0)
[pixel shader fail] [pixel shader fail]
@ -47,5 +47,5 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 0.0, 1.0, 0.0) probe (0, 0) rgba (1.0, 0.0, 1.0, 0.0)

View File

@ -8,7 +8,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 2.0 4.0 5.0 0.4 uniform 0 float4 2.0 4.0 5.0 0.4
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 2.32192802, -1.32192802) 1 probe (0, 0) rgba (1.0, 2.0, 2.32192802, -1.32192802) 1
[pixel shader] [pixel shader]
@ -21,7 +21,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 10.0 100.0 1.0 0.1 uniform 0 float4 10.0 100.0 1.0 0.1
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 0.0, -1.0) 1 probe (0, 0) rgba (1.0, 2.0, 0.0, -1.0) 1
[pixel shader] [pixel shader]
@ -34,5 +34,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 3.0 10.0 1.0 0.1 uniform 0 float4 3.0 10.0 1.0 0.1
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0986123, 2.302585, 0.0, -2.302585) 2 probe (0, 0) rgba (1.0986123, 2.302585, 0.0, -2.302585) 2

View File

@ -8,7 +8,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -22,7 +22,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -35,7 +35,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -48,7 +48,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -61,7 +61,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -75,7 +75,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -88,7 +88,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -101,7 +101,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -114,7 +114,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[pixel shader] [pixel shader]
@ -128,7 +128,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -141,7 +141,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0) probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[pixel shader] [pixel shader]
@ -154,7 +154,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0) probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
@ -171,11 +171,11 @@ if(sm<4) uniform 0 float 5
if(sm<4) uniform 4 float 0 if(sm<4) uniform 4 float 0
if(sm>=4) uniform 0 int 5 if(sm>=4) uniform 0 int 5
if(sm>=4) uniform 1 int 0 if(sm>=4) uniform 1 int 0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 1.0, 0.0, 1.0) probe (0, 0) rgba (1.0, 1.0, 0.0, 1.0)
if(sm<4) uniform 0 float -1 if(sm<4) uniform 0 float -1
if(sm<4) uniform 4 float 3 if(sm<4) uniform 4 float 3
if(sm>=4) uniform 0 int -1 if(sm>=4) uniform 0 int -1
if(sm>=4) uniform 1 int 3 if(sm>=4) uniform 1 int 3
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.0, 1.0, 0.0, 0.0) probe (0, 0) rgba (0.0, 1.0, 0.0, 0.0)

View File

@ -18,7 +18,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 5.0 uniform 0 float 5.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (50.0, 50.0, 50.0, 50.0) probe (0, 0) rgba (50.0, 50.0, 50.0, 50.0)
@ -41,7 +41,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 4.0 uniform 0 float 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (20.0, 20.0, 20.0, 20.0) probe (0, 0) rgba (20.0, 20.0, 20.0, 20.0)
[pixel shader] [pixel shader]
@ -70,7 +70,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 4.0 uniform 0 float 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (409.1, 409.1, 409.1, 409.1) probe (0, 0) rgba (409.1, 409.1, 409.1, 409.1)
[pixel shader] [pixel shader]
@ -100,7 +100,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 4.0 uniform 0 float 4.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (410.1, 410.1, 410.1, 410.1) probe (0, 0) rgba (410.1, 410.1, 410.1, 410.1)
% loop attribute by itself % loop attribute by itself
@ -118,7 +118,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0) probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -137,7 +137,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0) probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0)
[pixel shader todo(sm<4)] [pixel shader todo(sm<4)]
@ -156,7 +156,7 @@ float4 main() : sv_target
} }
[test] [test]
todo(sm<4) draw quad todo(sm<4 | msl) draw quad
probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0) probe (0, 0) rgba (10.0, 10.0, 10.0, 10.0)
% unroll can't be used with fastopt or loop % unroll can't be used with fastopt or loop

View File

@ -17,7 +17,7 @@ uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
uniform 8 float4 0.1 0.3 0.0 0.0 uniform 8 float4 0.1 0.3 0.0 0.0
uniform 12 float4 0.2 0.4 0.0 0.0 uniform 12 float4 0.2 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.17, 0.39, 0.17, 0.39) 1 probe (0, 0) rgba (0.17, 0.39, 0.17, 0.39) 1
@ -40,7 +40,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.2 0.0 0.0 uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4) probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
@ -61,7 +61,7 @@ uniform 0 float4 0.0 0.0 0.0 0.0
uniform 4 float4 0.0 0.0 0.0 0.0 uniform 4 float4 0.0 0.0 0.0 0.0
uniform 8 float4 0.5 0.6 0.0 0.0 uniform 8 float4 0.5 0.6 0.0 0.0
uniform 12 float4 0.7 0.8 0.0 0.0 uniform 12 float4 0.7 0.8 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.6, 0.7, 0.8) probe (0, 0) rgba (0.5, 0.6, 0.7, 0.8)
@ -90,7 +90,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.2 0.0 0.0 uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
draw quad todo(msl) draw quad
if(sm<6) probe (0,0) rgba (0.23, 0.34, 0.5, 0.5) 1 if(sm<6) probe (0,0) rgba (0.23, 0.34, 0.5, 0.5) 1
if(sm>=6) probe (0,0) rgba (0.17, 0.39, 0.5, 0.5) 1 if(sm>=6) probe (0,0) rgba (0.17, 0.39, 0.5, 0.5) 1
@ -112,7 +112,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.2 0.0 0.0 uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4) probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
@ -150,7 +150,7 @@ uniform 0 float4 0.3 0.4 0.0 0.0
uniform 4 float4 0.0 0.0 0.0 0.0 uniform 4 float4 0.0 0.0 0.0 0.0
uniform 8 float4 0.0 0.0 0.0 0.0 uniform 8 float4 0.0 0.0 0.0 0.0
uniform 12 float4 0.5 0.6 0.0 0.0 uniform 12 float4 0.5 0.6 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.3, 0.4, 0.5, 0.6) probe (0, 0) rgba (0.3, 0.4, 0.5, 0.6)
@ -174,7 +174,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.2 0.0 0.0 uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4) probe (0, 0) rgba (0.1, 0.2, 0.3, 0.4)
@ -202,7 +202,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.2 0.4 0.0 0.0 uniform 0 float4 0.2 0.4 0.0 0.0
uniform 4 float4 0.3 0.5 0.0 0.0 uniform 4 float4 0.3 0.5 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.3, 0.4, 0.5) probe (0, 0) rgba (0.2, 0.3, 0.4, 0.5)
@ -222,7 +222,7 @@ uniform 0 float4 0.3 0.0 0.0 0.0
uniform 4 float4 0.4 0.0 0.0 0.0 uniform 4 float4 0.4 0.0 0.0 0.0
uniform 8 float4 0.0 0.5 0.0 0.0 uniform 8 float4 0.0 0.5 0.0 0.0
uniform 12 float4 0.0 0.6 0.0 0.0 uniform 12 float4 0.0 0.6 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.3, 0.4, 0.5, 0.6) probe (0, 0) rgba (0.3, 0.4, 0.5, 0.6)
% Compiler options % Compiler options
@ -246,7 +246,7 @@ uniform 0 float4 0.1 0.5 0.9 1.3
uniform 4 float4 0.2 0.6 1.0 1.4 uniform 4 float4 0.2 0.6 1.0 1.4
uniform 8 float4 0.3 0.7 1.1 1.5 uniform 8 float4 0.3 0.7 1.1 1.5
uniform 12 float4 0.4 0.8 1.2 1.6 uniform 12 float4 0.4 0.8 1.2 1.6
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.3, 0.6, 0.7) 1 probe (0, 0) rgba (0.2, 0.3, 0.6, 0.7) 1
[require] [require]
@ -268,7 +268,7 @@ uniform 0 float4 0.1 0.5 0.9 1.3
uniform 4 float4 0.2 0.6 1.0 1.4 uniform 4 float4 0.2 0.6 1.0 1.4
uniform 8 float4 0.3 0.7 1.1 1.5 uniform 8 float4 0.3 0.7 1.1 1.5
uniform 12 float4 0.4 0.8 1.2 1.6 uniform 12 float4 0.4 0.8 1.2 1.6
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.2, 0.3, 0.6, 0.7) 1 probe (0, 0) rgba (0.2, 0.3, 0.6, 0.7) 1
[require] [require]
@ -290,7 +290,7 @@ uniform 0 float4 0.1 0.5 0.9 1.3
uniform 4 float4 0.2 0.6 1.0 1.4 uniform 4 float4 0.2 0.6 1.0 1.4
uniform 8 float4 0.3 0.7 1.1 1.5 uniform 8 float4 0.3 0.7 1.1 1.5
uniform 12 float4 0.4 0.8 1.2 1.6 uniform 12 float4 0.4 0.8 1.2 1.6
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.5, 0.9, 0.6, 1.0) 1 probe (0, 0) rgba (0.5, 0.9, 0.6, 1.0) 1
[require] [require]
@ -318,7 +318,7 @@ uniform 16 float4 1.7 2.1 2.5 2.9
uniform 20 float4 1.8 2.2 2.6 3.0 uniform 20 float4 1.8 2.2 2.6 3.0
uniform 24 float4 1.9 2.3 2.7 3.1 uniform 24 float4 1.9 2.3 2.7 3.1
uniform 28 float4 2.0 2.4 2.8 3.2 uniform 28 float4 2.0 2.4 2.8 3.2
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.3, 0.4, 2.5, 2.9) 1 probe (0, 0) rgba (0.3, 0.4, 2.5, 2.9) 1
[require] [require]
@ -346,7 +346,7 @@ uniform 16 float4 1.7 2.1 2.5 2.9
uniform 20 float4 1.8 2.2 2.6 3.0 uniform 20 float4 1.8 2.2 2.6 3.0
uniform 24 float4 1.9 2.3 2.7 3.1 uniform 24 float4 1.9 2.3 2.7 3.1
uniform 28 float4 2.0 2.4 2.8 3.2 uniform 28 float4 2.0 2.4 2.8 3.2
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.2, 1.6, 3.1, 3.2) 1 probe (0, 0) rgba (1.2, 1.6, 3.1, 3.2) 1
[require] [require]
@ -366,5 +366,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.2 0.0 0.0 uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.3, 0.2, 0.4) 1 probe (0, 0) rgba (0.1, 0.3, 0.2, 0.4) 1

View File

@ -11,7 +11,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.1 0.3 0.0 0.0 uniform 0 float4 0.1 0.3 0.0 0.0
uniform 4 float4 0.2 0.4 0.0 0.0 uniform 4 float4 0.2 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.1, 0.3, 0.2, 0.4) probe (0, 0) rgba (0.1, 0.3, 0.2, 0.4)
[pixel shader fail(sm<6)] [pixel shader fail(sm<6)]

View File

@ -18,5 +18,5 @@ uniform 0 float4 0.1 0.2 0.0 0.0
uniform 4 float4 0.3 0.4 0.0 0.0 uniform 4 float4 0.3 0.4 0.0 0.0
uniform 8 float4 0.1 0.3 0.0 0.0 uniform 8 float4 0.1 0.3 0.0 0.0
uniform 12 float4 0.2 0.4 0.0 0.0 uniform 12 float4 0.2 0.4 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.17, 0.39, 0.17, 0.39) 1 probe (0, 0) rgba (0.17, 0.39, 0.17, 0.39) 1

View File

@ -14,5 +14,5 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 2.5 0.3 0.2 0.7 uniform 0 float4 2.5 0.3 0.2 0.7
uniform 4 float4 0.1 1.5 0.0 0.0 uniform 4 float4 0.1 1.5 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-12.43, 9.833333, 1.6, 35.0) 1 probe (0, 0) rgba (-12.43, 9.833333, 1.6, 35.0) 1

View File

@ -11,7 +11,7 @@ uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
uniform 8 float4 9.0 10.0 11.0 12.0 uniform 8 float4 9.0 10.0 11.0 12.0
uniform 12 float4 13.0 14.0 15.0 16.0 uniform 12 float4 13.0 14.0 15.0 16.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 10.0, 15.0) probe (0, 0) rgba (1.0, 2.0, 10.0, 15.0)
[pixel shader] [pixel shader]
@ -27,7 +27,7 @@ uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
uniform 8 float4 9.0 10.0 11.0 12.0 uniform 8 float4 9.0 10.0 11.0 12.0
uniform 12 float4 13.0 14.0 15.0 16.0 uniform 12 float4 13.0 14.0 15.0 16.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 10.0, 15.0) probe (0, 0) rgba (1.0, 2.0, 10.0, 15.0)
[pixel shader] [pixel shader]
@ -43,7 +43,7 @@ uniform 0 float4 1.0 2.0 3.0 4.0
uniform 4 float4 5.0 6.0 7.0 8.0 uniform 4 float4 5.0 6.0 7.0 8.0
uniform 8 float4 9.0 10.0 11.0 12.0 uniform 8 float4 9.0 10.0 11.0 12.0
uniform 12 float4 13.0 14.0 15.0 16.0 uniform 12 float4 13.0 14.0 15.0 16.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 5.0, 7.0, 12.0) probe (0, 0) rgba (1.0, 5.0, 7.0, 12.0)
[pixel shader] [pixel shader]
@ -58,7 +58,7 @@ float4 main() : SV_TARGET
[test] [test]
uniform 0 float4 1.0 2.0 3.0 0.0 uniform 0 float4 1.0 2.0 3.0 0.0
uniform 4 float4 5.0 6.0 7.0 0.0 uniform 4 float4 5.0 6.0 7.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 3.0, 6.0, 7.0) probe (0, 0) rgba (1.0, 3.0, 6.0, 7.0)
[pixel shader] [pixel shader]
@ -74,7 +74,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 5.0, 7.0, 12.0) probe (0, 0) rgba (1.0, 5.0, 7.0, 12.0)
@ -89,7 +89,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (30.0, 40.0, 5.0, 6.0) probe (0, 0) rgba (30.0, 40.0, 5.0, 6.0)
@ -104,7 +104,7 @@ float4 main() : SV_TARGET
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (3.0, 4.0, 50.0, 60.0) probe (0, 0) rgba (3.0, 4.0, 50.0, 60.0)
@ -120,7 +120,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 2 uniform 0 float 2
draw quad todo(msl) draw quad
probe (0, 0) rgba (8, 9, 10, 11) probe (0, 0) rgba (8, 9, 10, 11)
@ -136,5 +136,5 @@ float4 main() : sv_target
[test] [test]
uniform 0 float 3 uniform 0 float 3
draw quad todo(msl) draw quad
probe (0, 0) rgba (12, 13, 14, 15) probe (0, 0) rgba (12, 13, 14, 15)

View File

@ -8,7 +8,7 @@ float4x1 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[pixel shader] [pixel shader]
@ -18,7 +18,7 @@ row_major float1x4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0) probe (0, 0) rgba (1.0, 2.0, 3.0, 4.0)
[rtv 0] [rtv 0]
@ -44,7 +44,7 @@ row_major float4x1 main() : sv_target
} }
[test] [test]
todo(sm>=6) draw quad todo(sm>=6 | msl) draw quad
probe rtv 0 (0,0) r (1.0) probe rtv 0 (0,0) r (1.0)
probe rtv 1 (0,0) r (2.0) probe rtv 1 (0,0) r (2.0)
probe rtv 2 (0,0) r (3.0) probe rtv 2 (0,0) r (3.0)
@ -57,7 +57,7 @@ float1x4 main() : sv_target
} }
[test] [test]
todo(sm>=6) draw quad todo(sm>=6 | msl) draw quad
probe rtv 0 (0,0) r (1.0) probe rtv 0 (0,0) r (1.0)
probe rtv 1 (0,0) r (2.0) probe rtv 1 (0,0) r (2.0)
probe rtv 2 (0,0) r (3.0) probe rtv 2 (0,0) r (3.0)
@ -78,7 +78,7 @@ void main(out float1x2 x : sv_target0, out float1x2 y : sv_target2)
} }
[test] [test]
todo(sm>=6) draw quad todo(sm>=6 | msl) draw quad
probe rtv 0 (0,0) r (1.0) probe rtv 0 (0,0) r (1.0)
probe rtv 1 (0,0) r (2.0) probe rtv 1 (0,0) r (2.0)
probe rtv 2 (0,0) r (5.0) probe rtv 2 (0,0) r (5.0)
@ -96,7 +96,7 @@ void main(out row_major float1x4 x : sv_target0, out float1x2 y : sv_target1)
} }
[test] [test]
todo(sm>=6) draw quad todo(sm>=6 | msl) draw quad
probe rtv 0 (0,0) rgba (1.0, 2.0, 3.0, 4.0) probe rtv 0 (0,0) rgba (1.0, 2.0, 3.0, 4.0)
probe rtv 1 (0,0) r (5.0) probe rtv 1 (0,0) r (5.0)
probe rtv 2 (0,0) r (6.0) probe rtv 2 (0,0) r (6.0)

View File

@ -8,7 +8,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.7 -0.1 0.0 0.0 uniform 0 float4 0.7 -0.1 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.7, 2.1, 2.0, -1.0) probe (0, 0) rgba (0.7, 2.1, 2.0, -1.0)
@ -24,7 +24,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.7 -0.1 0.4 0.8 uniform 0 float4 0.7 -0.1 0.4 0.8
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.7, 0.8, 0.7, 0.2) probe (0, 0) rgba (0.7, 0.8, 0.7, 0.2)
@ -39,7 +39,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (6.0, 5.0, 4.0, 5.0) probe (0, 0) rgba (6.0, 5.0, 4.0, 5.0)
@ -64,7 +64,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.7 -0.1 0.0 0.0 uniform 0 float4 0.7 -0.1 0.0 0.0
draw quad todo(msl) draw quad
probe (0, 0) rgba (-0.1, 2.0, 1.0, -2.0) probe (0, 0) rgba (-0.1, 2.0, 1.0, -2.0)
@ -80,7 +80,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 0.7 -0.1 0.4 0.8 uniform 0 float4 0.7 -0.1 0.4 0.8
draw quad todo(msl) draw quad
probe (0, 0) rgba (0.4, -0.1, -0.2, -0.1) probe (0, 0) rgba (0.4, -0.1, -0.2, -0.1)
@ -101,7 +101,7 @@ uint4 main() : sv_target
[test] [test]
uniform 0 uint4 1 2 0 0 uniform 0 uint4 1 2 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (2, 1, 2, 1) probe (0, 0) rgbaui (2, 1, 2, 1)
[rtv 0] [rtv 0]

View File

@ -17,7 +17,7 @@ float4 main() : sv_target
} }
[test] [test]
draw quad todo(msl) draw quad
probe (0, 0) rgba (197.0, 218.0, 238.0, 257.0) probe (0, 0) rgba (197.0, 218.0, 238.0, 257.0)
[rtv 0] [rtv 0]
@ -39,7 +39,7 @@ shader model < 6.0
[test] [test]
uniform 0 uint4 0 0 0 0 uniform 0 uint4 0 0 0 0
draw quad todo(msl) draw quad
probe (0, 0) rgbaui (0x7fff, 0xffff, 0, 0) probe (0, 0) rgbaui (0x7fff, 0xffff, 0, 0)
[require] [require]

Some files were not shown because too many files have changed in this diff Show More