mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader_runner: Add GLSL support to the GL runner.
This commit is contained in:
committed by
Alexandre Julliard
parent
164608a007
commit
0715734dfb
Notes:
Alexandre Julliard
2024-03-19 23:17:49 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/730
@@ -23,7 +23,7 @@ float4 main(float tex : texcoord) : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
todo(sm<4) draw quad
|
||||
todo(sm<4 | glsl) draw quad
|
||||
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 (481, 0, 640, 480) rgba ( 5.0, 10.0, 0.0, 0.0)
|
||||
@@ -54,7 +54,7 @@ float4 main(float tex : texcoord) : sv_target
|
||||
|
||||
[test]
|
||||
uniform 0 uint4 10 0 0 0
|
||||
draw quad
|
||||
todo(glsl) draw quad
|
||||
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 (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]
|
||||
todo(sm<4) draw quad
|
||||
todo(sm<4 | glsl) draw quad
|
||||
probe all rgba (10.0, 45.0, 0.0, 0.0)
|
||||
|
||||
[pixel shader fail(sm<6)]
|
||||
|
Reference in New Issue
Block a user