Commit Graph

703 Commits

Author SHA1 Message Date
Unknown W. Brackets
3fbb545451 Allow MakePixelTexture to use a subrange.
For example, if it has a larger texture it wants to reuse, it can control
this via texcoords.  Let's keep it at top left, though.
2017-03-22 20:56:26 -07:00
Unknown W. Brackets
1932f4097b Fix a type conversion warning. 2017-03-20 07:21:54 -07:00
Unknown W. Brackets
d4ff7cc928 Spline: Simplify uniforms/dirty to one check.
This makes backends more consistent in which values they use, and reduces
the (relatively uncommon compared to other drawcalls) dirty checks for
splines.
2017-03-19 20:05:56 -07:00
Henrik Rydgard
c502692490 Minor cleanup 2017-03-19 18:00:57 +01:00
Henrik Rydgard
1566ab9ac3 With this, lens flare works in 2x+ in Burnout Legends. #9361 2017-03-19 17:54:21 +01:00
Henrik Rydgard
2eed2a28c7 D3D11: Avoid a framebuffer copy when reading back data if rendering at 1x
Fix the size of the framebuffer copy.
2017-03-19 17:54:21 +01:00
Unknown W. Brackets
9b42515ef7 D3D11: Correct GE debugger stencil value display.
When hovering over a pixel, if we send a float, it won't show the 0-255
value, which we'd prefer for stencil values.  This is the easy fix.
2017-03-19 07:45:52 -07:00
Henrik Rydgard
ef26ee267d D3D11: Get rid of a forgotten half pixel offset. Improves #9361 2017-03-19 14:57:48 +01:00
Henrik Rydgard
478b5dcbe1 Fix bug in D3D11 framebuffer readbacks, helps #9361, though seems off by half a pixel? 2017-03-19 14:22:06 +01:00
Henrik Rydgard
032c340f50 Revert "Vertexcache ComputeMiniHashRange: Doesn't make sense to hash more data than the step size."
This reverts commit 0bbb61e5d2.
2017-03-19 12:47:12 +01:00
Henrik Rydgard
0bbb61e5d2 Vertexcache ComputeMiniHashRange: Doesn't make sense to hash more data than the step size. 2017-03-19 12:08:21 +01:00
Unknown W. Brackets
ae2c0193b8 D3D11: Report unexpected self-renders. 2017-03-18 13:52:30 -07:00
Henrik Rydgard
23367925f1 Change a PanicAlert to an ERROR_LOG. Should possibly report..
http://forums.ppsspp.org/showthread.php?tid=1310&page=3

Add a comment.
2017-03-18 21:25:30 +01:00
Unknown W. Brackets
48a5488bf3 Merge pull request #9442 from hrydgard/clut-texture-format-compatibility
D3D11: Expand 16-bit CLUT textures to 32-bit if not supported.
2017-03-17 12:57:12 -04:00
Henrik Rydgård
5d613bf565 Set pitch correctly when uploading converted CLUT textures 2017-03-17 16:56:45 +01:00
Henrik Rydgård
94f16e3b7c GPU: Move "if (resized_)" to BeginHostFrame to avoid desynchronized settings.
Also wipe the input layout cache on D3D11 on resize.

Fixes #9438.
2017-03-17 11:26:11 +01:00
Henrik Rydgård
20f9ae3114 Make sure UpdateCmdInfo is called "in sync" with settings changes. Fixes #9438.
(well, at least the software skinning part. not sure if there are more).
2017-03-17 10:48:43 +01:00
Henrik Rydgård
17a250df7a Always trigger gpu->Resized when exiting GameSettingsScreen.
Strangely, this does NOT help #9438.
2017-03-17 10:27:49 +01:00
Henrik Rydgård
58c2ba987d D3D11: Expand 16-bit CLUT textures to 32-bit if not supported. 2017-03-17 10:11:17 +01:00
Henrik Rydgård
d8abcb8d74 D3D9: Set the right Z in ApplyBounds 2017-03-17 10:00:45 +01:00
Henrik Rydgård
4fec3187e4 D3D11: Fix stencil=255 bug 2017-03-15 17:50:10 +01:00
Henrik Rydgard
5a946d985b Unify most of the rest of the command table entries 2017-03-14 13:47:34 +01:00
Henrik Rydgard
c74d6fcde7 Unify some vertex shader related settings in the command tables 2017-03-14 13:44:18 +01:00
Henrik Rydgard
cd6d5a0d7f Unify fragment shader settings in the command table 2017-03-14 13:42:48 +01:00
Henrik Rydgard
bc641e6c56 Unify minz/maxz in command tables 2017-03-14 13:41:13 +01:00