vkd3d-shader/glsl: Implement VKD3DSIH_SAMPLE_C_LZ.

This commit is contained in:
Henri Verbeet
2024-10-18 20:27:01 +02:00
parent 5958e527e5
commit 21e9029177
Notes: Henri Verbeet 2024-10-22 20:55:33 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1206
2 changed files with 20 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ float4 main() : sv_target
}
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (0.0, 0.0, 0.0, 1.0)
[sampler 0]
@@ -36,7 +36,7 @@ address clamp clamp clamp
comparison less
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (1.0, 0.0, 0.0, 1.0)
[sampler 0]
@@ -45,7 +45,7 @@ address clamp clamp clamp
comparison equal
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (0.0, 1.0, 0.0, 1.0)
[sampler 0]
@@ -54,7 +54,7 @@ address clamp clamp clamp
comparison less equal
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (1.0, 1.0, 0.0, 1.0)
[sampler 0]
@@ -63,7 +63,7 @@ address clamp clamp clamp
comparison greater
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (0.0, 0.0, 1.0, 1.0)
[sampler 0]
@@ -72,7 +72,7 @@ address clamp clamp clamp
comparison not equal
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (1.0, 0.0, 1.0, 1.0)
[sampler 0]
@@ -81,7 +81,7 @@ address clamp clamp clamp
comparison greater equal
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (0.0, 1.0, 1.0, 1.0)
[sampler 0]
@@ -90,7 +90,7 @@ address clamp clamp clamp
comparison always
[test]
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (1.0, 1.0, 1.0, 1.0)
@@ -118,7 +118,7 @@ float4 main() : sv_target
[test]
uniform 0 float 0.5
uniform 1 float 0.00000007
todo(glsl) draw quad
draw quad
probe (0, 0) rgba (0.0, 0.0, 1.0, 1.0)