Fixed crash with Vulkan when using the colorProcess shader. Close #891

This commit is contained in:
Robert Beckebans 2024-05-21 20:12:03 +02:00
parent 6d19aa5bb8
commit 8613b2bc69
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
// *INDENT-OFF*
Texture2D t_CurrentRender : register( t0 VK_DESCRIPTOR_SET( 0 ) );
SamplerState LinearSampler : register( s0 VK_DESCRIPTOR_SET( 2 ) );
SamplerState LinearSampler : register( s0 VK_DESCRIPTOR_SET( 1 ) );
struct PS_IN
{

View file

@ -59,7 +59,7 @@ void main( VS_IN vertex, out VS_OUT result )
result.color = rpUser1; // targetHue
result.texcoord0.x = vertex.texcoord.x;
result.texcoord0.y = 1.0f - vertex.texcoord.y;
result.texcoord0.y = /*1.0f -*/ vertex.texcoord.y;
result.texcoord0.z = rpUser0.x; // fraction
}