vlj
623ddd966c
Merge pull request #2140 from vlj/rsx-refactor
...
Rsx refactor
2016-09-22 16:25:33 +02:00
vlj
9ff52cf063
rsx: Move printing function in a separate header/cpp
2016-09-22 15:44:59 +02:00
vlj
8f5e94c155
rsx: Set default attribute format to float.
2016-09-22 15:44:59 +02:00
vlj
6b7ce37374
rsx: vertex attribute size is 1 again for CMP, let backend handles this formats properties.
2016-09-22 15:44:59 +02:00
vlj
11a442272d
Merge pull request #2112 from vlj/rsx-refactor
...
Rsx refactor: Use variant for draw commands.
2016-09-17 23:53:59 +02:00
vlj
f87e396958
rsx: Dump DRAW_ARRAYS and DRAW_INDEX_ARRAYS.
2016-09-17 23:37:52 +02:00
vlj
8d54bcbc0d
rsx: Use variant based draw commands.
2016-09-17 23:37:52 +02:00
vlj
03c86ae43b
rsx: Move inline array to draw_clause structure.
2016-09-17 23:37:52 +02:00
vlj
ce21db2ce3
Tweak clang-format
2016-09-17 23:37:52 +02:00
vlj
d43edb19d2
Merge pull request #2134 from vlj/dx12-fix
...
Dx12 fixes
2016-09-12 20:38:56 +02:00
vlj
14205d3d1c
d3d12: CMP vertex format has 4 members.
...
Fix 1878
2016-09-12 00:20:11 +02:00
vlj
30b804e0bc
d3d12: Fix a potential race condition.
2016-09-12 00:20:10 +02:00
vlj
153f1cc50a
d3d12: Always set transform constant when debug output is enabled.
2016-09-12 00:20:10 +02:00
vlj
c0ab0dee6b
Merge pull request #2101 from vlj/rsx-refactor
...
Rsx refactor: Some cleanups
2016-08-27 18:21:16 +02:00
vlj
73e50b970d
Remove settings UI change that accidently slipped in.
2016-08-27 15:40:41 +02:00
vlj
11858dce1a
rsx: Vertex array attributes don't need to be stored outside of regs.
2016-08-27 15:40:41 +02:00
vlj
a64053fd68
rsx: Remove some unused code.
2016-08-27 15:40:41 +02:00
vlj
1ede5cbc4c
Add a git pre-commit hook running clang-format
2016-08-27 15:40:41 +02:00
vlj
7f3cb4d3c9
Merge pull request #2084 from vlj/rsx-refactor
...
RSX: Puts vertex buffer in array and in register in a variant type.
2016-08-25 21:14:51 +02:00
Vincent Lejeune
42b518cf7e
rsx: use range for vertex buffer attribute.
2016-08-24 21:58:59 +02:00
Vincent Lejeune
c24fba89e8
Add variant.hpp from mapbox
2016-08-24 21:58:59 +02:00
vlj
65fe9b0927
Merge pull request #2037 from vlj/rsx-refactor
...
Rsx: Remove vertex_draw_count (WIP)
2016-08-11 20:20:07 +02:00
Vincent Lejeune
619d605a9e
rsx: remove vertex_draw_count
2016-08-11 19:47:14 +02:00
Vincent Lejeune
b8721b6475
gl: Refactor vertex_buffer.cpp
2016-08-11 19:47:14 +02:00
Vincent Lejeune
a94b9d38b0
vk: refactor VKVertexBuffers.
2016-08-11 19:47:14 +02:00
Vincent Lejeune
c382ce5260
Add optional files.
2016-08-11 19:47:14 +02:00
vlj
b61ac15c47
Merge pull request #2034 from vlj/rsx-refactor
...
rsx: Returns u32 instead of size_t for get_index_count/type_size
2016-08-06 00:51:23 +02:00
Vincent Lejeune
fb47945930
rsx: Returns u32 instead of size_t for get_index_count/type_size
2016-08-06 00:25:23 +02:00
vlj
247c776a1b
Merge pull request #2033 from vlj/rsx-refactor
...
rsx: Use a "draw clause" object in rsx_state.
2016-08-05 23:48:48 +02:00
Vincent Lejeune
eb1d4811de
rsx: Use a "draw clause" object in rsx_state.
2016-08-05 23:33:40 +02:00
vlj
98f09e4f27
Merge pull request #2021 from vlj/rsx-refactor
...
rsx: Move index pointer generation in rsx::thread
2016-08-05 18:08:03 +02:00
Vincent Lejeune
7a6f5b6ee5
rsx: Move index pointer generation in rsx::thread.
2016-08-05 17:54:44 +02:00
vlj
662fce38bd
Merge pull request #2023 from raven02/texture
...
Ignore texture upload if texture width > pitch
2016-08-04 17:39:27 +02:00
vlj
470ed777c2
Merge pull request #2011 from vlj/rsx-dbg2
...
rsx-debug: Add a separate qt app
2016-07-31 22:44:03 +02:00
Vincent Lejeune
7195b2e907
rsx-debug: Add a separate qt app
2016-07-31 22:27:00 +02:00
vlj
32a03344b3
Merge pull request #2010 from vlj/rsx-refactor
...
rsx: Fix warning because of unused arguments
2016-07-31 19:32:30 +02:00
Vincent Lejeune
9e7902455d
rsx: Fix warning because of unused arguments
2016-07-31 19:19:21 +02:00
vlj
190fc4301e
Merge pull request #2008 from vlj/rsx-refactor
...
Rsx: Inline some rsx_state member and split some headers.
2016-07-31 17:16:04 +02:00
Vincent Lejeune
22a89a272e
Move all gcm enums into separate header/cpp.
2016-07-31 17:04:30 +02:00
Vincent Lejeune
4c46bde315
rsx: Inline rsx_state and texture constructors.
2016-07-31 16:48:09 +02:00
vlj
33e13aa7e7
Merge pull request #1994 from vlj/rsx-refactor
...
Rsx refactor: Implement serialisation of debug data
2016-07-30 18:52:39 +02:00
Vincent Lejeune
b9f4c15ec0
vm: Add missing headers.
...
vm.h relies on memory (std::shared_ptr) and functionnal (std::function).
2016-07-30 18:39:26 +02:00
Vincent Lejeune
15500d4ee9
rsx: implement serialization of rsx states.
2016-07-30 18:39:26 +02:00
Vincent Lejeune
2528fc4555
Add cereal dependency
2016-07-30 18:39:26 +02:00
vlj
2b6f8a075e
Merge pull request #1993 from vlj/rsx-refactor
...
rsx: Copy state in capture frame call
2016-07-27 22:54:16 +02:00
Vincent Lejeune
ac771f951d
rsx: Copy state in capture frame call
2016-07-27 20:20:35 +02:00
vlj
e297984e59
Merge pull request #1982 from vlj/rsx-refactor
...
rsx: Use bitfield template to decode values.
2016-07-27 19:12:59 +02:00
Vincent Lejeune
8b12379eb3
rsx: Use bitfield template to decode values.
2016-07-27 18:38:36 +02:00
vlj
2af86e363c
Merge pull request #1941 from vlj/rsx-refactor
...
rsx: Use register_decoder for vertex attributes.
2016-07-19 22:12:20 +02:00
Vincent Lejeune
e9bee80f4b
rsx: Use register_decoder for vertex attributes.
2016-07-19 20:28:32 +02:00
vlj
cc30e1aa47
Merge pull request #1940 from kd-11/master
...
dx12: Constant color/alpha blending
2016-07-19 20:27:55 +02:00
vlj
b2a7dac11b
Merge pull request #1916 from vlj/rsx-refactor
...
rsx: Gather most rsx commands pretty printing and state modification …
2016-07-17 17:56:36 +02:00
Vincent Lejeune
c6ed5a8e6b
gl: Fix direct call to rsx::method_registers array.
2016-07-17 17:31:53 +02:00
Vincent Lejeune
d97cdb9fbf
rsx: Gather most rsx commands pretty printing and state modification function in a single file.
...
rsx_decode.h implements a "rsx_decoders" template class that is specialized for most GCM command
found in rsx command buffer. 3 static members are defined : a "decode" function that turns command
value into a more meaninfull type if applicable (for instance bool for _enabled* command, surface
formats for set_surface_format command...), a "commit_rsx_state" that modifies a given rsx_state
structure when the command is parsed, and a "dump" function used in rsx_debugger for pretty printing.
Hopefully having the 3 functions in a single place for every command will act as a self documenting
list of rsx command buffer opcode.
rsx_state is also expanded into several explicit variables instead of being stored into a u32 array.
This should makes debugging easier (Visual Studio will display the exact value of these member for instance)
as well as preparing rsx_state for serialisation/deserialisation.
The vertex array and textures opcode are not concerned atm for bisecting purpose.
2016-07-17 17:31:53 +02:00
vlj
71b21fe793
Merge pull request #1869 from raven02/vertex
...
RSX: check vertex_draw_count
2016-07-08 15:54:33 +02:00
vlj
dcb3169f56
Merge pull request #1865 from vlj/rsx-refactor
...
Factorize rsx state
2016-07-07 22:49:23 +02:00
Vincent Lejeune
772706ca4c
Factorize rsx state
2016-07-07 21:38:57 +02:00
vlj
d846eac0f1
Merge pull request #1664 from vlj/rsx
...
Fix rpcs3-test build.
2016-04-08 00:01:20 +02:00
Vincent Lejeune
fefeba03b8
Fix rpcs3-test build.
2016-04-07 23:30:43 +02:00
vlj
56ac7f2572
Merge pull request #1662 from vlj/rsx
...
Rsx/common: Some factorisation
2016-04-07 22:50:15 +02:00
Vincent Lejeune
3a3d264cb5
rsx/common/d3d12/gl/vulkan: Set dst stride in write_vertex_array_data_to_buffer.
2016-04-07 22:17:28 +02:00
Vincent Lejeune
2ae5a7ff39
rsx/common/d3d12/gl/vulkan: Use single overload for write_index_array_data_to_buffer.
2016-04-07 22:17:28 +02:00
Vincent Lejeune
2e17ea1490
rsx/common/d3d12/vulkan: Factorise data_heap between vulkan and d3d12.
2016-04-07 22:17:28 +02:00
Vincent Lejeune
cbe119b457
rsx/common: Remove MIN2/MAX2 macro.
2016-04-07 22:17:28 +02:00
vlj
960f4ceefc
Merge pull request #1653 from tambry/cloud
...
HLE: cellPngDec fixes, Common/DX12/Vulkan: texture formats improved
2016-04-07 21:31:54 +02:00
vlj
8189577e8f
Merge pull request #1656 from mpm11011/master
...
Replace wx/xml with pugixml in rXML
2016-04-07 18:50:35 +02:00
vlj
62258a1f1a
Merge pull request #1661 from kd-11/gl
...
gl: Specify buffer to read for blitting during flip; Remove some deprecated gl from core
2016-04-06 22:03:14 +02:00
vlj
4eb1267c5c
Merge pull request #1657 from kd-11/vulkan-wip
...
vulkan: Properly handle ssa variable as local
2016-04-06 01:37:13 +02:00
vlj
b21e226b1c
Merge pull request #1654 from vlj/gl
...
Gl: Fixes missing geometry
2016-04-02 20:01:27 +02:00
Vincent Lejeune
99717b7902
gl: Fix vertex buffer size.
2016-04-02 18:27:49 +02:00
Vincent Lejeune
bad2d7f121
gl: Move vertex setting in a separate file.
2016-04-02 18:27:49 +02:00
vlj
8413cd7b0a
Merge pull request #1650 from vlj/gl
...
gl: Supports 1D and 3D textures.
2016-04-01 23:16:43 +02:00
Vincent Lejeune
d59486295d
gl: Supports 1D and 3D textures.
2016-04-01 00:52:51 +02:00
vlj
f81a02ed5e
Merge pull request #1648 from vlj/vulkan
...
Vulkan: Supports cubemap and 1D/3D texture.
2016-04-01 00:48:16 +02:00
Vincent Lejeune
69d08b6691
vulkan: Support cube and 1D/3D textures.
2016-03-31 23:50:14 +02:00
Vincent Lejeune
c95c4c32e6
vulkan: Always map at least 1 byte.
2016-03-31 23:50:14 +02:00
vlj
b46fc2fc49
Merge pull request #1649 from vlj/rsx
...
rsx/common: Remove extra "-2" in get_exact_mipmap_count non compresse…
2016-03-31 23:49:55 +02:00
Vincent Lejeune
5a3cf5d9ac
rsx/common: Remove extra "-2" in get_exact_mipmap_count non compressed format.
2016-03-31 20:40:19 +02:00
vlj
7542d38681
Merge pull request #1642 from vlj/d3d12
...
d3d12: Move sampler DescriptorHeap selection in D3D12GSRender
2016-03-31 20:06:41 +02:00
Vincent Lejeune
ce072f25e2
d3d12: Move sampler DescriptorHeap selection in D3D12GSRender
...
Avoid sampler descriptor being stored on 2 heaps inside a single draw
call. Fix somes crashes.
2016-03-31 17:56:30 +02:00
vlj
d5bb951237
Merge pull request #1644 from vlj/gl
...
Gl: Fix for cubemap and R5G6B5 rtt format.
2016-03-31 02:17:06 +02:00
Vincent Lejeune
4c0b5bbc62
gl: Correctly upload cubemap texture.
2016-03-31 00:15:19 +02:00
Vincent Lejeune
51a6862bf4
gl: Use right texture target.
2016-03-31 00:15:17 +02:00
Vincent Lejeune
b6c827b17a
gl: Fix r5g6b5 format.
2016-03-31 00:12:41 +02:00
Vincent Lejeune
17c4b2387e
gl: Fix unnormalized coord sampling.
2016-03-31 00:12:41 +02:00
vlj
f712b8aca4
Merge pull request #1643 from vlj/rsx
...
Rsx: Fix get_exact_mipmap_count and add a more convenient way to get tex dim.
2016-03-31 00:11:18 +02:00
Vincent Lejeune
91d0229bc5
rsx/common: Use an help texture_dimension_extended to handle cubemap more cleanly.
2016-03-30 22:19:29 +02:00
Vincent Lejeune
b7c539ad7a
rsx/common: Make get_exact_mipmap_count take compressed format into account
2016-03-30 22:19:29 +02:00
vlj
0c231e6578
Merge pull request #1639 from vlj/vulkan
...
Vulkan: Some fixes
2016-03-30 22:18:53 +02:00
Vincent Lejeune
77674be1c1
vulkan: Fix all warnings in VKGSRender project.
2016-03-30 21:16:53 +02:00
Vincent Lejeune
70903d46e6
vulkan: Reset command buffer after framebuffer flushing.
...
Fix a (false positive ?) layer error report about comand being called
before vkBeginCommandBuffer has been called.
2016-03-30 21:16:53 +02:00
Vincent Lejeune
f86c079acf
vulkan: Do not acquireNextImage twice when no rtt is present.
2016-03-30 21:16:53 +02:00
Vincent Lejeune
38d57eb02c
vulkan: Remove unneeded dirty_frame boolean.
2016-03-30 21:16:53 +02:00
Vincent Lejeune
d5e44f6224
vulkan: Fix stencil aspect mask sometimes missing.
2016-03-30 21:16:53 +02:00
vlj
427270884c
Merge pull request #1641 from vlj/rsx
...
Rsx: Use typed class for texture parameters
2016-03-30 21:16:35 +02:00
Vincent Lejeune
73233fd347
rsx/common: Use typed class for texture filters.
2016-03-30 20:03:50 +02:00
Vincent Lejeune
d971c4e0f6
rsx/common: Use typed enum for max anisotropy.
2016-03-30 20:03:50 +02:00
Vincent Lejeune
7f25720bd3
rsx/common: Use a typed enum for texture wrap mode.
2016-03-30 20:03:50 +02:00
Vincent Lejeune
f2c82d3cf4
rsx/common: Use a typed class for texture dimension.
2016-03-30 20:03:50 +02:00
vlj
d53a1d10ab
Merge pull request #1634 from danilaml/patch-2
...
Don't build rsx_program_decompiler
2016-03-30 20:02:35 +02:00