Henrik Rydgard
|
d05ef4a859
|
Pass through the DrawContext to texturecaches and fb managers.
This is preparation for sharing more framebuffer code between the
backends.
|
2017-02-05 19:51:50 +01:00 |
|
Henrik Rydgard
|
1a149ba02d
|
Final tweak to the cleaned up FBO api before moving it to thin3d. Buildfixes.
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
bec2921aca
|
Add escape route for some more esoteric FBO functionality
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
0b7f3720ae
|
More FBO api cleanup
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
daee5c24e5
|
Work towards unifying the GL and DX FBO APIs
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
089fa4f5a7
|
Delete more unused fbo functions
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
16dda97dfa
|
Get rid of fbo_unbind_read
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
8f00dd3f30
|
Hide glBlitFramebuffer behind fbo_blit
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
d14a388441
|
Hide glCopyImageSubData behind the FBO interface
|
2017-02-04 22:25:34 +01:00 |
|
Henrik Rydgard
|
3ceb0a8540
|
Some simple renaming
|
2017-02-04 11:47:19 +01:00 |
|
Henrik Rydgard
|
389650e2a7
|
Need to include getUVGenMode in vertex cache hash. Fixes #9263
|
2017-02-04 11:15:47 +01:00 |
|
xebra
|
82bb6cbaad
|
Fix #9275
|
2017-02-03 16:37:10 +09:00 |
|
xebra
|
37a0907598
|
Fix supporting gl_InstanceID.
|
2017-02-01 21:21:57 +09:00 |
|
xebra
|
918bee8801
|
Add support OES_texture_half_float.
|
2017-02-01 14:37:03 +09:00 |
|
xebra
|
4fbc92d3f0
|
Revert gpu features flags to 32-bit.
|
2017-02-01 00:14:38 +09:00 |
|
xebra
|
6adddbbd38
|
[spline/bezier]Turn off Hardware Tessellation if device is unsupported.
|
2017-01-31 23:37:07 +09:00 |
|
xebra
|
159aa1415d
|
[spline/bezier]Add some gpu features flags for Instanced Tessellation.
|
2017-01-31 23:37:06 +09:00 |
|
xebra
|
ce27f7b0b5
|
Expand gpu features flags to 64-bit.
|
2017-01-31 23:37:06 +09:00 |
|
Henrik Rydgard
|
0d1d6f98e4
|
Pass in the DrawContext to all backends
|
2017-01-30 20:26:47 +01:00 |
|
Henrik Rydgard
|
2a231b397b
|
Unbreak environment mapping
|
2017-01-30 16:13:47 +01:00 |
|
Henrik Rydgard
|
0e4fb11a2d
|
If we can predict that the texcoord.z will always be 1.0 after the matrix, skip texture projection. Should help #9189
|
2017-01-30 16:03:57 +01:00 |
|
Henrik Rydgard
|
24cc3dbc70
|
Always pass vec3 texcoord between vertex and fragment shader, to allow for some simplification.
|
2017-01-30 16:03:57 +01:00 |
|
Henrik Rydgard
|
5b1b4329fd
|
GL: some extra error checks for texture loading
|
2017-01-29 14:19:58 +01:00 |
|
Henrik Rydgard
|
d7da981a62
|
Make the Dangan Ronpa hack use the compat system instead of hacky code
|
2017-01-29 00:12:20 +01:00 |
|
Henrik Rydgard
|
e59cafe177
|
Don't rely on gstate_c.spline or bezier during shader compile, as that doesn't work with the cache. Should fix #9249
|
2017-01-28 22:34:10 +01:00 |
|
Henrik Rydgård
|
d5d9d87dc6
|
Update the shader cache version to avoid obsolete shaders sticking around. Should fix #9249.
|
2017-01-28 22:11:48 +01:00 |
|
Henrik Rydgard
|
182d87cc15
|
Minor cleanup in GPU dispatch tables
|
2017-01-28 12:11:56 +01:00 |
|
Henrik Rydgard
|
ab6bc4cb16
|
Restores a lost optimization from uv prescale - avoiding flushing. Should fix #9219.
Also #ifdef away some invalid-address checks in hot paths in the GPU.
|
2017-01-28 11:39:34 +01:00 |
|
Henrik Rydgard
|
9c55e1e0de
|
Only enable RAM Clears for the SOCOM games that require it.
Should remove the performance impact of #8994 which is bigger than
expected, it seems (cache pollution?)
|
2017-01-28 10:11:43 +01:00 |
|
xebra
|
a460acf411
|
[spline/bezier]Fix to build GLES.
|
2017-01-27 13:32:36 +09:00 |
|
xebra
|
0e6c2b00cf
|
[spline/bezier]Fix compatibility for GLES.
|
2017-01-27 13:32:35 +09:00 |
|
Henrik Rydgard
|
98e0ccf1e1
|
Vertex JIT: Add some missing functions to ARM/ARM64 decoders.
|
2017-01-25 20:13:29 +01:00 |
|
Henrik Rydgård
|
524854ac16
|
Merge pull request #9233 from xebra/spline_bezier
[spline/bezier]Remove wasted code.
|
2017-01-24 23:33:51 +01:00 |
|
xebra
|
133a9d78a8
|
[spline/bezier]Remove wasted code.
|
2017-01-25 06:35:36 +09:00 |
|
Henrik Rydgard
|
d85888dc2b
|
Table-driven dirty-flags for Vulkan and D3D9. Minor Vulkan optimization.
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
1fe32d380b
|
Update lots of dirty-flag table entries
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
c70265d7f2
|
Use table-driven dirtying instead of callbacks in GPU_GLES
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
e4cb44c243
|
Merge the texture flags into the dirty flags
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
c289a2c7bf
|
Split TextureChanged into two bools, so we can later convert to dirtyflags
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
7d60ec73be
|
Move framebufChanged into the dirty flag field
|
2017-01-24 18:12:20 +01:00 |
|
Henrik Rydgard
|
b423998c36
|
Move uniform dirty-flag to gstate_c, opening up for other uses.
|
2017-01-24 18:12:20 +01:00 |
|
xebra
|
3ecff41908
|
[spline/bezier]Fix to avoid temporarily texture animation bug with hardware tessellation.
|
2017-01-24 14:39:19 +09:00 |
|
Henrik Rydgard
|
f111767315
|
Workaround the lack of support for software skinning in Vulkan
|
2017-01-23 22:06:30 +01:00 |
|
Henrik Rydgard
|
69267d4cd6
|
Minor optimizations
|
2017-01-23 21:14:27 +01:00 |
|
Henrik Rydgard
|
ae37df0a8c
|
Further centralization of EstimatePerVertexCost, now moved to GPUCommon
|
2017-01-23 21:11:39 +01:00 |
|
Henrik Rydgard
|
daf02f1de6
|
Centralize the matrix load functions, no need to duplicate them for each backend.
|
2017-01-23 21:11:39 +01:00 |
|
Henrik Rydgard
|
3c221a7ebd
|
Extract the dirty flag from the shader managers so code that dirties uniform flags can be shared.
|
2017-01-23 21:11:39 +01:00 |
|
Henrik Rydgard
|
097638f4fd
|
Fix crash bug
|
2017-01-23 21:09:20 +01:00 |
|
Henrik Rydgard
|
59d80a3785
|
Share the set of dirty flags between the backend, to let use share more code.
|
2017-01-23 20:39:17 +01:00 |
|
Henrik Rydgard
|
63c00ec528
|
Don't need to take vertex format into account when applying UV scale for spline/bezier
|
2017-01-23 17:44:13 +01:00 |
|