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
@@ -12,7 +12,7 @@ float4 main() : SV_TARGET
|
||||
uniform 0 float4 2.0 3.0 4.0 5.0
|
||||
uniform 4 float4 0.0 -10.0 10.0 100.0
|
||||
uniform 8 float4 0.0 1.0 -1.0 0.75
|
||||
draw quad
|
||||
todo(glsl) draw quad
|
||||
probe all 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 4 int4 0 -10 10 1000000
|
||||
if(sm>=4) uniform 8 int4 0 1 -1 1000000
|
||||
draw quad
|
||||
todo(glsl) draw quad
|
||||
probe all rgba (2.0, -10.0, -2.0, 1e12) 4
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ float4 main() : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
draw quad
|
||||
todo(glsl) draw quad
|
||||
probe all rgba (-6.0, -2.2, 4.48, 8.28) 1
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user