Henrik Rydgard
d4e1fc8d93
More vulkan shutdown fixes
2017-05-07 11:08:09 +02:00
Henrik Rydgard
ff6fcc9179
More vulkan fixes
2017-05-07 10:53:04 +02:00
Unknown W. Brackets
4f6b9c1fd2
Arg, gcc buildfix.
2017-04-29 23:53:22 -07:00
Unknown W. Brackets
1666586869
SoftGPU: Implement CONTINUE prim type.
...
Matches tests (except 3D lines, which aren't implemented yet.)
2017-04-29 20:36:36 -07:00
Unknown W. Brackets
d7ca05b6b5
GPU: Fix black screen on buffered render enable.
...
We were never clearing the skip flag. Has been a bug since before v1.0.
2017-04-24 12:10:08 -07:00
Unknown W. Brackets
fd4399e108
GPU: Centralize fb resize, move to begin of frame.
...
It makes more sense here, because otherwise when you change it from the UI
settings, it takes a frame to "kick in".
2017-04-24 12:02:52 -07:00
Unknown W. Brackets
6c2f87b1df
GPU: Consistently use useBufferedRendering_.
2017-04-24 11:57:16 -07:00
Unknown W. Brackets
c29f70e5e9
GPU: Attempt recreate of FBOs if failed.
2017-04-24 09:41:41 -07:00
Unknown W. Brackets
97620d4cca
GPU: Rebuild FBOs when they now have storage.
2017-04-24 09:37:54 -07:00
Henrik Rydgård
1a58629cfb
Merge pull request #9633 from unknownbrackets/mipmaps
...
Improve support for mipmaps and related headless fixes
2017-04-23 21:11:02 +02:00
Unknown W. Brackets
4fb7e43af8
SoftGPU: Grab 4 S/T coords in non-through too.
2017-04-23 11:11:16 -07:00
Unknown W. Brackets
33ade5f916
GLES: Avoid MIN/MAX LOD without LOD control flag.
2017-04-23 10:51:25 -07:00
Unknown W. Brackets
81ee2e992e
SoftGPU: Interpolate through texturing better.
...
This is significantly faster.
2017-04-23 10:37:12 -07:00
Unknown W. Brackets
3142462ac6
SoftGPU: Rasterize triangles in chunks of 4 pixels.
...
Not very optimal yet.
2017-04-23 10:37:11 -07:00
Unknown W. Brackets
7112cdce81
SoftGPU: Use texture bufw in bytes.
2017-04-23 10:37:10 -07:00
Unknown W. Brackets
f3db8bccad
GLES: Support AUTO and CONST mip bias.
2017-04-22 18:40:18 -07:00
Unknown W. Brackets
57a839db17
Vulkan: NULL initialize some handles.
...
Was getting crashes until I realized buffered rendering was on.
2017-04-22 18:38:51 -07:00
Unknown W. Brackets
ae4c28aa4d
D3D9: Support AUTO mip bias and approximate CONST.
2017-04-22 18:38:08 -07:00
Unknown W. Brackets
90ad6c0a23
D3D9: Disable mips when mip filtering disabled.
...
Only GE_{LINEAR,NEAREST}_MIPMAP_* enable mipmaps.
2017-04-22 18:22:59 -07:00
Unknown W. Brackets
8e9945df97
D3D11: Approximate AUTO/CONST mip bias.
...
These generally work, as long as the mip levels are halving.
2017-04-22 18:22:22 -07:00
Unknown W. Brackets
6aad8ff2a2
GPU: Correct const mip 0 detection.
...
The other clause was mip 1.
2017-04-22 18:19:43 -07:00
Unknown W. Brackets
1e78642a7b
SoftGPU: Remove old spline handling code.
2017-04-15 21:10:19 -07:00
Unknown W. Brackets
ede9025447
SoftGPU: Simplify index conversion.
2017-04-15 21:01:17 -07:00
Unknown W. Brackets
65439b8e96
SoftGPU: Fix indices starting after 0.
...
We decode to 0, so we need to offset.
2017-04-15 20:49:49 -07:00
Unknown W. Brackets
b543c0d0e4
SoftGPU: Use common spline/bezier rendering.
...
There's nothing inherently non-software rendering about this.
2017-04-15 20:08:37 -07:00
Unknown W. Brackets
b67650a8ff
SoftGPU: Force render res to 1x.
...
This fixes issues with the vertex preview in the GE Debugger.
2017-04-15 19:54:42 -07:00
Unknown W. Brackets
31ddcd48ed
SoftGPU: Fix crash on matrix load.
...
Just stubbing the draw engine here.
2017-04-15 19:53:56 -07:00
Unknown W. Brackets
dfed20701a
SoftGPU: Correct negative coord handling.
...
Fixes #5159 - we need this signed to handle negative values properly.
2017-04-15 19:52:17 -07:00
Unknown W. Brackets
98ba7afa83
Destroy FBOs only on actual resize.
...
As a side effect, this means going to settings won't reset all FBOs
anymore. The behavior can still be obtained by changing render resolution
or rendering mode.
This makes resizing the window faster on Windows, and resumes quicker from
pause.
2017-04-13 23:36:17 -07:00
Unknown W. Brackets
030f803002
Remove unused parameter to DestroyAllFBOs().
2017-04-13 23:07:21 -07:00
Henrik Rydgård
0cb4344da1
Merge pull request #9603 from unknownbrackets/fb-resize
...
Fix framebuffer size flopping back and forth
2017-04-12 09:54:03 +02:00
Unknown W. Brackets
5a7ad5b176
Fix largest framebuf size in throughmode.
...
This was probably always meant to be <=, since it logically makes sense
for them to be equal.
Might fix cases of resizing down a framebuf in throughmode, where viewport
isn't as good a heuristic.
2017-04-12 00:20:50 -07:00
Unknown W. Brackets
088ced7261
Fix framebuffer size flopping back and forth.
...
If block transfers are keeping it larger, keep it larger.
2017-04-12 00:19:02 -07:00
Henrik Rydgård
c899882034
Fix issues with software GPU on D3D11
2017-04-11 12:53:11 +02:00
Henrik Rydgård
a85b76e671
Merge pull request #9585 from unknownbrackets/gpu-clear
...
Skip VRAM clears when no download has been made
2017-04-10 00:51:01 +02:00
Unknown W. Brackets
4a8c661c00
Skip downloads of cleared VRAM.
...
If we've just cleared VRAM, make sure we don't also download that clear.
2017-04-09 15:19:06 -07:00
Unknown W. Brackets
fe07b14a22
Cleanup 16-bit VRAM clearing.
2017-04-09 15:12:56 -07:00
Unknown W. Brackets
70d17d1bc7
Track flags to reduce unnecessary VRAM zeroing.
...
If we haven't downloaded to RAM since the last zero, no need to zero
again. This is the most common case.
2017-04-09 15:10:07 -07:00
Henrik Rydgård
706714e5c4
Merge pull request #9566 from unknownbrackets/gpu-blit
...
Fix out-of-bounds framebuffer blit on color bind
2017-04-07 09:31:18 +02:00
Unknown W. Brackets
ff14495511
Fix out-of-bounds framebuffer blit on color bind.
...
This corrects a crash reported in Persona 3 using D3D11.
2017-04-06 18:49:48 -07:00
Unknown W. Brackets
6642bf3170
Windows: Make UI update significantly cheaper.
...
Setting menu strings, reloading shaders, and redrawing the menu were all
a bit slow. This skips those things unless they've changed.
2017-04-04 20:33:22 -07:00
Henrik Rydgard
0e74ba6dc0
Fix R/B swap in D3D11 depal
2017-04-04 11:35:30 +02:00
Henrik Rydgard
22d5acb40e
Depal: Use the full CLUT mode setting as the depal shader key. Fixes #9550 for both D3D11 and D3D9.
2017-04-04 11:09:29 +02:00
Henrik Rydgård
6b9b26f521
Forgot to fix this accessor too
2017-04-03 18:06:49 +02:00
Henrik Rydgård
d0f3e5cb89
Don't wipe the Vulkan pipeline key, allow for building it incrementally
2017-04-03 17:26:54 +02:00
Henrik Rydgård
156bd47155
D3D11: Don't manually wipe the state keys. Make sure that the keys are properly initialized.
2017-04-03 17:20:31 +02:00
Henrik Rydgård
5a8e9c4f71
Port some accessors over from #9255 to be able to catch these changes and dirty state later.
2017-04-03 17:04:58 +02:00
Henrik Rydgård
1faae8b6d6
Port some other minor changes over from #9255
2017-04-03 16:47:30 +02:00
Henrik Rydgård
0903bfb5f5
More D3D11 reorg
2017-04-03 16:37:11 +02:00
Henrik Rydgård
73d762f506
Reorganize raster state mapping
2017-04-03 16:37:11 +02:00