Vulkan: Set alpha channel of swap chain buffers to 1.0.

Copying the alpha channel from the game causes issues with frame dumping,
since we're using a buffer directly from the GPU as a source for AVIDump.
This commit is contained in:
Stenzek
2016-10-05 22:02:04 +10:00
parent abb5a64919
commit c422fb7e82
2 changed files with 5 additions and 1 deletions

View File

@ -1521,7 +1521,7 @@ bool Renderer::CompileShaders()
void main()
{
ocol0 = texture(samp0, uv0);
ocol0 = float4(texture(samp0, uv0).xyz, 1.0);
}
)";