kd-11
a42b00488d
rsx: Texture fixes
...
- gl/vk: Fix subresource copy/blit
- gl/vk: Fix default_component_map reading
- vk: Reimplement cell readback path and improve software channel decoder
- Properly name the subresource layout field - its in blocks not bytes!
- Implement d24s8 upload from memory correctly
- Do not ignore DEPTH_FLOAT textures - they are depth textures and abide by the depth compare rules
- NOTE: Redirection of 16-bit textures is not implemented yet
2018-04-25 19:14:36 +03:00
kd-11
cfd0b8a975
rsx: Fix alphakill
2018-04-05 01:06:50 +03:00
kd-11
93b2776604
rsx: Fix vertex input detection
...
- Properly detect inline array registers vs constant value registers
- Silence needless spam, 306E is 2D surface engiine, the assumption that y is multiplied by 306E pitch is not crazy
2018-04-05 01:06:50 +03:00
Jake
6d6d6fa827
dx12/vk/gl: implement use of vertex_data_base_index when calculating index
2018-03-30 13:30:04 +03:00
kd-11
7627ad04f1
rsx: Disable gamma control on WZYX textures
...
- Gamma is seemingly used for (D/X/A)RGB only. Data textures are unaffected
2018-03-29 13:52:11 +03:00
kd-11
321c360dcb
rsx: Overhaul rendertarget sampling/shuffles
...
- Reimplements render target views used for sampling
- Optimizes access using an encoded control token
- Adds proper encoding for 24-bit textures (DRGB8 -> ORGB/OBGR)
- Adds proper encoding for ABGR textures (ABGR8 -> ARGB8)
- Silence some compiler warnings as well
- TODO: Real texture views for OGL current method is a hack
2018-03-25 13:31:06 +03:00
kd-11
9fc1740608
rsx/fp: Fragment program overhaul
...
- Separate TXB from TXL: They are completely different!
- Properly perform TMU emulation in the fragment shader. Implemens SRGB conversion and alphakill at the moment
- Properly perform ROP emulation in the fragment shader. Implements FRAMEBUFFER_SRGB. While support on the chip looks to be incomplete (and wierd), it does work
- Document some more bits in SHADER_CONTROL register
2018-03-25 13:31:06 +03:00
kd-11
27552891ad
rsx/fp: Improvements
...
- Export some debug information in the free texture register space components zw
Very useful when analysing renderdoc captures
- Enable shadow comparison on depth as long as compare function is active and texture is uploaded for depth read
Some engines (UE3) read all the components in the shader and use mul/mad with the result
2018-03-25 13:31:06 +03:00
kd-11
5f047034ae
rsx: Disable async count verification to avoid lockup due to zombie reports in ZCULL
2018-03-13 18:55:03 +03:00
kd-11
f00d9a7c7f
rssx" Halfplement alpha-to-coverage AA transparency
2018-03-13 18:55:03 +03:00
kd-11
2dce55d036
rsx: ZCULL synchronization fixes
...
- Track asynchronous operations in RSX core
- Add read barriers to force pending writes to finish.
Fixes zcull delay flicker in all UE3 titles without forcing hard stall
- Increase zcull latency as all writes should be synchronized now
2018-03-13 18:55:03 +03:00
kd-11
315798b1f4
rsx: ZCULL rewrite and other improvements
...
- ZCULL unit emulation rewritten
- ZCULL reports are now deferred avoiding pipeline stalls
- Minor optimizations; replaced std::mutex with shared_mutex where contention is rare
- Silence unnecessary error message
- Small improvement to out of memory handling for vulkan and slightly bump vertex buffer heap
2018-03-13 18:55:03 +03:00
kd-11
dece1e01f4
rsx: Improve transform constants management
...
- Removes the duplicate local_transform_constants
- Resets the transform constants on every context reset
- Simplifies the code abit which should make it faster
- NOTE: Transform constants are persistent across context re-init events (VF5)
2018-03-13 18:55:03 +03:00
kd-11
0c8e4c0887
rsx: Improve FIFO commandlist flattening
...
- TODO: Alot of work is still needed to execute draw commands out of order
Thats the only solution to games sending many draw calls with high frequency of state changes
2018-03-13 18:55:03 +03:00
kd-11
84b8a08d26
rsx: Basic performance counters
2018-03-13 18:55:03 +03:00
kd-11
af1b13550b
rsx/vk: More optimizations
...
- Do not bother rechecking the dirty sampler pool for hits. Its faster to create new sampler than to search the pool
- Reserve some memory on vertex layout struct to reduce reallocation penalty
2018-03-13 18:55:03 +03:00
Jake
7233640cf0
rsx: add vertex data base to offset and mask before translating address
2018-03-07 16:57:20 +03:00
kd-11
bd297d079d
rsx: Minor optimizations
2018-02-16 16:14:54 +03:00
kd-11
a5500ebfa4
rsx: Fix disjoint draw range splitting
...
- Fixes flickering and missing draws in R&C and other games such as Motorstorm Apocalypse and Okami HD when strict mode is disabled
2018-02-16 16:14:54 +03:00
Nekotekina
cce0ad0c35
Clean vm::ps3 namespace use
2018-02-09 17:49:37 +03:00
Jake
2f414f96bf
rsx: fix potential hang during thread close
2018-01-24 16:28:09 +00:00
kd-11
3d9e3a16f1
rsx/gl/vk: Fixes and optimizations
...
- opengl driver optimization for nvidia. On nvidia glTextureBufferRange performance is horrendous
-- Initialize texture buffer to whole buffer at startup and use absolute offsets to read data instead
-- Over 2x performance in some cases (Resogun, TNT racers)
- gl/vk: Do not flip non-existent display buffers. Fixes spec violation at boot in TNT racers demo
- whitespace fixes for sys_rsx
2018-01-22 11:43:35 +03:00
kd-11
0a2992839b
rsx/gl/vk: Simulate z clipping with selective depth clamp
...
- The scale offset matrix is fine but on real hardware the z results seem to be independent of near/far clipping distances
-- If depth falls within near/far, clamp depth value to [0,1]
2018-01-19 12:03:57 +03:00
kd-11
cbc8bf01a1
cell/scheduler: Manage thread placement depending on cpu hardware
2018-01-19 12:03:57 +03:00
kd-11
71f69d1d48
rsx/overlays: Introduce 'native' HUD UI and implement some common dialogs ( #4011 )
2018-01-17 19:14:00 +03:00
Jake
0477f8ed3c
rsx: add log for potential source of error
2018-01-14 20:50:55 +03:00
Jake
7ca2c444cc
rsx: Fix depth clipping
2018-01-14 20:50:55 +03:00
kd-11
ee009ec99c
rsx: Robustness fixes
...
- Track last working state and reset to it if RSX starts to desync
-- This is especially useful when running vulkan since the renderer will easily outpace the rest of the system when merely recording draw commands
- Ignore empty sets
-- Mark empty/invalid IB sets as having 0 element counts.
2018-01-02 21:17:56 +03:00
kd-11
0d0821e914
rsx: Pause FIFO queue when changing ctrl registers
2017-12-18 10:45:37 +03:00
kd-11
90c2324e47
rsx: Program cache fixes
...
- Reorganize storage hash vs ucode hash
- Scan for actual fragment program start in case leading NOPed code precedes the actual instructions
-- e.g FEAR2 Demo has over 32k of padding before actual program code that messes up hashes
2017-12-04 18:22:18 +03:00
kd-11
90a3f3af30
rsx: Discard queue if RET is found without CALL
2017-12-01 21:00:50 +03:00
kd-11
de5a4fe083
rsx: Reimplement depth <-> RGBA reinterpretation code
...
- Implements proper channel order for fp24-ARGB8 conversion
- Takes swizzle remap into account when reconstructing source bytes
2017-12-01 21:00:50 +03:00
kd-11
ccc0383f75
vulkan: Implement overlay shader passes
...
- Implements vk::overlay_pass and vk::depth_convert_pass
- Also added a sanity check in RSX core for depth replace shaders
2017-12-01 21:00:50 +03:00
kd-11
680ca1d12a
rsx: Zcull refactoring and vulkan implementation
2017-12-01 21:00:50 +03:00
kd-11
0aaae000b3
rsx: Minor improvements
2017-12-01 21:00:50 +03:00
Zion Nimchuk
3a9ae2df9e
silence warnings in RSX stuff
2017-11-30 18:07:19 +03:00
Nekotekina
dbc9bdfe02
Implement set_ideal_processor_core (linux)
2017-11-15 21:00:02 +03:00
kd-11
1fa18757fc
rsx: Implement render-to-cubemap; Also simplify unnormalized samplers [WIP, DELETE SHADER CACHE, VERY SLOW]
...
- Enables real-time cubemap reflections
- TODO: Vulkan is broke; rsx is very slow with this feature
2017-11-08 13:15:34 +03:00
kd-11
0961a43997
rsx: Implement 1D<->2D image type casts
2017-11-08 13:15:34 +03:00
kd-11
bbcb6b6851
rsx: Fbo fixes 2
...
- Use AA mode to predict surface compression. Compression mode is useless without AA activated
- Rewrites most image subresource fetch routines to use the new heuristic
- Fix rsx:🧵 :find_tile. FEED000(X) can be substituted for (X) in the code
-- Fixes alot of failures when looking for tiled regions
rsx: Fix antialiased unnormalized coords
- scaling factors are inverse to allow proper coordinates to be computed in fs
2017-11-08 13:15:34 +03:00
kd-11
173d05b54f
rsx: Optimizations
...
- Reimplement fragment program fetch and rewrite texture upload mechanism
-- All of these steps should only be done at most once per draw call
-- Eliminates continously checking the surface store for overlapping addresses as well
addenda - critical fixes
- gl: Bind TIU before starting texture operations as they will affect the currently bound texture
- vk: Reuse sampler objects if possible
- rsx: Support for depth resampling for depth textures obtained via blit engine
vk/rsx: Minor fixes
- Fix accidental imageview dereference when using WCB if texture memory occupies FB memory
- Invalidate dirty framebuffers (strict mode only)
- Normalize line endings because VS is dumb
2017-11-08 13:15:34 +03:00
Jake
e0d1ac676e
rsx: invalidate surface store address when tile is unbound
2017-10-28 12:46:20 +03:00
Jake
626b9f93c4
rsx: make dmactrl get 'readonly'
2017-10-28 12:46:20 +03:00
kd-11
9c9495621c
rsx: Fix critical bug concerning transient data layout in memory
2017-10-26 00:35:45 +03:00
kd-11
5db45c3699
rsx: More fixes
...
- Workaround for AMD glMultiDrawArrays bug
- Disable disjoint command submission when multidraw support is disabled
2017-10-19 12:22:52 +03:00
kd-11
86bf61ad35
rsx: Fix memory protection
...
- Fixes hanging when wcb is enabled
2017-10-14 14:19:14 +03:00
kd-11
c570410e06
rsx: Stop executing broken command queues if the application fails to recover in 3 retries
2017-10-12 13:51:29 +03:00
kd-11
9af71699a4
rsx: Minor fixes
...
- Dont skip cb if a problem occurs, just spin on it instead to allow possibility of recovery
- Vulkan cleanup for the die_with_error helper
2017-10-12 13:51:29 +03:00
kd-11
fc0f98b5db
rsx: Res scaling improvements
...
- gl: Reintroduce the wcb hw downscaling
- rsx: Clamp scalable render target size with a config var
2017-10-09 20:25:41 +03:00
kd-11
12ab03b0b5
rsx/gl: Implement resolution scaling
...
rsx: Revise wpos calculation to take resolution scale into account
2017-10-09 20:25:41 +03:00
kd-11
3499d089e7
rsx: Texture cache fixes and improvements
...
rsx: Conditional lock hack removed
vulkan - Fixes
- Remove unused texture class
- Fix native pitch calculation (WCB)
rsx: Catch hanging begin/end pairs when flushing deferred draw calls
vulkan: Register DXT compressed formats
vulkan: Register depth formats
gl: Workaround for 'texture stitching' when gathering flip surface
- TODO: Add a proper flip hack option
rsx: Fix texture memory size calculation
- DXT textures dont have real pitch. Since pitch is used to calculate memory size, make sure it always evaluates to rsx_size
rsx: Fix cpu copy detection
rsx: Validate blit dst surface and dont make assumptions about region blit order
- Also relax restrictions on memory owned by the blit engine if strict rendering is not enabled
rsx: Fix depth texture detection
rsx: Do not manually offset into dst. The overlapped range check does so automatically
rsx: Minor optimizations
rsx: Minor fixes
- Fix to detect incompatible formats when using GPU texture scaling and show message
- Better 'is_depth_texture' algorithm to eliminate false positives
2017-09-21 16:17:06 +03:00
kd-11
3836b40bf7
rsx: Fixups
2017-09-21 16:17:06 +03:00
kd-11
571dbfb7b1
rsx: Texture cache improvements
...
- Limits buffer size to min 720 in the Y axis (1024 section causes conflicts in some cases - TODO)
rsx: Fixups to allow large textures for blit operation
- Also includes checks for both leaking sections and blit regions for vulkan
hotfix for hanging when using WCB
addendum - unlock both ro and no blocks before attempting to copy memory blocks
gl: Fixups for ARB_explicit_uniform_location
- Forces glsl v 430 to make use of the extension
rsx/vk: Rework texture cache to minimize recursive access violations
- Also modifies the vulkan commandbuffer begin/end/submit mechanism
gl: Fix cached_texture_section::is_flushable to take memory protection into account
rsx: Fix blit dst offset calculation
2017-09-21 16:17:06 +03:00
kd-11
10e25eb362
rsx: Fix multidraw range splits again
...
rsx: Hotfix for disjoint range detection
2017-09-21 16:17:06 +03:00
kd-11
45d0e821dc
gl: Minor optimizations
...
rsx: Texture cache - improvements to locking
rsx: Minor optimizations to get_current_vertex_program and begin-end batch flushes
rsx: Optimize texture cache storage
- Manages storage in blocks of 16MB
rsx/vk/gl: Fix swizzled texture input
gl: Hotfix for compressed texture formats
2017-09-21 16:17:06 +03:00
kd-11
061824a7ec
rsx: Add support for batched multidraw
...
gl: Fix multidraw [WIP]
rsx: Ignore vertex base when data source is generated using arithmetic
vk: Check pending flag before doing fence poke
vk/gl: Fix for inlined array and immediate draws
rsx: Collapse joined draws when batching
2017-09-21 16:17:06 +03:00
kd-11
abb56a354d
rsx: Bug fixes and improvements
...
rsx: Try to skip unknown commands without discarding entire cb
2017-09-21 16:17:06 +03:00
kd-11
f71f67c4ff
rsx: Make fragment state dynamic to reduce shader permutations
2017-08-26 21:53:54 +03:00
kd-11
142bfb5250
rsx: Fix immediate indexed drawing
2017-08-18 16:51:38 +03:00
kd-11
2fd4726919
rsx: Fix single vertex array input declarations
2017-08-16 23:58:30 +03:00
kd-11
c04aa05398
rsx: Shader pipeline fixes and improvements
...
- Do not set zfunc if alphakill is not enabled. This is because at the moment alphakill requires a different shader to be built
- use glsl loop-unroll friendly comparison; skip vertex input compare if either key requests it
- Minor tweaks to fp key generation
2017-08-16 23:58:30 +03:00
kd-11
bbf2a97d2e
rsx: Zero-initialize the vertex register block
...
- Some games reference constant regs that they never initialize
2017-08-16 23:58:30 +03:00
kd-11
1da732bbf5
rsx/gl/vk: Invalidate texture regions when memory is unmapped
...
- Free GPU resources immediately if mappings change to avoid leaking VRAM
2017-08-16 23:58:30 +03:00
kd-11
b2b5f564a1
rsx: Add a few more depth format types to known behaviour paths
2017-08-16 23:58:30 +03:00
kd-11
d54c2dd39a
gl: Move vertex processing to the GPU
...
- Significant gains from greatly reduced CPU work
- Also reorders command submission in end() to improve throughput
- Refactors most of the vertex buffer handling
- All vertex processing is moved GPU side
2017-08-16 23:58:30 +03:00
RipleyTom
2d7e91ba8a
Yield instead of sleeping rsx thread. ( #3158 )
...
Another Yield
2017-08-06 01:46:01 +01:00
Jake
21dd715b42
sys_rsx: implement support for lle-gcm
2017-08-02 01:33:12 +03:00
Jake
d9a693019b
rsx/gcm: Implement rsx dma. Refactor gcm/rsx to not be as codependent
2017-08-02 01:33:12 +03:00
kd-11
4cd5624fa7
rsx/vk/gl: Refactoring - Also adds a vertex cache to openGL as well
2017-07-27 14:33:30 +03:00
kd-11
6557bf1b20
rsx: More aggressive thread scheduling for vertex processing
...
- Significantly helps vertex performance
- Not recommended as more threads will harm performance if the PC does not have the cores for it
2017-07-24 16:52:42 +03:00
kd-11
df8fa74e2a
vulkan hotfix ( #3046 )
...
* Rework vertex attribute binding for vulkan. Allows always providing a buffer view to the pipeline even if the game has the attribute disabled as long as it is consumed by the vertex shader.
2017-07-22 01:54:28 +03:00
kd-11
05ffb50037
vk/rsx: Bug fixes and improvements
...
- Improvements to framebuffer usage; Avoid creating new resources every frame
- Handle null fragment program properly
- Collect vertex upload statistics
- vk: Pre-initialize 'unused' varying registers in the vertex shader in case it gets matched with a fs that consumes it
-- Fixes a crash about fog_c not being declared
gl/dx12/vk: Handle null fragment program
- cleanup - use yield semantic instead of sleep(0) as yield is more cross-platform
-- sleep(0) is a windows specific scheduler hint
2017-07-19 23:28:33 +03:00
kd-11
e9b8f94fb1
rsx/gl/vk: Enable frame skipping
2017-07-08 14:52:16 +03:00
kd-11
b95ffaf4dd
rsx: Implement skip draw. Also, start working on MT vertex upload
2017-07-08 14:52:16 +03:00
kd-11
459a7ba5a2
rsx: Avoid using push_back/emplace_back on empty STL containers
...
- Reckless management of STL containers causes significant slowdown
- Also reorders vertex compare steps to fail quickly on simpler checks
2017-06-29 13:13:19 +03:00
kd-11
b2e906f4cc
rsx: Code cleanup. Fixes several dozen warnings
...
- Wrap unused parameters as comments to prevent C1400
- Fix sized variable conversions with explicit casts
2017-06-22 23:36:15 +03:00
kd-11
11317acdbe
rsx: Handle non-zero base vertex better
...
- Vertex buffer contents treat the base vertex as vertex 0 so we do the same for indices
rsx: Fix vertex base indexing
rsx: Properly fix non-zero offset indexed rendering
2017-06-22 23:36:15 +03:00
kd-11
98cf72e0fb
rsx: Fix clip space computations
2017-06-22 23:36:15 +03:00
kd-11
69d3d47901
gl: Fix clip-space -> depth conversion. Fixes remaining depth read issues
...
- Also set some default values for samplers in a cleaner way using their 'natural' float values
2017-06-22 23:36:15 +03:00
kd-11
6a9eef0382
rsx/gl/vk: Enable use of native PCF shadows
2017-06-22 23:36:15 +03:00
kd-11
860b76452f
vulkan bringup on linux
...
cleanup: drop unused stuff
2017-06-08 19:08:44 +03:00
Nekotekina
f010b5b235
Configuration simplified
2017-05-20 16:01:48 +03:00
scribam
299f627321
Stub cell ( #2785 )
...
* Update cellGcmSys
* Update cellStorage
* Update cellSubdisplay
* Update sceNpTrophy
- Use error_code as return type
- Add few checks
* Update cellKey2char
* Update cellKb:
- Use error_code as return type
- Replace UNIMPLEMENTED_FUNC by .todo
* Update cellNetCtl
* Update cellSpudll
* Update cellSysutilAp
* Update cellUserInfo
* Stub sys_mempool_allocate_block (bad idea)
2017-05-15 14:30:14 +03:00
kd-11
c5975d5f66
rsx: Vertex program output fixes
2017-05-12 20:10:03 +03:00
kd-11
450d45354c
rsx: Enable GPU texture scaling by default
2017-05-10 21:50:14 +03:00
Jake
60ce85f840
[Render] Userclip for d12/vk/ogl ( #2719 )
2017-04-25 18:32:39 +08:00
Ofek
a5fd7abcf7
Trophy update ( #2655 )
...
* Added checksum check to TROPHY.TRP loader
* Implemented sceNpTrophyGetGameProgress, sceNpTrophyGetGameIcon & sceNpTrophyGetTrophyIcon
* Updates to up to date APIs and tiny changes
* Code style fixes for checksum verifier, and another fix for trophy functions
* Format fix
2017-04-13 20:29:47 +03:00
kd-11
adefd1fd63
rsx/ui: Add config toggle for GPU texture scaling/blit
2017-04-08 23:12:09 +03:00
kd-11
909f3e9b3e
rsx: Support indexed immediate draw via ArrayElement method
2017-03-29 23:06:17 +03:00
kd-11
70d3a6d840
rsx: Support more base types for immediate rendering
...
fix alignment
2017-03-26 16:22:53 +03:00
kd-11
79d114cc06
rsx: Support immediate mode rendering
2017-03-26 16:22:53 +03:00
kd-11
34c2b8a55e
rsx: recover from FIFO parse errors
...
- Validate FIFO registers before access
-- Validate the args ptr separate from the get ptr
2017-03-24 09:30:23 +03:00
kd-11
7c73c3b75c
rsx/gl: Minor refactoring; prepare vulkan backend
2017-03-01 00:16:55 +03:00
kd-11
1e826f5ccf
rsx: Minor optimization (tangible boost)
2017-03-01 00:16:55 +03:00
Nekotekina
baf22527b0
Ditch fs::get_executable_dir
2017-02-22 17:17:26 +03:00
Ani
65104b5909
Rough implementation of GCM_CONTEXT_DMA methods
...
Rough implementation of GCM_CONTEXT_DMA methods.
Fixes #1487
2017-02-17 22:35:28 +03:00
Nekotekina
598c90f376
PPU thread scheduler
2017-02-13 22:26:11 +03:00
kd-11
d6159a35aa
gl/vk/dx12: Fix texture scaling on unnormalized rtt access
2017-02-11 15:45:59 +03:00
Nekotekina
246b9f3182
CHECK_EMU_STATUS removal
2017-02-05 17:35:27 +03:00
Nekotekina
a5a2d43d7c
Thread.cpp refinement
...
Hide thread mutex
Safe notify() method
Other refactoring
2017-01-29 19:52:19 +03:00
kd-11
2c803dbe66
gl/vk: Bug fixes and improvements ( #2206 )
...
* gl: Only bind attrib textures on thread startup
* gl: Persistent mapped buffers
* gl: Fix emulated primitives in an inlined array
* gl: Do not re-update program information every draw call
* gl/vk: s1 type is signed normalized not unsigned normalized
* gl/rsx: Allow disabling of persistent buffers for debugging
gl: Large heap size is more practical
gl: Fix a bug with legacy opengl buffers
* gl/rsx: Allow emulation of unsupported attribute formats
* gl: Fix typos and remove dprints
gl: cleanup debug prints
* ui: Move the GL legacy buffer toggle to the left pane
* vk/gl: Fix cmp type, its range is [-1,1] not [0,1] SNORM_INT
2016-10-18 15:57:28 +08:00
Melissa Goad
22b1400018
Revamp PFIFO command submission emulation ( #2179 )
2016-10-01 22:13:15 +03:00
kd-11
5430e1d310
rsx/gl/vk/dx12: Add emulated texture fetch for depth read ( #2173 )
...
* rsx/gl/vk/dx12: Add emulated texture fetch for depth read
gl/vk/dx12: Simplify reinterpretation equation
* gl: Remove unnecessary re-swizzle
* glsl: explicitly cast uint to float
2016-09-29 14:54:32 +08: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
Oil
153a2d2b40
Fixed fog and alphakill implementation in glsl (based on DH's old commits) ( #2137 )
...
* Fixed NV4097_SET_COLOR_CLEAR_VALUE
* Fixed fog and alphakill implementation in glsl (based on DH's old commits)
2016-09-14 22:47:53 +08: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
Vincent Lejeune
42b518cf7e
rsx: use range for vertex buffer attribute.
2016-08-24 21:58:59 +02:00
Nekotekina
84d0d396ed
EXPECTS usage removed
2016-08-15 16:29:38 +03:00
Nekotekina
a7e808b35b
EXCEPTION macro removed
...
fmt::throw_exception<> implemented
::narrow improved
Minor fixes
2016-08-08 19:19:32 +03:00
Vincent Lejeune
eb1d4811de
rsx: Use a "draw clause" object in rsx_state.
2016-08-05 23:33:40 +02:00
Vincent Lejeune
7a6f5b6ee5
rsx: Move index pointer generation in rsx::thread.
2016-08-05 17:54:44 +02:00
Nekotekina
5a36c57c57
Formatting system improved
...
`unveil<>` renamed to `fmt_unveil<>`, now packs args to u64 imitating va_args
`bijective...` removed, `cfg::enum_entry` now uses formatting system
`fmt_class_string<>` added, providing type-specific "%s" handler function
Added `fmt::append`, removed `fmt::narrow` (too obscure)
Utilities/cfmt.h: C-style format template function (WIP)
Minor formatting fixes and cleanup
2016-08-04 21:34:00 +03:00
Nekotekina
1c69eb2b73
rsx_method_t extended
...
rsx_methods.cpp cleanup
2016-07-31 18:16:49 +03:00
Nekotekina
6a9f3040e1
rsx_methods.cpp fix
2016-07-31 18:16:48 +03:00
Nekotekina
f8719c1230
PPUThread refactoring
...
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
2016-07-30 16:35:02 +03:00
Vincent Lejeune
ac771f951d
rsx: Copy state in capture frame call
2016-07-27 20:20:35 +02:00
Vincent Lejeune
8b12379eb3
rsx: Use bitfield template to decode values.
2016-07-27 18:38:36 +02:00
Nekotekina
7ccdea7822
Removed std::enable_shared_from_this
...
Minor ID manager refactoring
2016-07-24 21:06:05 +03:00
Nekotekina
deeb4acbe5
Partial revert of 6ae54ae27b
2016-07-22 19:26:58 +03:00
raven02
8157e7cac8
Obsolete 3D monitor ( #1955 )
2016-07-20 23:45:26 +08:00
Nekotekina
ae634bb87e
RSX exception fix
...
VBlank thread management fix
2016-07-20 15:16:19 +03:00
Vincent Lejeune
e9bee80f4b
rsx: Use register_decoder for vertex attributes.
2016-07-19 20:28:32 +02:00
raven02
e1ff3f4674
rsx: use fragment_textures_count ( #1948 )
...
* rsx: use fragment_textures_count
* Typo: unknow -> unknown
2016-07-19 22:50:40 +08:00
kd-11
2337bf204c
vk/dx12: Enable/fix separate back and front lighting ( #1927 )
...
* vk: separate specular color
rsx: separate front color output from back color output
re-enable front-back diffuse lighting
vk: fix front face selection and actually enable face culling
* dx12: Hide constant-key blended visuals (by common use of factor, 1-factor)
* dx12: Fix 2 sided lighting when the shader does not compute both outputs
* vk/dx12: confirm that src register exists before copying for 2-sided lighting
2016-07-18 00:57:50 +08: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
kd-11
2c981cf940
rsx: mark register access with divider op enabled and frequency 1 ( #1892 )
2016-07-12 02:53:52 +08:00
Vincent Lejeune
772706ca4c
Factorize rsx state
2016-07-07 21:38:57 +02:00
DH
989f954432
Added WIP vertex textures support
2016-06-28 12:58:44 +03:00
DH
44879dd9f3
Implemented alpha kill and fog
2016-06-27 01:52:08 +03:00
DH
6ae54ae27b
RSX: Added legacy non-array vertex attributes support (if count of elements > 1)
...
Fixed ps1ght games
2016-06-26 21:32:50 +03:00
DH
e296f81a37
Shaders decompiler: support non 2D textures
...
Do not validate programs with undefined textures uniforms
Minor fix
2016-06-26 21:32:48 +03:00
DH
f30d71da6c
OpenGL renderer: improved vertex attributes setup
...
Minor fixes
2016-06-22 22:46:47 +03:00
O1L
083c4fc855
Try to use new shaders decompiler in OpenGL backend
2016-06-21 19:56:00 +03:00
Nekotekina
266db1336d
The rest
2016-05-23 16:22:25 +03:00
Ivan
aafcf44581
Header optimizations ( #1684 )
...
Shouldn't break anything. I hope.
2016-04-27 01:27:24 +03:00
Ivan
da7472fe81
Optimizations ( #1680 )
...
* Optimizations
1) Some headers simplified for better compilation time
2) Some templates simplified for smaller executable size
3) Eliminate std::future to fix compilation for mingw64
4) PKG installation can be cancelled now
5) cellGame fixes
6) XAudio2 fix for mingw64
7) PPUInterpreter bug fixed (Clang)
* any_pod<> implemented
Aliases: any16, any32, any64
rsx::make_command fixed
2016-04-25 13:49:12 +03:00
Ivan
75fe95eeb1
GSL moved from stdafx.h ( #1676 )
...
Added GSL.h helper for correct including
2016-04-20 02:32:27 +03:00
Nekotekina
b85a68e8a1
Partial commit: RSX
2016-04-15 19:22:36 +03: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
91d0229bc5
rsx/common: Use an help texture_dimension_extended to handle cubemap more cleanly.
2016-03-30 22:19:29 +02:00
Vincent Lejeune
f2c82d3cf4
rsx/common: Use a typed class for texture dimension.
2016-03-30 20:03:50 +02:00
Vincent Lejeune
4d71df70db
rsx-debug: Record and display index buffer content.
2016-03-05 18:48:30 +01:00
Vincent Lejeune
52e2800fb5
rsx: Reset fog mode/param to linear/1.;
...
Fix After Burner Climax fog
2016-03-05 18:25:31 +01:00
Vincent Lejeune
32434dd848
rsx/common/d3d12/gl: Support for fog mode.
...
Fix hitman 2
2016-02-29 16:31:18 +01:00
Vincent Lejeune
35db227af4
rsx/common/d3d12: Separate int type buffer from float type buffer.
2016-02-27 00:21:14 +01:00
Vincent Lejeune
a6ba47265f
rsx/common/gl: s32k is actually signed short unormalized.
...
gl fix
2016-02-27 00:21:12 +01:00
Vincent Lejeune
5ef7f8bf3e
rsx/common: Fix handling of UB256
2016-02-27 00:21:06 +01:00
Vincent Lejeune
79dc835378
rsx/common: Track transform constant update.
2016-02-21 21:29:44 +01:00
Vincent Lejeune
837e06e85b
rsx/common/d3d12: Support non default alpha function
...
Fix After burner climax cloud effects.
2016-02-13 17:07:12 +01:00
Vincent Lejeune
f0dc38cadd
rsx/common/d3d12: Support back spec/diffuse color.
...
Fix green car in Outrun.
2016-02-08 17:35:52 +01:00
Vincent Lejeune
4efa2266e6
rsx/common/d3d12: Use m_texture_dirty[i] to signal texture state change and avoid unecessary bind operation.
2016-02-08 17:35:50 +01:00
Vincent Lejeune
f6d2409b20
rsx/common/d3d12: Support for shader window setting.
2016-01-30 21:58:12 +01:00
Vincent Lejeune
5f35f2ac7d
rsx/common/d3d12: Support for texture 1d too.
...
They are used in after burner climax
2016-01-30 01:13:15 +01:00
Vincent Lejeune
b71caa94ac
rsx-debug: Print number of vertex draw again.
2016-01-25 18:48:53 +01:00
Vincent Lejeune
4ce4cf5242
rsx: Add vertex input and output in RSXVertexProgram.
2016-01-22 01:24:54 +01:00
DHrpcs3
2e58f312d5
rsx: implemented internal tasks queue (WIP)
2016-01-20 17:12:49 +03:00
DHrpcs3
7972cb5bdc
Code style fixes #1
2016-01-20 16:23:25 +03:00
DHrpcs3
685d5d3ea3
Access violation handled by rsx::thread
...
gfxHandler -> rsx::g_access_violation_handler
2016-01-20 15:46:58 +03:00
Vincent Lejeune
440c637b1f
rsx/common/d3d12: Move surface_store in common
2016-01-19 22:49:10 +01:00
Vincent Lejeune
1ce49b60d9
rsx-debug/d3d12: Support all rtt formats.
2016-01-17 20:02:30 +01:00
Vincent Lejeune
3b4339c8e0
rsx: Use enum class for surface related regs
2016-01-15 23:44:27 +01:00
Nekotekina
38531459df
Logging system rewritten
...
GUI doesn't freeze anymore
Some things simplified
2016-01-13 18:54:57 +03:00
Nekotekina
b3e3c68f15
File utility improved
...
+ minor fixes
2016-01-13 14:12:04 +03:00
Vincent Lejeune
689dee9944
rsx/common/d3d12: Consider separate index range as a whole.
...
Fix Wolf of the Battlefield 3
2016-01-13 00:28:48 +01:00
DHrpcs3
a17c41b4e1
nv4097::get_report: use DMA
2016-01-10 23:22:55 +02:00
Vincent Lejeune
31a925b4f0
rsx: reenable frame capture
...
Likely commented out by accident.
2016-01-09 23:18:04 +01:00
Vincent Lejeune
d153575e59
rsx/common/d3d12/gl: Support for CMP/non pow of 2 size vertex formats.
...
Also use class enum for base_vertex_type everywhere.
Fix Bomberman Ultra color and Cubixx HD geometry.
2016-01-09 23:18:03 +01:00
DHrpcs3
f7e787958e
fixed nv3089::image_in scale value
2016-01-06 13:30:25 +02:00
DHrpcs3
8912b9880e
rsx: initialize vertex textures on reset
2016-01-06 13:30:25 +02:00
DHrpcs3
48919330d7
rsx methods moved from rsx thread
2016-01-06 13:30:24 +02:00
DHrpcs3
ba12c489ec
gl: using tiled region for read/write color buffers and flip
...
gl: fixed flip buffer row length
compilation fixes
2016-01-06 13:30:23 +02:00
DHrpcs3
11ccc498fd
Reimplemented nv3089::image_in
2016-01-06 13:30:22 +02:00
DHrpcs3
836d14c8af
rsx::pad_texture & rsx::convert_linear_swizzle moved to rsx_utils
...
Added rsx::convert_scale_image & rsx::clip_image to rsx_utils
2016-01-06 13:30:22 +02:00
DHrpcs3
5a4babb0fd
Implemented basic tiled regions support
2016-01-06 13:30:22 +02:00
Vincent Lejeune
cae2d929ab
rsx/common/d3d12/gl: Implement draw inline array support
2016-01-05 00:31:47 +01:00
Vincent Lejeune
5f12a4f7b5
rsx/common/d3d12/gl: Use separate vertex array/vertex register states.
2015-12-30 17:04:34 +01:00
Nekotekina
3ed603074c
Changes done by [DH] rewritten
...
Added rsx_program_decompiler submodule
Added fs::dir iterator
Added fmt::match
2015-12-22 23:11:20 +03:00
Nekotekina
aa811b6eef
Cleanup (noexcept, unreachable)
...
%x formatting fixes
2015-12-20 15:41:07 +03:00
Jake
6f584049a2
rsx: NV3089_image_in: Fix braid and Jet Set Radio
2015-12-14 19:16:12 -06:00
Nekotekina
24128ba450
Optimization
2015-12-04 23:37:42 +03:00
Nekotekina
8a1ce6ba64
MINGW64 fix
2015-12-04 23:37:35 +03:00
Nekotekina
ca6783ba9a
Threads improved, ID manager improved
2015-12-04 23:37:34 +03:00
Jake
52be47ca89
rsx: Style changes
2015-12-02 07:06:40 -06:00
Jake
178bcfc8df
rsx: Improve NV3089_IMAGE_IN_SIZE and use faster loop for swizzle conversions
2015-12-02 04:22:18 -06:00
Vincent Lejeune
b9d8d9383a
rsx/d3d12: dump program content when capturing frame
2015-11-24 23:34:03 +01:00
Vincent Lejeune
b5add0f027
rsx: better naming for draw calls
2015-11-24 23:14:05 +01:00
Vincent Lejeune
e2d0a63b98
gl: Use factored scale offset function call
2015-11-15 22:52:39 +01:00
Vincent Lejeune
2ac47548b0
rsx: Set registers individually
...
Not all games set registers up to the third subcomponent. Fixes SH 3 HD
textures.
2015-11-15 17:20:43 +01:00
Vincent Lejeune
e9d9bad643
rsx: reset register after each flip
...
Some overlay operation are executed when a flip is requested, it may
change register states. Fix depth buffer in SH3
2015-11-15 17:20:20 +01:00
Vincent Lejeune
70b9271cd8
rsx/d3d12: Record frame buffer content per draw call.
2015-11-08 19:34:18 +01:00
Vincent Lejeune
2ad7051746
rsx/d3d12: Move vertex constants filling code to RSXThread
2015-11-06 20:08:41 +01:00
Vincent Lejeune
02ce78482c
rsx/d3d12: Move scale offset buffer setting to RSXThread
2015-11-06 20:08:17 +01:00
O1L
c0255208cc
Old ini-manager only partially used in VFS. Global configuration used as defualt.
2015-10-27 01:09:31 +04:00
Vincent Lejeune
a2997a1109
d3d12: Avoid an extra vertex copy
2015-10-15 17:13:43 +02:00
Nekotekina
ec0005195d
RSX fix
2015-10-14 22:51:27 +03:00
Nekotekina
a974ee009e
vm::var improved, cleanup
...
Mostly vm::var initialization introduced.
Added vm::make_var function.
2015-10-14 18:17:37 +03:00
DH
a443682aaf
OpenGL renderer fixes
...
Fixed attributes loading
Fixed scale-offset matrix
Fixed attribute debug option
2015-10-14 14:34:55 +03:00
DH
37a3800597
rsx: 🧵 disable all vertex data at end command
...
Fixed OpenGL program attributes cache flush
2015-10-14 01:49:47 +03:00
DH
5de1ea3fd4
Fixed bind rsx method to range implementation
2015-10-13 22:59:25 +03:00
DH
07b3897499
Trying do not use macro for methods binding to range
2015-10-13 20:44:58 +03:00
DH
737080274a
Improved NV4097_BACK_END_WRITE_SEMAPHORE_RELEASE and NV4097_TEXTURE_READ_SEMAPHORE_RELEASE commands handling
2015-10-13 20:39:36 +03:00
Vincent Lejeune
ff01e26c5c
RSX: Fix immediate vertex values
2015-10-13 14:29:38 +02:00
Vincent Lejeune
fc40b0ed6b
RSX: Let backend customize semaphore_*_release
2015-10-13 14:28:58 +02:00
Vincent Lejeune
a63fdf6c45
Use files from master
...
- Drop smart vertex storage and use OpenGL's one instead.
2015-10-13 14:27:17 +02:00
Vincent Lejeune
4154a1026f
Rename RSXThread
2015-10-13 00:04:19 +02:00
Vincent Lejeune
b5127e68de
Remove m_ prefix
2015-10-13 00:04:18 +02:00
Vincent Lejeune
dd000caad7
Remove context_dma*
2015-10-13 00:04:18 +02:00
Vincent Lejeune
86fff9800f
Remove base offset
2015-10-13 00:04:16 +02:00
Vincent Lejeune
1e431edf09
Remove fragment program
2015-10-13 00:04:15 +02:00
Vincent Lejeune
67f1f0fea3
Remove fragment constants
2015-10-13 00:04:15 +02:00
Vincent Lejeune
beabc88f79
Remove transform constants
2015-10-13 00:04:14 +02:00
Vincent Lejeune
e086b7a522
Remove cull/front face
2015-10-13 00:04:13 +02:00
Vincent Lejeune
dd1afe85ae
Remove alpha func
2015-10-13 00:04:13 +02:00
Vincent Lejeune
60bccf0f10
Remove RSXVertexArray
2015-10-13 00:04:12 +02:00
Vincent Lejeune
73535e0c04
remove m_surface*
2015-10-13 00:04:12 +02:00
Vincent Lejeune
16311b36b0
Remove viewport clip
2015-10-13 00:04:11 +02:00
Vincent Lejeune
537187687d
Remove blend
2015-10-13 00:04:10 +02:00
Vincent Lejeune
403f585a19
Remove color mask
2015-10-13 00:04:10 +02:00
Vincent Lejeune
8dd19d1446
Remove color target
2015-10-13 00:04:09 +02:00
Vincent Lejeune
71552f7ffe
Remove logic Op
2015-10-13 00:04:09 +02:00
Vincent Lejeune
b2a7f0fd11
Remove stencil
2015-10-13 00:04:08 +02:00
Vincent Lejeune
529efd6ac8
Remove depth
2015-10-13 00:04:07 +02:00
Vincent Lejeune
ed61023dd3
Remove clear_surface_color
2015-10-13 00:04:07 +02:00
Vincent Lejeune
28cdfa9feb
Rename some methods.
2015-10-13 00:04:06 +02:00
Vincent Lejeune
bf474f0cdb
remove m_ for textures
2015-10-13 00:04:06 +02:00
Vincent Lejeune
6f71d04aa4
move linear to swizzle and get_size_type
...
symbol undef though
2015-10-13 00:04:04 +02:00
Vincent Lejeune
3de47c201c
RSX: Create a rsx namespace.
...
Put get_address inside.
2015-10-13 00:04:04 +02:00
Vincent Lejeune
e3e5b46cbf
Remove m_ prefix on some members of RSXThread
2015-10-13 00:04:03 +02:00
Vincent Lejeune
ceab44b9ab
d3d12: Remove D3DGSFrame
2015-10-13 00:04:02 +02:00
Vincent Lejeune
0138a95567
RSX: Remove using namespace ps3 in header
2015-10-13 00:04:02 +02:00
Vincent Lejeune
d86469c2f5
Add Utilities/types.h
2015-10-13 00:04:01 +02:00
Vincent Lejeune
f483c3b9ca
Revert "Merge pull request #1245 from DHrpcs3/master"
...
This reverts commit 5feba39ff7 , reversing
changes made to ebf28f8da0 .
2015-10-09 20:04:20 +02:00
DH
6cb036d35f
Fix for gcc/clang build
2015-10-08 00:05:04 +03:00
DH
cc0c3fc98d
Implemented fragment constants loading (OpenGL renderer)
...
Fixed nv308a::color
Minor improvements
2015-10-07 17:36:26 +03:00
DH
86720f90cd
rsx: 🧵 initialize flip_status
...
Fixed clear_surface (OpenGL)
Enabled some RSXDebugger features (disasm and textures/buffers view)
Minor improvements
2015-10-06 01:22:21 +03:00
DH
3721941ffb
Fixed OpenGL renderer crash
...
Temporary downgraded OpenGL requirements to OpenGL 3.1 (GLSL 1.40)
Fixed some D3D12 Renderer compilation errors
2015-10-05 18:40:22 +03:00
DH
4fdeeace66
D3D12Renderer: fixed some compilation errors
...
Removed GSFrameBase2 and D3DGSFrame.
Added frame for NullRender.
Minor improvements and fixes
2015-10-05 13:03:23 +03:00
DH
1e7ded2163
rsx::thread moved from rsx2 branch
...
TODO: cellResc module & RsxDebugger disabled, DX12 renderer not compilable
2015-10-05 12:56:05 +03:00
Nekotekina
8ae3401ffa
Some things improved
...
shared_mutex_t implemented
GUI Emu Callbacks rewritten
fxm::import, fxm::import_always implemented
cellMsgDialog rewritten
Emu.CallAfter improved (returns std::future)
2015-09-22 16:48:21 +03:00
Vincent Lejeune
9c24bb9d75
RSX/D3D12/GL/Null: Notify backend of program/state change
2015-08-26 18:45:57 +02:00
Nekotekina
ce494f8847
fmt::by_value, fmt::Format removed
2015-08-24 21:22:42 +03:00
Nekotekina
c7ee8cadde
cellFont, cellFs, cellGcmSys funcs added, minor cleanup
2015-08-24 21:22:14 +03:00
Nekotekina
405d7cb70c
Revert "RSX: Fix NV3089"
...
This reverts commit a86e44deb4 .
Reasons: it's broken and not strictly related with d3d12 PR.
2015-08-16 18:37:20 +03:00
raven02
a86e44deb4
RSX: Fix NV3089
...
Make convert_swizzle.elf works
2015-08-12 00:26:50 +02:00
vlj
8ec9f84c1b
d3d12; Factorise IALayout generation code
2015-08-12 00:23:16 +02:00
Raul Tambre
480996b140
Various stubbing
2015-08-06 15:24:10 +03:00
Nekotekina
8fcaac5f1d
cellSysutil crap split, cleanup, functions added
2015-08-01 21:49:01 +03:00
Nekotekina
8e1991c1e1
semaphore_t, RSX fixes
...
1) GS_LOCK_WAIT_FLUSH semaphore eliminated
2) GS_LOCK_WAIT_FLIP semaphore left unused
3) cellRescSetWaitFlip/cellGcmSetWaitFlip purged: they don't wait for
flip, it's a nonsense, they only generate some RSX command
4) Semaphores rewritten
2015-08-01 14:38:57 +03:00
Raul Tambre
a239eaf630
cellSpurs additions and internal struct refactoring
...
Also updated the README.
2015-07-26 17:04:10 +03:00
Raul Tambre
45dda65ce9
Add NV4097_SET_TEX_COORD_CONTROL arguments
...
Also added a TODO for _cellSpursLFQueueInitialize.
2015-07-26 16:42:02 +03:00
Nekotekina
48c75105e2
"Memory" eliminated
2015-07-18 03:12:06 +03:00
Nekotekina
3064cf8101
CHECK_EMU_STATUS, autojoin_thread_t
2015-07-10 04:31:27 +03:00
Nekotekina
8c00dcd02d
Bugfix
2015-07-10 04:31:21 +03:00
Nekotekina
32d3d1fbe5
EXCEPTION() macro usage, sceNpTrophy improved
2015-07-10 04:31:20 +03:00
Nekotekina
3aefa2b4e1
ThreadBase rewritten (wip)
2015-07-10 04:31:16 +03:00
Nekotekina
c598fe7aa9
atomic_op() rewritten, atomic.h refactoring
...
cellSync refactoring, wait_op() rewritten, bugfixes
2015-07-10 04:31:10 +03:00
Nekotekina
39f836b495
re32/se32/... macro eliminated, some fixes
2015-07-10 04:31:09 +03:00
Nekotekina
ef6f9f6ded
be_t constructor implemented, make() eliminated
...
be_t enums are forbidden, le_t improved, some operators cleaned.
2015-07-10 04:31:07 +03:00
Nekotekina
edb9595721
Using vm::ps3 namespace moved in proper places
...
Various fixes
2015-07-10 04:30:41 +03:00
Raul Tambre
30c25cb722
Added NV4097_SET_TEXTURE_CONTROL2
...
Still need to use the parameters that are passed.
2015-07-06 10:12:17 +03:00
vlj
f4efeabcf3
RSX: Rename and document function member.
2015-07-03 17:08:06 +02:00
raven02
3a0894aaea
RSX: Use CELL_GCM suffix for index array
2015-07-02 19:01:19 +02:00
vlj
5abeec85cc
GL/RSX: Let backend call LoadVertex themselves.
2015-07-02 19:01:19 +02:00
vlj
4485e6b869
RSX: Do not emit error when parsing NV4097_SET_NO_PARANOID_TEXTURE_FETCHES
...
This opcode disables whole quad fetch on RSX, this is handled by drivers
on PC api.
2015-07-02 19:01:18 +02:00
vlj
288581cb43
RSX/GL/Null: Move semaphore handling to backend
2015-07-02 19:01:18 +02:00
vlj
02594c8239
RSX: Fix index gathering
2015-06-08 18:11:51 +02:00
raven02
f2c5dc2b5c
RSX: simplify resolution rescale
2015-05-31 18:35:15 +08:00
Hykem
d18d19870f
Merge pull request #1062 from Nekotekina/master
...
SPURecompiler improved
2015-04-25 19:32:47 +01:00
Nekotekina
ea5110cec3
Various changes
2015-04-12 04:36:25 +03:00
luxsie
02c263fc19
Remove comments in confirmed files.
2015-04-11 13:31:28 +08:00
luxsie
d072eba687
CppCheck: Marked out case_range that in RSXThread.cpp. It seems missing its own break;.
2015-04-10 19:20:50 +08:00
Nekotekina
267de68441
Memory cleanup, page flags implemented
...
RSXCMDMem, SPRXMem, MmaperMem removed
MainMem range fixed
2015-02-13 17:04:03 +03:00
Nekotekina
fdc5fa34be
Bugfix
2015-02-11 14:39:51 +03:00
Nekotekina
c0a1dab09d
Small fix
2015-02-10 16:20:07 +03:00
Nekotekina
e642e39324
NV3089_IMAGE_IN_SIZE
2015-02-10 15:51:45 +03:00
Nekotekina
4e28a007c8
NV3089_IMAGE_IN_SIZE
2015-02-09 01:44:55 +03:00
Raul Tambre
899b06d6db
Fix conflicts 2
2015-02-01 15:45:25 +02:00
Nekotekina
384cb5e415
RSX "refactoring" reverted
2015-01-31 16:01:34 +03:00
Raul Tambre
084106ced6
Disable DMA writes and add copyright notices
2015-01-28 15:17:13 +02:00
Raul Tambre
e12cfc89de
Experimental DMA implementation, bug fixes
...
The experimental DMA implementation is ported from Nucleus.
2015-01-27 21:04:40 +02:00
Nekotekina
ec2e53dc6b
Formatting changes
2015-01-20 02:15:43 +03:00
Nekotekina
d557ba2d97
Audio format changed to 8ch
2015-01-18 02:01:08 +03:00
Nekotekina
011362bf1c
Things updated
2015-01-17 21:33:39 +03:00
Nekotekina
fd06f70387
cellAudio updated, thread_t updated
2015-01-16 17:36:53 +03:00
Nekotekina
bf7cf0ee9d
.ToLE() changed to .value() or removed
2015-01-14 02:08:00 +03:00
Nekotekina
1c4e89d2bf
Formatting fixes, ToBE() replaced with data()
2015-01-13 17:54:36 +03:00
Nekotekina
da09477be8
Callback syntax changed
...
call() became overloaded () operator
2015-01-11 13:43:40 +03:00
raven02
12edfeb216
RSX : last few cmd refactoring
2015-01-05 04:08:26 +08:00
raven02
ec7b351cf0
RSX disable front face
2015-01-04 06:38:06 +08:00
raven02
d2e6f6fef0
RSX : few more cmd refactoring
2015-01-04 01:00:56 +08:00
raven02
fffadb975b
RSX : inline fragment naming as vertex shader
2015-01-02 08:06:42 +08:00
raven02
a7ca705552
RSX: add alpha func/ref , depth func/mask and bug fix
2015-01-01 12:31:40 +08:00
raven02
3e3665a13b
RSX: refactor glEnable cmd
2014-12-30 23:44:08 +08:00
raven02
1b87f9312b
RSX : add ClearColor() / ClearStencil() / ClearDepth() / ClearSurface()
2014-12-30 03:37:58 +08:00
raven02
19e1631697
change to log_warning
2014-12-29 06:43:29 +08:00
Nekotekina
f16ec62b4a
Bugfix
2014-12-28 18:53:02 +03:00
Nekotekina
1636531d4a
Conflicts fixed
2014-12-28 16:52:04 +03:00
Nekotekina
6cd2665e12
Conflicts fixed
2014-12-28 16:29:01 +03:00
raven02
4701affbf9
minor changes
2014-12-28 21:01:30 +08:00
raven02
63a559310c
case range switch
2014-12-28 21:00:20 +08:00
raven02
b610155956
one more cmd
2014-12-28 08:46:50 +08:00
raven02
8e88e531de
few more cmd
2014-12-28 08:43:14 +08:00
raven02
8690c02972
RSX : log NV4097_SET_CONTEXT_DMA_REPORT
2014-12-28 08:35:56 +08:00
raven02
b9a8c6414d
RSX: fall back the case switch
2014-12-27 04:15:00 +08:00
Nekotekina
dabac03820
Revert "Formatting RSX thread"
...
This reverts commit 97d50a0692 .
2014-12-26 21:32:53 +03:00
Nekotekina
be2d606193
Conflicts fixed
2014-12-26 17:06:36 +03:00
Raul Tambre
d6989c1847
Merge pull request #927 from raven02/patch-5
...
Formatting RSX thread
2014-12-26 10:20:18 +02:00
Raul Tambre
052692ac8c
Improvements to saving and cellFsStat
2014-12-26 10:06:12 +02:00
raven02
97d50a0692
Formatting RSX thread
2014-12-26 14:25:22 +08:00
Nekotekina
b2de24db73
SMutex eliminated
2014-12-23 02:31:11 +03:00
DHrpcs3
e1ea7a28c3
Fixed condition decompilation in vertex & fragment shaders
...
Added 30 & 60 modes to frame limiter
2014-12-22 01:10:22 +02:00
DHrpcs3
969cf67ba8
Implemented frame limiter
...
Some errors in unpkg replaced with warnings
2014-12-21 22:42:15 +02:00
raven02
7c9062fd3d
fix :)
2014-12-21 01:54:01 +08:00
raven02
612d11bd03
Minor fix
2014-12-21 01:42:15 +08:00
raven02
c63f370d8b
regression fix #1
2014-12-21 01:14:27 +08:00
raven02
3fc471eb32
RSX: shaders fix and vertex texture implementation
2014-12-17 22:01:59 +08:00
DHrpcs3
d593e47554
RSX: Fixed NV4097_SET_VERTEX_DATA4UB_M, NV4097_SET_VERTEX_DATA2F_M & NV4097_SET_VERTEX_DATA4F_M implementation
2014-12-02 00:02:05 +02:00
Nekotekina
1568930da6
/dev_bdvd/ and /app_home/ fixed
2014-11-30 22:23:51 +03:00
Nekotekina
220384997f
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-11-11 16:04:16 +03:00
Raul Tambre
9ee7471bd5
Added RSX logging option
...
Also some minor fixes to cellSail
2014-11-10 22:18:46 +02:00
Nekotekina
c8d4193f08
PSV: sceKernelCreateThread and sceKernelStartThread
...
Some fixes in callback manager
2014-11-10 03:21:50 +03:00
Nekotekina
ac20cf0060
cellGcmCallback modified
2014-11-08 19:58:51 +03:00
Nekotekina
09a4d14f8f
cellAdec improved
2014-10-28 00:24:11 +03:00
B1ackDaemon
9c8666573b
Merge pull request #842 from tambry/ChangesAndAdditions
...
Initial cellSail implementation
2014-10-17 18:43:46 +03:00
Raul Tambre
9e5403aeb3
Remove unneeded be_t
2014-10-11 20:20:01 +03:00
Raul Tambre
9bcaa1e498
Disable pausing when a null command occurs
2014-10-10 17:24:28 +03:00
Nekotekina
1dac13be16
RSXIO memory mapping with strict ordering (draft)
2014-10-10 01:26:04 +04:00
Nekotekina
5f46534b72
RSX fix
...
Forgot to rollback these lines.
2014-10-05 12:03:14 +04:00
Nekotekina
74007d5e5d
Small changes in memory and RSXIOMem
...
Some bugs fixed, some other changes.
2014-10-04 18:43:46 +04:00
Nekotekina
7d95311a01
Some %x fixed
2014-09-29 19:38:04 +04:00
Nekotekina
0044141631
sys_process_is_spu_lock_line_reservation_address
...
Formatting changed a bit
2014-09-17 17:15:17 +04:00
Nekotekina
85f2009175
Merge branch 'master' of https://github.com/DHrpcs3/rpcs3
2014-09-12 01:16:57 +04:00
Nekotekina
fe53f6f2d7
Compilation fix
2014-09-11 23:33:20 +04:00
Nekotekina
cd39256361
CallbackManager rewritten
2014-09-11 23:18:19 +04:00
Raul Tambre
88cc03b9e2
Implemented NV4097_SET_TWO_SIDE_LIGHT_EN
2014-09-11 18:59:42 +03:00
Nekotekina
43a61d0ab9
Memory.Write*/Read* replaced
2014-09-06 17:33:01 +04:00
Nekotekina
12becc6120
MemoryBase::operator[] replaced
2014-09-06 02:12:10 +04:00
Nekotekina
225dba754d
GetMemFromAddr, VirtualToRealAddr replaced
...
Some arg types changed
2014-09-05 21:23:00 +04:00
Nekotekina
05cebd1017
re() removed, added be_t<const T> specialization
2014-09-04 13:21:23 +04:00
Nekotekina
a8cfefac07
vm::ptr for u8/char types, mem_list_ptr_t removed
2014-08-31 19:01:48 +04:00
Nekotekina
fb1d7d3982
Some warnings fixed
2014-08-30 22:35:18 +04:00
Nekotekina
693e7a38fa
Some std include moved
2014-08-28 20:29:05 +04:00
Nekotekina
efa538f9d7
include clearing
2014-08-23 04:16:54 +04:00
Alexandro Sánchez Bach
529d0dbbbe
Vertex Data base offset/index
...
Fixed incorrect default value in RSXTexture.
2014-08-19 02:10:29 +02:00
Alexandro Sánchez Bach
b23a5f2312
RSXVertexData bugs fixed
...
* Some extra info on sys_rsx syscalls
* Code cleaned in GLGSRender.cpp
2014-08-18 16:37:23 +02:00
Alexandro Sánchez Bach
bb1749d3da
cellGcmSys changes and minor fixes
2014-08-17 11:22:36 +02:00
Alexandro Sánchez Bach
b7be8b19ef
Updates in sys_rsx and CellGcmDisplayInfo
...
Thanks a lot to @3141card for all the relevant information about RSX
related lv2 syscalls.
2014-08-16 23:45:56 +02:00
Alexandro Sánchez Bach
f07c35d9ae
Renamed Emu/GS -> Emu/RSX
2014-08-04 01:37:23 +02:00