mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/glsl: Implement VKD3DSIH_ULT.
This commit is contained in:
parent
27eb3c07ad
commit
bc4aacd21e
Notes:
Henri Verbeet
2024-10-09 13:19:34 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1162
@ -1248,6 +1248,7 @@ static void vkd3d_glsl_handle_instruction(struct vkd3d_glsl_generator *gen,
|
|||||||
break;
|
break;
|
||||||
case VKD3DSIH_ILT:
|
case VKD3DSIH_ILT:
|
||||||
case VKD3DSIH_LTO:
|
case VKD3DSIH_LTO:
|
||||||
|
case VKD3DSIH_ULT:
|
||||||
shader_glsl_relop(gen, ins, "<", "lessThan");
|
shader_glsl_relop(gen, ins, "<", "lessThan");
|
||||||
break;
|
break;
|
||||||
case VKD3DSIH_IMAX:
|
case VKD3DSIH_IMAX:
|
||||||
|
@ -610,11 +610,11 @@ float4 main() : sv_target
|
|||||||
[test]
|
[test]
|
||||||
if(sm<4) uniform 0 float4 0 0 3 1
|
if(sm<4) uniform 0 float4 0 0 3 1
|
||||||
if(sm>=4) uniform 0 uint4 0 0 3 1
|
if(sm>=4) uniform 0 uint4 0 0 3 1
|
||||||
todo(glsl) draw quad
|
draw quad
|
||||||
probe (0, 0) rgba (304.0, 305.0, 306.0, 307.0)
|
probe (0, 0) rgba (304.0, 305.0, 306.0, 307.0)
|
||||||
if(sm<4) uniform 0 float4 1 0 3 1
|
if(sm<4) uniform 0 float4 1 0 3 1
|
||||||
if(sm>=4) uniform 0 uint4 1 0 3 1
|
if(sm>=4) uniform 0 uint4 1 0 3 1
|
||||||
todo(glsl) draw quad
|
draw quad
|
||||||
probe (0, 0) rgba (3.0, 4.0, 5.0, 6.0)
|
probe (0, 0) rgba (3.0, 4.0, 5.0, 6.0)
|
||||||
|
|
||||||
[require]
|
[require]
|
||||||
|
Loading…
Reference in New Issue
Block a user