1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00
Commit Graph

4255 Commits

Author SHA1 Message Date
Vincent Lejeune
3b3fffa962 vulkan: Remove redundant texture::create/init overloads 2016-03-15 22:03:24 +01:00
Vincent Lejeune
63ad2cce72 vulkan: Use ring allocation for uniform/index buffers by using simpler memory_block and buffer class. 2016-03-15 22:03:24 +01:00
Vincent Lejeune
da2caa0881 vulkan: precompute memory type mapping. 2016-03-15 22:02:30 +01:00
vlj
93b06f2a39 Merge pull request #1578 from kd-11/vulkan-wip
vk: Re-enable fog parameters for vulkan
2016-03-15 21:54:40 +01:00
kd-11
f2d5542e66 Re-enable fog parameters for vulkan 2016-03-15 22:32:32 +03:00
vlj
7584f29ec7 Merge pull request #1562 from MyaniPT/patch-1
Set Write/Read Color/Depth Buffers to false by default
2016-03-14 22:14:01 +01:00
AnnieL
9fd244cf9c Set Write/Read Color/Depth Buffers to false by default
Since they're not working properly right now, there's no reason for them to be enabled by default.
2016-03-14 19:06:20 +00:00
vlj
bb722d5824 Merge pull request #1573 from vlj/rsx
rsx/common/d3d12/gl/vulkan: Unify texture upload code.
2016-03-14 20:05:32 +01:00
Vincent Lejeune
5de70628d7 rsx/common/d3d12/gl/vulkan: Unify texture upload code. 2016-03-14 19:10:51 +01:00
Raul Tambre
e33c684b49 Merge pull request #1564 from kd-11/vulkan-wip
vk/gl: Add some more blend ops for vulkan; fix immutable storage for opengl
2016-03-14 19:38:37 +02:00
kd-11
d9dbb1565a Immutable textures cannot be reused! 2016-03-14 18:14:06 +03:00
kd-11
34992d8a8f vk: Add some more blend ops 2016-03-14 18:14:06 +03:00
Ivan
9d7c186a4f Merge pull request #1571 from tambry/build_fix
Fix Release build
2016-03-13 21:02:28 +03:00
Nekotekina
702193a6c7 Build fixed 2016-03-13 19:39:54 +02:00
vlj
bbe00f6505 Merge pull request #1569 from vlj/vulkan
vulkan: Zero initialize as much structure info as possible.
2016-03-13 00:10:11 +01:00
Vincent Lejeune
70a80b84d7 vulkan: Zero initialize as much structure info as possible.
This fixes a crash with nvidia driver in present call (likely because of
some uninitialized member)
2016-03-12 22:22:28 +01:00
vlj
c8cc681591 Merge pull request #1566 from vlj/vulkan
Vulkan: Uses d24_s8 or d32_s8 depending on availability.
2016-03-12 19:39:46 +01:00
Vincent Lejeune
8604f5a02f vulkan: Use d24_u8 or d32_u8 depending on hw support. 2016-03-12 15:56:23 +01:00
Vincent Lejeune
26ff4fd6b7 vulkan: Uses debug output setting to enable debug layers. 2016-03-12 15:23:39 +01:00
vlj
4bfd019c0d Merge pull request #1563 from kd-11/rsx_texture_formats
rsx: support for more formats
2016-03-12 01:43:37 +01:00
kd-11
82bc41f4ad rsx: support for more formats
rsx: support R5G5B5A1 textures
2016-03-11 18:02:29 +03:00
vlj
01abb255b2 Merge pull request #1548 from kd-11/vulkan-latest-wip
Add vulkan backend
2016-03-11 00:08:32 +01:00
kd-11
cc713a0091 vk: Release dirty resources to prevent mem leak 2016-03-10 23:55:25 +03:00
kd-11
93032be4ab Move waiting for submit fence to the right place (nvidia crash) 2016-03-10 23:55:25 +03:00
kd-11
26964efa7e Support stencil formats
Fix appveyor build
2016-03-10 23:55:25 +03:00
kd-11
f0ded46753 Fix apple build by excluding vk project 2016-03-10 23:55:25 +03:00
kd-11
47d251a818 Change render target layout before clearing
Use LAYOUT_GENERAL during clear; move renderpass begin to draw call end
2016-03-10 23:55:25 +03:00
kd-11
b018c91135 Make render-targets GPU resident
Fix minor regressions that occured during merge
2016-03-10 23:55:25 +03:00
kd-11
d910d2c572 Fix vulkan swap modes for nvidia
CMakeLists edits

Check for linear tiling support for all usage attributes
2016-03-10 23:55:25 +03:00
kd-11
f384d87044 Fix build dependancies and fix gcc build
Factor out _aligned_malloc functions to WIN32 only

Attempt to fix CmakeLists error

More CMakeLists fixes (glslang)

Add OSDependent libs

Add OGLCompiler and SPIRV as well
2016-03-10 23:55:25 +03:00
kd-11
bd52bcf8d4 Fix nvidia crash (API version). Fix linux builds
Properly set up vulkan API version when creating instance

Fix gcc error about passing function result by reference

Fix alot of warnings in VKGSRender project

More fixes for gcc

Fix texture create function
2016-03-10 23:55:25 +03:00
kd-11
d58bd1c916 Exclude apple from vulkan windowing stuff as it is not supported 2016-03-10 23:55:25 +03:00
kd-11
22d49ae96a Fix build for non-WIN32 platforms
Link explicitly against vkstatic.1.lib

fix linux path for vulkan glsl compiler

Restore wxWidgets version
2016-03-10 23:55:25 +03:00
kd-11
3b6e3fb3b4 Rework vertex upload code and fix indexed renders
Rebase on current master; Refactor vertex upload code

Fix build; Minor fixes

Start preparations for merge

Fix generic indexed drawing bugs

Define WIN32_KHR only for windows

Remove linking against vulkan-1.lib
2016-03-10 23:55:25 +03:00
kd-11
d287ba44ce Add vulkan GS backend to project 2016-03-10 23:55:25 +03:00
Ivan
4c133ab5bf Merge pull request #1559 from kd-11/gl_memory_leak_fix
gl: Clean up invalidated resources to fix mem leak
2016-03-09 21:58:46 +03:00
kd-11
ee0eb70de4 Clean up invalidated resources 2016-03-09 21:11:22 +03:00
vlj
4b0b65c0c5 Merge pull request #1552 from danilaml/fixes
Fixes for #1550 and #1546
2016-03-07 20:10:59 +01:00
Danila Malyutin
d0ea8d5262 Update gslnag submodule. Fixes #1550 2016-03-07 04:48:05 +03:00
Danila Malyutin
9b505984f2 Fix for #1546 2016-03-07 04:09:42 +03:00
vlj
9adb534c7f Merge pull request #1551 from vlj/build
build: Update wxWidget to 3.1
2016-03-06 22:35:51 +01:00
Vincent Lejeune
c3fb1419fd build: Update wxWidget to 3.1 2016-03-06 21:15:51 +01:00
B1ackDaemon
dd233c9f38 Merge pull request #1543 from vlj/gl
Gl: Factorisation of texture init code
2016-03-05 23:31:10 +02:00
Vincent Lejeune
9e01f2817f gl: Use less costly glTexStorage2D instead of glTexImage2D. 2016-03-05 22:04:28 +01:00
Vincent Lejeune
8831bd0918 gl: Factorize code in rsx_gl_texture.cpp 2016-03-05 22:04:28 +01:00
B1ackDaemon
b2b9f535dc Merge pull request #1540 from kd-11/gl_nvidia_cache_fix
gl: Checks for texture completeness, remove legacy GL_GENERATE_MIPMAP
2016-03-05 22:23:02 +02:00
kd-11
a880ce89d1 Checks for texture completeness, remove legacy GL_GENERATE_MIPMAP used wrongfully 2016-03-05 22:19:33 +03:00
Raul Tambre
06cbe4a0bc Merge pull request #1520 from tambry/shhh_penguin_is_ok
Fix directory opening on Linux systems (Fixes #1494)
2016-03-05 21:01:14 +02:00
Raul Tambre
a6a4081894 Fix directory opening on Linux systems 2016-03-05 20:21:43 +02:00
vlj
bcf4a6209e Merge pull request #1518 from vlj/rsx-debug
rsx-debug: Record and display index buffer content.
2016-03-05 19:20:28 +01:00