Commit Graph

4359 Commits

Author SHA1 Message Date
kd-11 a120414d32 Set render target textures to clamp to border by default 2016-03-24 10:52:35 +03:00
vlj d995bfbdfb Merge pull request #1612 from vlj/vulkan
vulkan: Use simpler image object
2016-03-23 23:04:54 +01:00
Vincent Lejeune 36aace57ca vulkan: Use simpler texture object 2016-03-23 21:09:30 +01:00
vlj c6bd5d09f8 Merge pull request #1613 from vlj/gl
gl: Expand index for quads/quad_strip/triangle_fan
2016-03-22 22:23:51 +01:00
Vincent Lejeune 23a0116975 gl: Expand index for quads/quad_strip/triangle_fan 2016-03-22 21:39:00 +01:00
vlj f72f6fe9c5 Merge pull request #1611 from vlj/rsx
Rsx: Slight interface changes.
2016-03-22 19:55:53 +01:00
Vincent Lejeune b00acff9dd rsx/common: Turn alignment constraints in textureUtils to multiple_of constraints. 2016-03-22 19:06:09 +01:00
Vincent Lejeune 284d2c43f9 rsx/common: Use protected instead of private for surface_store content. 2016-03-22 19:06:09 +01:00
vlj 0a08f9595e Merge pull request #1609 from ProfessorKaos64/patch-1
Add missing build deps to readme
2016-03-22 19:05:36 +01:00
mikeyd 29c29d0074 Add missing build deps
* CMakeLists errors finding zlib library
* build-essential does not include clang or cmake, added (gcc is of course)
2016-03-22 10:32:11 -04:00
vlj efd52a0547 Merge pull request #1608 from vlj/vulkan
Vulkan
2016-03-21 23:46:20 +01:00
Vincent Lejeune 4f2bda26fc vulkan: Simplify framebuffer class and release them at frame flip 2016-03-21 22:56:07 +01:00
Vincent Lejeune a14dd8ea51 vulkan: Move sampler object outside of texture. 2016-03-21 22:10:36 +01:00
Vincent Lejeune 6f9f5f7918 vulkan: Create program in program_state_cache<>::build_pipeline 2016-03-21 22:10:34 +01:00
vlj 1f500aad53 Merge pull request #1603 from vlj/vulkan
vulkan: Remove buffer_deprecated completly.
2016-03-21 00:45:02 +01:00
Vincent Lejeune 34eb85683c vulkan: Remove buffer_deprecated completly.
attrib_buffer now use the simpler buffer struct.
2016-03-21 00:03:28 +01:00
vlj 6fab5a885f Merge pull request #1595 from MyaniPT/patch-1
Move 3rdparty dependencies to 3rdparty (part 1)
2016-03-21 00:02:40 +01:00
AnnieL 38f93461d1 Moves glm, GSL and libpng to 3rdparty
Moves glm and GSL to 3rdparty
Moves libpng to 3rdparty
2016-03-20 22:24:21 +00:00
AnnieL 6182f5346d Moves ffmpeg and minidx9 to 3rdparty 2016-03-20 22:21:35 +00:00
AnnieL afefecf1f0 Moves GL, minidx12, OpenAL, stblib to 3rdparty
Moves GL, minidx12, OpenAL, stblib to 3rdparty

Fixes AppVeyor and CMakeLists (travis-ci.yml doesn't need any changes)

Points directories in the VS solution files to the new ones on the
externals directory

Includes stuff with the < > syntax instead of " "
2016-03-20 22:20:23 +00:00
vlj ed03e41f88 Merge pull request #1605 from vlj/master
Revert "End of Line Normalization"
2016-03-20 22:57:57 +01:00
Vincent Lejeune f14a06938c Revert "End of Line Normalization"
This reverts commit 2060f02636.
2016-03-20 22:06:56 +01:00
vlj e91042af97 Merge pull request #1601 from mpm11011/master
Removing wx dependencies from Crypto/unself.cpp (attempt 3)
2016-03-20 17:08:13 +01:00
mpm11011 617a488a0a Change size to u64 2016-03-19 21:48:56 -04:00
mpm11011 854919b5e2 Merge remote-tracking branch 'refs/remotes/RPCS3/master' 2016-03-19 13:51:44 -04:00
vlj 8f788cb522 Merge pull request #1602 from vlj/vulkan
Vulkan: some refactoring
2016-03-19 18:47:49 +01:00
Vincent Lejeune 6078f25aa7 vulkan: Split get_compatible_sampler_format in two
Component mapping is not a sampler parameter.
2016-03-19 18:23:26 +01:00
Vincent Lejeune 4484e8c3f0 vulkan: Move vk_wrap_mode and max_aniso to vkFormat 2016-03-19 18:12:43 +01:00
Vincent Lejeune b6bcdade81 vulkan: Do not copy texture inside a render pass 2016-03-19 18:07:27 +01:00
mpm11011 6adf086ed1 Adding zlib to rpcs3/CMakeLists.txt
Fix zlib location in cmakelists

Potential fix to zlib include dir(s)
2016-03-19 12:47:07 -04:00
mpm11011 e7fc5228d5 MakeELF: Replaced wx streams with zlib functions 2016-03-18 23:36:08 -04:00
mpm11011 23f03a19e8 Added zlib directory to include dirs in props 2016-03-18 23:33:17 -04:00
mpm11011 2060f02636 End of Line Normalization 2016-03-18 23:14:52 -04:00
vlj e34b5f1f55 Merge pull request #1599 from vlj/vulkan
Vulkan: Fixes
2016-03-19 01:13:33 +01:00
Vincent Lejeune e083c1471c vulkan: Fix crash at exit 2016-03-19 00:17:00 +01:00
Vincent Lejeune d9eba43360 vulkan: Do not create empty render pass.
Fix a crash with radeon crimson drivers.
2016-03-19 00:16:59 +01:00
vlj 3506d03dc5 Merge pull request #1592 from vlj/vulkan
Vulkan: Avoid recreating render pass and descriptor set
2016-03-18 17:52:13 +01:00
Vincent Lejeune 24eb544046 vulkan: Move descriptor sets and layout in VKGSRender class
They're now shared between all programs.
2016-03-18 00:08:28 +01:00
Vincent Lejeune 6a1f0aed36 vulkan: Precompute all possibles render pass 2016-03-18 00:08:28 +01:00
vlj a0c433a065 Merge pull request #1587 from vlj/vulkan
Vulkan: Use a common descriptor layout for all program
2016-03-17 20:50:49 +01:00
Vincent Lejeune 6229733fbb vulkan: Use a shared pipeline layout 2016-03-17 20:03:09 +01:00
Vincent Lejeune 7e971eb032 vulkan: Fix for get_memory_mapping 2016-03-17 20:03:09 +01:00
vlj 01ce1c31d1 Merge pull request #1580 from MyaniPT/patch-1
Updates stblibs (stb_image and stb_truetype)
2016-03-17 20:01:55 +01:00
AnnieL 212fd4b340 Adds the stb_truetype Mac OSX fix from 64cfab5
Adds the stb_truetype Mac OSX fix from 64cfab5
Removes stb_image.c from the Visual Studio Project files since it got
deleted in previous commit
2016-03-17 18:03:59 +00:00
AnnieL 659f3d856a Update stb_truetype from 0.7 to 1.09
Updates stb_truetype.h from 0.7 to 1.09
Fixes '>=' signed/unsigned mismatch at cellFont.cpp lines 328 and 333 by
making both values unsigned (u32)
2016-03-17 18:03:59 +00:00
AnnieL 8cded28c45 Updates stb_image from 1.33 to 2.10
Updates stb_image from 1.33 to 2.10 which deprecates stb_image.c and
uses only stb_image.h
2016-03-17 18:03:59 +00:00
vlj 454fbce4c6 Merge pull request #1589 from kd-11/vulkan-wip
vk: Indexing into mipmap lod is scalar not vector
2016-03-17 18:52:30 +01:00
kd-11 26738762ea vk: Indexing into mipmap lod is scalor not vector 2016-03-17 19:43:41 +03:00
vlj cd5edc38ff Merge pull request #1585 from MyaniPT/patch-2
Fixes #1584 (Vulkan not being usable in non-w10 systems)
2016-03-17 14:39:54 +01:00
AnnieL 5250911a40 Fixes #1584
When DirectX 12 is missing, the emulator thinks Vulkan = DirectX 12 because Vulkan takes DX12's place in the box (id=2), and therefore runs DX12 when Vulkan is selected, crashing the emulator with an unhandled exception.

Fixes it by translating renderer string value to the respective enum class before sending the value to config.h instead of just relying on the box's selected id -> cbox_gs_render->GetSelection()

Also changes the order of the renderers (for convinience, now DX12 is id=3) from
Null, OpenGL, DirectX 12, Vulkan
to
Null, OpenGL, Vulkan, DirectX 12
2016-03-17 10:04:03 +00:00