Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GSdx-D3D: Texture and channel shuffle improvements #2347
Texture Shuffle changes:
Texture shuffle is not supported on D3D9, however we can do a partial
Ported some of the code from OpenGL to D3D
List of affected games tested so far:
Channel Shuffle changes:
Move part of the code for Texture Shuffle to GSRendererHW to be shared
OK, in this case you should add a note that they can't be supported on DX11. Unlike GL, you can't read the current framebuffer.
And did you check the behavior of shader for those parameters
By the way, did you check DX9 behavior ? DX9 GPUs don't support integer operation... (note I don't give a damn about dx9, it is only to be aware of the situation)
Yeah SHADER_MODEL >= 0x400
It doesn't work since the shader is for dx10+
Never mind, the issue is also present on master branch, maybe something to do with sw blending on Final Fight Streetwise ? I'm not sure, anyway you can merge it if it looks good.
edit: switching between oglhw/sw to dx9 on master