Commit Graph

44573 Commits

Author SHA1 Message Date
Twinaphex 7fb147e8b3
Merge pull request #6959 from stuartcarnie/sgc-metal
feat(Metal): Full screen support
2018-07-07 17:55:42 +02:00
Stuart Carnie 40a1446c95 feat(Metal): Reload shader preset when Metal driver reinitialized 2018-07-07 07:31:43 -07:00
Stuart Carnie 74e1f24e90 feat(Metal): Full screen support
* I believe there is a race condition where the viewport is not set
  correctly on launch
2018-07-06 23:38:34 -07:00
Stuart Carnie 01df2c5e88 fix(Metal): Check for nil drawable 2018-07-06 23:37:15 -07:00
Twinaphex dc161a1cb3
Merge pull request #6958 from RobLoach/defaced
code: Replace hexspeak code
2018-07-07 06:09:59 +02:00
Rob Loach 0f39ef4247
[#6955] Update hexspeak magic pointer code
Fixes #6955
2018-07-06 23:03:15 -04:00
Twinaphex e8fb22ba47
Merge pull request #6953 from Dwedit/cached_frame_hack2
Invalidate `frame_cache_data` pointer to prevent crash if first frame is paused
2018-07-06 20:36:32 +02:00
Dwedit 41ce61974d A hack to invalidate the `frame_cache_data` pointer during the following events:
Load Game, Reset, Init, Unload, Unload Game, Video Driver Destroy, Video Driver Free, Video Driver Init

This prevents an invalid pointer from being read if the first frame starts out paused.
2018-07-06 09:53:31 -05:00
twinaphex ceaa0259e5 Merge commit 'c8366b0b0f6ab996adcbcf1ee09a3ed6298e7d4e' 2018-07-06 05:17:39 +02:00
twinaphex c8366b0b0f Squashed 'deps/SPIRV-Cross/' changes from f96c9f9fb4..0f59016635
0f59016635 Merge pull request #636 from KhronosGroup/cfg-refactor
2bf57d6dff Deal with composite constants in variable initializer.
dcddd5326e Add LUT test cases for OpVariable with initializer.
af290ede87 Remove some redundant spvArrayCopy declarations.
8c314112b4 Run format_all.sh.
5582523d9a Add some tests for LUT promotion.
5143695080 Don't need to enclose expression for arrays.
d29f48ef06 Deduce constant LUTs from read-write variables.
b5ed706860 Hoist out variable scope analysis.
c26c41b26b Make the CFGs for all active functions available.
6fdadb9218 Track partial writes as well.
7216129377 Hoist out the inline VariableAccessHandler class.

git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: 0f590166359f4ee35d80040f0965417f482cd6b1
2018-07-06 05:17:39 +02:00
twinaphex 22d6930488 Some MSVC 2010 360 buildfixes 2018-07-06 04:45:52 +02:00
Twinaphex 974aa3c8ac
Merge pull request #6951 from Dwedit/message_loop_fix
Move Message loop call to right before `video_driver_get_status` call
2018-07-06 04:42:35 +02:00
Dwedit 838dcc8a5a Move Message loop call to right before `video_driver_get_status` call 2018-07-05 20:07:01 -05:00
Zoran Vuckovic 544802e1a8 Add dinput rumble support 2018-07-05 20:01:23 +02:00
twinaphex c3d469dd8e Revert "Moved WIN32 message loop out of win32_check_window, and into just before the call to runloop_iterate"
This reverts commit 7108628369.
2018-07-05 02:42:16 +02:00
twinaphex 31e76458f7 Merge commit 'aa9ebf5f29e1a22a5050572353b122915db1451d' 2018-07-05 02:10:00 +02:00
twinaphex aa9ebf5f29 Squashed 'libretro-common/' changes from 1548bee835..b857ce7fc5
b857ce7fc5 Cleanups

git-subtree-dir: libretro-common
git-subtree-split: b857ce7fc55d725246a095f766e2bb82bb1d4ce6
2018-07-05 02:10:00 +02:00
Twinaphex c54532d77d
Merge pull request #6950 from stuartcarnie/sgc-macos
fix(macOS): Fix older targets
2018-07-05 01:14:54 +02:00
Stuart Carnie d1712d7c5a fix(macOS): Fix older targets 2018-07-04 15:26:49 -07:00
Twinaphex a96b482d78
Merge pull request #6949 from stuartcarnie/sgc-macos
fix(macOS): Use correct availability macro check
2018-07-04 23:42:00 +02:00
Stuart Carnie d8061ac0e9 fix(macOS): Use correct availability macro check 2018-07-04 14:19:05 -07:00
Twinaphex 95500f5631
Merge pull request #6948 from stuartcarnie/sgc-metal
feat(Metal): Add support for overlays
2018-07-04 22:52:29 +02:00
twinaphex 155f797ccb Merge commit '2da12dca5803c3dcde920a1cff838fd98aecb36f' 2018-07-04 22:51:43 +02:00
twinaphex 2da12dca58 Squashed 'deps/SPIRV-Cross/' changes from e59cc24495..f96c9f9fb4
f96c9f9fb4 Merge pull request #635 from KhronosGroup/fix-631
e044732896 Support OpTypeImage with depth == 2 (unknown) properly.
a6814a405a Merge pull request #630 from KhronosGroup/fix-628
af2d3abd03 Fail more gracefully with some unsupported opcodes.
26107ba200 Fix os.errno issues on Travis.
ee44f6027b Changed OpTypeImage to only flag depth if the op is 1
c863f53cac Merge pull request #627 from KhronosGroup/macro-namespace-fix
9ddbd5aff6 Run format_all.sh.
f1752e58e1 Add basic namespace to internal macros.
d67e586b2e Merge pull request #626 from billhollings/master
9bf226cb05 Fixes for code review of PR 626.
4c5142b9d3 CompilerMSL support larger texel buffers by using 2D Metal textures.
314f39a7c4 Merge pull request #621 from billhollings/master
4beefe756c Fixes from PR 621 code review.
f66507a701 Merge branch 'master' of https://github.com/KhronosGroup/SPIRV-Cross
0ea5e0549e Merge pull request #615 from JustSid/master
5ac55ee735 Fixed emission of some legacy texture ops without requiring the appropriate extensions
ceec708b89 Added better fallbacks for legacy textureProjLod() and textureProjLodOffset() generation
994f789465 Merge pull request #624 from KhronosGroup/fix-619
33c61d2abe Support branch/loop hints in HLSL.
327fb03677 Merge pull request #623 from KhronosGroup/fix-618
2077478651 Merge pull request #622 from KhronosGroup/fix-620
10dfaf79d5 Support globallycoherent in HLSL.
ffa9133d77 Support ternary expressions in OpSpecConstantOp.
e091031613 CompilerMSL pass builtin struct members into functions.
7607eb6923 Merge pull request #617 from KhronosGroup/fix-612
d94d20f4f3 Deal with some builtins being declared with wrong signedness.
0f62b5dc1e Moved check for depth texture and shadowXY emission completely to legacy_tex_op()
447a253ce7 Simplified check for depth texture
76c8e3c1c4 Merge pull request #616 from KhronosGroup/fix-614
b29629fd46 Add support to remove SPIRV_Cross_BaseInstance uniform.
809631ce21 Mention JSON backend in README.
040204d65c Fix warnings and run format_all.sh.
b4c8c3b9b2 Merge branch 'reflection' of git://github.com/jherico/SPIRV-Cross
f6dad78c99 Added support for shadowXY() sample instructions in legacy GLSL
9ad432463c Prefix integer types with underscore
0ad0f948e1 More PR feedback
3b30202bee Add reflection specific test cases, add reflection testing to test_shaders.sh
8d84a541ac Add specialization constant output in reflection
762040084d More feedback
d0a67ba6a7 Code consolidation, const correctness, faster regression testing
3a825349bc More cleanup
6c88b0048b PR feedback
ee86000529 Cleanup code
709d3c60f2 Working on reflection output
0039cb86fc Merge pull request #613 from KhronosGroup/fix-609
9d31154917 Deal with switch case labels which share a block.

git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: f96c9f9fb4fc7d17991cecb2b2294dce06d08d9c
2018-07-04 22:50:02 +02:00
Stuart Carnie c7b21d5bd6 feat(Metal): Add support to disable display sleep (no screen saver) 2018-07-04 13:13:03 -07:00
Stuart Carnie a19ea2ed07 feat(Metal): Add support for overlays 2018-07-04 13:12:40 -07:00
Twinaphex 4b6d6dd421
Merge pull request #6946 from Dwedit/bom_fix
Fix missing BOM on msg_hash_pl.h
2018-07-04 21:32:45 +02:00
Twinaphex a0b1937584
Merge pull request #6947 from Dwedit/message_loop_fix
Moved WIN32 message loop from win32_check_window to before runloop_iterate
2018-07-04 21:30:11 +02:00
Dwedit 7108628369 Moved WIN32 message loop out of win32_check_window, and into just before the call to runloop_iterate 2018-07-04 14:20:38 -05:00
Dwedit 3deb56690a Fix missing BOM on msg_hash_pl.h 2018-07-04 14:14:01 -05:00
Twinaphex 63a071b85a
Merge pull request #6945 from Themaister/master
Vulkan: WSI stability fixes
2018-07-04 21:04:08 +02:00
Hans-Kristian Arntzen 52cb0fe375 Vulkan: Fix crash when we get two create_swapchain errors in a row. 2018-07-04 20:25:03 +02:00
Hans-Kristian Arntzen f1d2dac213 Vulkan: Fix various stability issues with WSI.
Added an ifdef to trigger "hardening" which will return spurious errors
for critical WSI things like acquire next image, queue submit and
surface dimension queries.
2018-07-04 19:45:54 +02:00
Twinaphex c8fc27099d
Merge pull request #6944 from stuartcarnie/sgc-metal
feat(Metal): Support vsync enable / disable
2018-07-04 19:08:01 +02:00
Stuart Carnie 048aa16599 feat(Metal): Support vsync enable / disable 2018-07-04 09:50:09 -07:00
Twinaphex 2752651de9
Merge pull request #6941 from stuartcarnie/sgc-metal
fix(Metal): fix XRGBA rendering; no nil texture; undefined stuff bad
2018-07-04 18:08:04 +02:00
Stuart Carnie 844e5e15d0 fix(Metal): fix XRGBA rendering; no nil texture; undefined stuff bad 2018-07-04 08:50:46 -07:00
Twinaphex c0dba89d43
Update CHANGES.md 2018-07-04 15:30:07 +02:00
Twinaphex 5552838e34
Merge pull request #6940 from DEX357/patch-17
Update msg_hash_pl.h
2018-07-04 15:05:02 +02:00
Twinaphex 06d8b1fbaa
Merge pull request #6939 from theheroGAC/patch-34
Update msg_hash_it.h
2018-07-04 15:04:54 +02:00
Twinaphex 5575bdb449
Merge pull request #6938 from stuartcarnie/sgc-metal
feat(metal): xmb menus and shader pipeline support
2018-07-04 15:04:44 +02:00
DEX357 17f0ef7dd8
Update msg_hash_pl.h 2018-07-04 12:10:39 +02:00
Stuart Carnie 8a298616aa chore(cocoa): reformat (3 spaces, etc) 2018-07-04 00:24:47 -07:00
Stuart Carnie 5240efc857 chore(Metal): fix compiler warnings when targeting newer macOS versions 2018-07-04 00:24:04 -07:00
Stuart Carnie 30d2192338 fix(Metal): Fix release build crash for misaligned read 2018-07-04 00:16:14 -07:00
theheroGAC 905e9e83c0
Update msg_hash_it.h 2018-07-04 08:27:33 +02:00
Stuart Carnie 44ca1062b0 formatting 2018-07-03 22:32:12 -07:00
Stuart Carnie a0900ec433 feat(Metal): full xmb pipeline support
Menu TODOs:

* understand why ribbon does not look the same as GL
* add clear support to `MenuDisplay` for glui
2018-07-03 22:32:12 -07:00
Stuart Carnie 4a101734a1 More cleanup
* use single render command encoder for display for better performance
* Context handles all rendering and presentation
2018-07-03 22:32:12 -07:00
Stuart Carnie 1c5d94aca1 Improve performance; don't care about previous state ofcolor attachment
Color attachment is being completely overwritten.
2018-07-03 22:32:12 -07:00