mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 11:45:42 -04:00
GPU/HW: Fix incorrect pipeline layout with texture buffers disabled
This commit is contained in:
parent
489235f48a
commit
98d5b98ab1
@ -1011,8 +1011,8 @@ bool GPU_HW::CompilePipelines()
|
||||
if (!fs)
|
||||
return false;
|
||||
|
||||
plconfig.layout =
|
||||
use_buffer ? GPUPipeline::Layout::SingleTextureBufferAndPushConstants : GPUPipeline::Layout::SingleTextureAndUBO;
|
||||
plconfig.layout = use_buffer ? GPUPipeline::Layout::SingleTextureBufferAndPushConstants :
|
||||
GPUPipeline::Layout::SingleTextureAndPushConstants;
|
||||
plconfig.fragment_shader = fs.get();
|
||||
for (u8 depth_test = 0; depth_test < 2; depth_test++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user