mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 06:34:10 +00:00
Fixed crash with Vulkan when using the colorProcess shader. Close #891
This commit is contained in:
parent
6d19aa5bb8
commit
8613b2bc69
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue