Commit Graph

14566 Commits

Author SHA1 Message Date
Henrik Rydgard
38b803aba4 DX9: Enable vtxdec JIT, buildfix 2014-09-12 02:00:34 +02:00
Henrik Rydgard
4035b28503 Fix some endian-ness in generic vtxdec 2014-09-12 02:00:34 +02:00
Henrik Rydgard
1407648b59 D3D vtxdec: Convert weights and normals to float 2014-09-12 02:00:33 +02:00
Henrik Rydgard
0727df6f0a Jit the most common of the "ToFloat" texcoord conversions 2014-09-12 02:00:33 +02:00
Henrik Rydgard
37e3cf362f Move vertexdecoder files into GPU/Common 2014-09-12 02:00:32 +02:00
Henrik Rydgard
1f9c1719e3 Delete the DX9 vertex decoder, use the "GL" one instead (now common) 2014-09-12 02:00:32 +02:00
Henrik Rydgard
7cf05e44a2 Add option to vertexdecoder to expand UVs to floats 2014-09-12 02:00:31 +02:00
Henrik Rydgård
894a8cd9e9 Merge pull request #6884 from chinhodado/patch-4
Fix a wrong condition
2014-09-11 21:36:23 +02:00
chinhodado
fd13fcfa86 Fix a wrong condition 2014-09-11 15:21:18 -04:00
Henrik Rydgård
7ffb4602e3 Merge pull request #6873 from hrydgard/d3d-shader-cleanup
D3D shader cleanup - remove LinkedShaders and use fixed constant slots
2014-09-11 19:59:55 +02:00
Henrik Rydgård
8f04e43387 Merge pull request #6882 from unknownbrackets/jit-minor
armjit: Fix rounding mode, allow non flush-to-zero
2014-09-11 17:07:09 +02:00
Unknown W. Brackets
52b6f1095e armjit: Fix rounding mode, allow non flush-to-zero.
Default: force flush to zero (for RunFast mode.)  But now it's an ini
option so we can more easily compare armjit differences.
2014-09-11 07:58:51 -07:00
Henrik Rydgård
432bdef368 Merge pull request #6879 from unknownbrackets/gpu-minor
Bind the alphatest tex after we know vert alpha
2014-09-11 09:36:59 +02:00
daniel229
7c1d4234ab Replace frame download in Sakurasou No Pet Na Kanojo 2014-09-11 15:32:07 +08:00
Unknown W. Brackets
f7b669a740 Fix infinite recursion in framebuf create upload.
Needs to be done *after* currentRenderVfb_ is set.

Fixes #6872.
2014-09-10 23:59:12 -07:00
Unknown W. Brackets
3571ba6328 Merge pull request #6878 from daniel229/func_replace_orenoimouto
Replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai
2014-09-10 23:44:10 -07:00
Unknown W. Brackets
33ac30218a Bind the alphatest tex after we know vert alpha.
Before we sometimes thought alpha test was trivially true when it wasn't.
2014-09-10 23:43:48 -07:00
daniel229
22fa431f89 Replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai 2014-09-11 14:34:17 +08:00
Unknown W. Brackets
2e0df244bc Merge pull request #6877 from daniel229/func_replace_kirameki_update
Update the hook for Kirameki School Life SP
2014-09-10 22:54:31 -07:00
daniel229
81ec625d0a Update the hook for Kirameki School Life SP 2014-09-11 12:01:58 +08:00
Unknown W. Brackets
081d19d015 Merge pull request #6876 from chinhodado/patch-3
Fix a wrong condition in buffer resizing
2014-09-10 19:32:11 -07:00
chinhodado
31fc179bc2 Fix a wrong condition 2014-09-10 19:50:31 -04:00
Henrik Rydgård
a580b1ff41 Merge pull request #6875 from daniel229/func_replace_Kirameki
Replace frame download in Kirameki School Life SP.
2014-09-10 19:05:09 +02:00
daniel229
e8efab6d21 Change function name 2014-09-11 00:47:06 +08:00
daniel229
7f6f52a904 Fixes saveicons in Kirameki School Life SP. 2014-09-11 00:18:59 +08:00
Henrik Rydgard
7b66059ae0 D3D: Assorted cleanup. Add a missing register specification. 2014-09-10 15:20:57 +02:00
Henrik Rydgard
163f81e5be DX9: "Linked" shaders are now pointless, so remove them. 2014-09-10 14:07:30 +02:00
Henrik Rydgard
0dc6150a2e DX9: Not much point in tracking dirtiness per shader now that all constants are shared. 2014-09-10 13:57:19 +02:00
Henrik Rydgard
8bca420c0a Some renaming 2014-09-10 13:48:55 +02:00
Henrik Rydgard
bf7a4f9097 D3D: Use fixed constant registers for vertex shaders too. 2014-09-10 13:43:35 +02:00
Henrik Rydgard
d2d563cd2c D3D: Use fixed constant registers for pixel shader constants 2014-09-10 12:59:33 +02:00
Henrik Rydgard
14c8733def Uniforms/constants aren't shared in D3D, let's not pretend they are. 2014-09-10 12:40:15 +02:00
Henrik Rydgard
6fa1872163 DX9: Disable an annoying warning in vertex shader generator to clean up our reports
warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
2014-09-10 11:04:37 +02:00
Henrik Rydgård
cf9a6143ff Merge pull request #6869 from unknownbrackets/d3d9
d3d: Centralize more framebuffer management
2014-09-10 09:09:37 +02:00
Henrik Rydgard
94ad48c32b Disable D3D9Ex until we can tune for it. 2014-09-10 09:08:08 +02:00
Unknown W. Brackets
417bfc74c3 d3d: Fix drawpixels texture. 2014-09-09 23:55:00 -07:00
Unknown W. Brackets
22db52dbeb d3d: Don't statically import Direct3DCreate9Ex(). 2014-09-09 23:51:24 -07:00
Unknown W. Brackets
e9b87104ef Move FBO_OLD_AGE to the common header.
Guess it's fine here.
2014-09-09 23:11:25 -07:00
Unknown W. Brackets
e2a4a50511 d3d: Centralize framebuf creation/switch logic. 2014-09-09 22:58:43 -07:00
Unknown W. Brackets
ae2e8c5c7c d3d: Migrate a few more things into common code. 2014-09-09 22:58:11 -07:00
Henrik Rydgard
8ef326e531 D3D: Remove now-redundant texture coord scaling now that we decode the 8-bit and 16-bit formats in the vertex decoder 2014-09-09 22:32:59 +02:00
Henrik Rydgard
422ae62b63 D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.
MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
2014-09-09 22:28:35 +02:00
Sacha
8978182a41 Qt buildfix. 2014-09-10 06:02:42 +10:00
Henrik Rydgård
b7b47d8aee Merge pull request #6867 from hrydgard/revert-6835-principal_class
Revert "Set NSPrincipalClass to get retina widget rendering on OS X"
2014-09-09 17:42:54 +02:00
Henrik Rydgård
5a0a182a82 Revert "Set NSPrincipalClass to get retina widget rendering on OS X" 2014-09-09 17:42:27 +02:00
Henrik Rydgård
ee5799e80d Merge pull request #6866 from unknownbrackets/d3d9
d3d: Begin centralizing framebuffer management
2014-09-09 17:24:50 +02:00
Unknown W. Brackets
8c229e00b4 d3d: Begin centralizing framebuffer management. 2014-09-09 08:12:42 -07:00
Henrik Rydgård
7d6377295a Merge pull request #6864 from unknownbrackets/d3d9
Update Direct3D 9 texture cache
2014-09-09 10:45:27 +02:00
Unknown W. Brackets
d59aa06a3b d3d: Improve GE debugger with render-to-tex.
Also fix a crash in oddly sized framebuffers.
2014-09-09 01:42:21 -07:00
Unknown W. Brackets
e3d0703bbb d3d: Fix texture scaling. 2014-09-09 01:22:11 -07:00