mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-02-23 01:56:14 -05:00
libobs' shader language is basically HLSL, and tex.Load uses an int3 for 2D textures, with texture mipmap index for the last component. This bug bypassed testing because the front-end automatically switches to OpenGL if D3D11 initialization fails, and when converted to GLSL, works fine because texelFetch only requires two components. This also means there's a bug in GLSL shader conversion code, because it's essentially ignoring the third component when it shouldn't be.
9.2 KiB
9.2 KiB