mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Lower separated samplers for SM1.
The combined sampler is created as a SAMPLER instead of a TEXTURE because that fits all our current infrastructure. The only problem is that in the CTAB it must appear as a Texture, so the new field hlsl_type.is_combined_sampler is added. Co-authored-by: Elizabeth Figura <zfigura@codeweavers.com>
This commit is contained in:
committed by
Henri Verbeet
parent
58d318719c
commit
3a6bf3be24
Notes:
Henri Verbeet
2024-12-10 15:58:19 +01:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1303
@@ -95,8 +95,8 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
todo(msl) draw quad
|
||||
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(1, 1, 1, 11)
|
||||
if(sm>=4) probe (0, 0) rgba(10, 10, 10, 11)
|
||||
|
||||
|
||||
[pixel shader]
|
||||
@@ -110,8 +110,8 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
todo(msl) draw quad
|
||||
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(1, 1, 1, 11)
|
||||
if(sm>=4) probe (0, 0) rgba(10, 10, 10, 11)
|
||||
|
||||
|
||||
[pixel shader todo(sm<4)]
|
||||
@@ -202,7 +202,7 @@ float4 main() : sv_target
|
||||
|
||||
[test]
|
||||
todo(msl) draw quad
|
||||
if(sm<4) todo probe (0, 0) rgba(453021, 453021, 453021, 111111)
|
||||
if(sm<4) probe (0, 0) rgba(453021, 453021, 453021, 111111)
|
||||
if(sm>=4) probe (0, 0) rgba(12333, 12333, 12333, 111111)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user