mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 12:35:41 -04:00
GPU/HW: Fix incorrect layout for non-buffer VRAM write
This commit is contained in:
parent
dc5e4120cd
commit
48a1282a08
@ -1011,7 +1011,8 @@ bool GPU_HW::CompilePipelines()
|
|||||||
if (!fs)
|
if (!fs)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
plconfig.layout = GPUPipeline::Layout::SingleTextureBufferAndPushConstants;
|
plconfig.layout =
|
||||||
|
use_buffer ? GPUPipeline::Layout::SingleTextureBufferAndPushConstants : GPUPipeline::Layout::SingleTextureAndUBO;
|
||||||
plconfig.fragment_shader = fs.get();
|
plconfig.fragment_shader = fs.get();
|
||||||
for (u8 depth_test = 0; depth_test < 2; depth_test++)
|
for (u8 depth_test = 0; depth_test < 2; depth_test++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user