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
62246f75c8
d3d12/gl: Supports SSA in Fragment Shader.
2016-02-27 00:21:10 +01:00
Vincent Lejeune
a6d8d1144c
rsx/common: Supports D24X8 texture format when copying
...
Some app uses this type before setting proper depth surface
2016-02-27 00:21:08 +01:00
Vincent Lejeune
5ef7f8bf3e
rsx/common: Fix handling of UB256
2016-02-27 00:21:06 +01:00
Vincent Lejeune
a78ba8a271
d3d12: Remove depth conversion shader
...
It's actually not needed, raw depth data should be sampled as RGBA8.
2016-02-25 23:29:44 +01:00
Vincent Lejeune
263e5beb26
d3d12: Copy descriptors when reused instead of recreating them.
...
Thanks Matías N. Goldberg for the tip !
2016-02-25 23:29:43 +01:00
Vincent Lejeune
7ae680d9d1
d3d12: Avoid uploading constant buffer every draw call
2016-02-25 23:29:41 +01:00
kd-11
c5b3359c4b
Remove normalization for natively normalized formats; fix cmp attribute type
2016-02-25 17:41:03 +03:00
Raul Tambre
047d59df0c
Implement UTF8stoUTF16s, minor cellPngDec fixes
...
Need to find games to test the case, when fixed alpha isn't specified.
2016-02-25 07:58:21 +02:00
Raul Tambre
41687af077
Implement _sys_memmove
2016-02-25 07:58:21 +02:00
kd-11
974ea68cf9
Always bind null for unused shader inputs
...
Properly rename index offsets to improve readability
Handle indexed and other array cases
2016-02-25 02:29:35 +03:00
kd-11
8a3d15d4fe
Handle swizzled CELL_GCM_B8 textures
...
Properly handle swizzled single-channel textures
2016-02-24 17:44:24 +03:00
Vincent Lejeune
5a14644cd4
rsx/common/d3d12/gl: Use span in vertex upload function.
2016-02-22 20:22:47 +01:00
Vincent Lejeune
79dc835378
rsx/common: Track transform constant update.
2016-02-21 21:29:44 +01:00
Vincent Lejeune
9ef24509cb
d3d12: Use a shared root signature and add more slots
...
This allows for finer grained rebinding later.
2016-02-21 17:55:34 +01:00
Vincent Lejeune
4b54d7ece1
d3d12: Pretty printing of error messages.
2016-02-21 17:11:54 +01:00
Vincent Lejeune
c0423d513d
vulkan: Add relevant libs.
2016-02-19 20:03:30 +01:00
kd-11
a451bb574e
Enable texture and render target caching for OpenGL
2016-02-17 16:00:23 +03:00
Vincent Lejeune
1675a82efd
rsx/common/d3d12/gl: Use gsl::span in TextureUtils.cpp
...
* get_placed_texture_storage_size returns more accurate result (fix crash in Outrun)
* Factors lot of code and use integer type more carrefully
* Treat warning as error in TextureUtils.cpp
2016-02-16 18:08:22 +01:00
kd-11
3813c09be6
Properly handle inlined vertex data
...
Fix initial array offsets for dx12
2016-02-16 15:39:18 +03:00
kd-11
2230975e55
Speed up program constants upload by switching to glBufferSubData over glMapBuffer
...
Fix initialization for fragment constants buffer
Orphan buffers before update. Remove redundant binding
2016-02-15 12:53:55 +03:00
kd-11
7d70be42af
Correctly fetch correct pitch and depth for textures from RSX
...
Include vertex textures too
Set correct stride for vertex texture params
Change references to gl_Position in D3D12FragmentProgramDecompiler
Revert bad commit
2016-02-15 11:15:51 +03:00
Raul Tambre
9452c6b08c
Fix CMake libpng linking
2016-02-14 19:50:36 +02: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
kd-11
843d0ed298
Fragment position is given as gl_FragCoord not gl_Position
...
Fix references to gl_Position in Dx12
2016-02-12 18:34:41 +03:00
Raul Tambre
1072540e3e
Fix compiling
2016-02-08 19:12:30 +02:00
Raul Tambre
0c8c13b8b7
Rewrite cellPngDec to use libpng
...
Improvements made:
* Supports tEXt chunks
* Supports chunk information
* Supports 16-bit depth image packing (fixes #1127 )
* Supports fixed alpha values
* And more.
2016-02-08 19:12:29 +02: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
1f7a1e4078
rsx/common/d3d12/gl: Fix lit and rsq behavior near 0 in vertex shaders.
2016-02-08 17:35:49 +01:00
kd-11
ddf5b52360
Implement rectangle textures natively on OpenGL
2016-02-07 08:57:04 +03:00
kd-11
d3405da5c4
Fix LLVM build by changing variable to appropriate type
2016-02-05 18:57:57 +03:00
kd-11
137821c866
Move program validation from link-time to draw-time to compy with spec
2016-02-04 11:19:13 +03:00
kd-11
7b889a10cc
Add vertex texture buffers for VS input
...
Support vertex instancing in vertex shader using VertexID
Relax OpenGL requirements by removing 4.5 features
Use EXT version of TexBufferRange; Implement buffer copy using TexBuffer
Apply travis workaround by danilaml
Fix vertex upload in in case of inlined array
2016-02-03 13:38:23 +03:00
kd-11
660f491310
Rework OGL texture swizzles;
...
Decode textures using TextureUtils
Shut compiler up about missing return value (unsure)
Revert "Shut compiler up about missing return value (unsure)"
This reverts commit db43ba448776e6c0d6c90909b4037b6f698a545c.
Change some functions in rsx::gl::texture to static.
Replace large switch block in gl::textures::mandates_expansion with simple if tests
2016-02-01 20:11:33 +03:00
Vincent Lejeune
3d960064ef
d3d12: Use unnormalized_coords info in RSXFragment
2016-01-30 22:04:36 +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
d19d9ccd0b
d3d12: Fix for #1459
2016-01-29 20:18:52 +01:00
Vincent Lejeune
149fa9d750
rsx/common: Make RSXFragmentProgram key and not just pointer.
2016-01-27 23:16:06 +01:00
Vincent Lejeune
3bd2114815
rsx-debug: Dump windows origin/pixel center.
2016-01-27 22:41:19 +01:00
Vincent Lejeune
acd384ae2d
rsx/common: Base offset is actually correctly supported.
...
Outrun uses it and cars are correctly displayed.
2016-01-27 22:05:43 +01:00
Nekotekina
b77666cbba
cellGame fix
2016-01-27 19:39:31 +03:00
Nekotekina
128ee67bba
PSF Loader simplified
2016-01-27 19:17:01 +03:00
Nekotekina
7417033d7f
GLGSRender fix
2016-01-27 18:14:39 +03:00
DHrpcs3
e8a940172c
fixed GameViewer crash if entry not exists
...
fixed psf::entry::as_string & psf::entry::value(string)
2016-01-27 18:14:38 +03:00
DHrpcs3
290bdc4566
added psf::object::get
2016-01-27 18:14:36 +03:00
DHrpcs3
220aab1fd0
Reimplemented psf loader
2016-01-27 18:14:35 +03:00
Vincent Lejeune
aa450b56f1
d3d12: Make some memory helper structure uncopyable/unmovable.
2016-01-26 23:20:23 +01:00
Vincent Lejeune
6d70f3c237
d3d12: Compare mipmap/depth count when checking texture compatibility.
...
d3d12: Check for depth in texture cache.
Fix Resogun crash when loading a level.
2016-01-26 23:13:30 +01:00
Vincent Lejeune
6384541345
d3d12: Store vertex attributes as SRV and disable Input_layout.
2016-01-26 23:13:29 +01:00
Vincent Lejeune
3c3f92f29b
rsx/common/d3d12: Support 3d textures
2016-01-26 17:56:02 +01:00
Vincent Lejeune
24255f7883
rsx/common/d3d12/gl: Add some texture info to RSXFragmentProgram
2016-01-26 17:56:01 +01:00
Vincent Lejeune
b71caa94ac
rsx-debug: Print number of vertex draw again.
2016-01-25 18:48:53 +01:00
Vincent Lejeune
9b8522e734
rsx/common: Div is vector over scalar division
...
According to investigation on Resogun.
2016-01-24 00:13:17 +01:00
Vincent Lejeune
4ce4cf5242
rsx: Add vertex input and output in RSXVertexProgram.
2016-01-22 01:24:54 +01:00
DHrpcs3
19ce0cdc09
rsx methods constants moved to rsx namespace
...
minor fix
2016-01-20 20:12:48 +03:00
DHrpcs3
2e58f312d5
rsx: implemented internal tasks queue (WIP)
2016-01-20 17:12:49 +03:00
DHrpcs3
7523d01e0f
Code style fixes #2
2016-01-20 16:39:06 +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
f453194e32
rsx: Fix int type not big enough
...
Fix glitch in After Burner Climax
2016-01-19 23:24:39 +01:00
Vincent Lejeune
440c637b1f
rsx/common/d3d12: Move surface_store in common
2016-01-19 22:49:10 +01:00
Vincent Lejeune
6aac972bda
d3d12/gl: Use r1 as depth output.
...
The "Output_from_h0" flag seems to concern color output.
There might be another flag for depth from half float value.
2016-01-19 00:45:26 +01:00
Vincent Lejeune
1ce49b60d9
rsx-debug/d3d12: Support all rtt formats.
2016-01-17 20:02:30 +01:00
Vincent Lejeune
26f329d186
d3d12: Fix dsv increment size
...
Typo.
2016-01-16 18:25:20 +01:00
Vincent Lejeune
5ace4438e2
d3d12: Fix texture proj
...
I misinterpreted "last component" from glsl doc... it's w, not z.
2016-01-16 18:25:19 +01:00
Vincent Lejeune
b8e10225f9
d3d12: Use first color output for alpha discard instead of 0.
...
Fix Naruto 2 shader miscompilation.
2016-01-16 18:25:18 +01:00
Vincent Lejeune
224facf3ba
d3d12: Never pass nullptr as render target descriptor, even if unused.
...
Function interface doesn't allow this.
2016-01-16 18:25:16 +01:00
Vincent Lejeune
3b4339c8e0
rsx: Use enum class for surface related regs
2016-01-15 23:44:27 +01:00
Nekotekina
efe1678088
"Build Solution" fix
2016-01-14 20:41:36 +03:00
Nekotekina
2f5be3559e
Hotfix
2016-01-14 20:13:41 +03:00
Nekotekina
960668ecf1
For #1355
...
offsetof() eliminated
OFFSET_32, SIZE_32, ALIGN_32 used
2016-01-14 19:07:27 +03:00
Nekotekina
83084467c6
For #1356
2016-01-14 19:07:26 +03:00
Nekotekina
8464ab6a23
Fixes ( #1432 )
...
/dev_bdvd/, rap file loading fix
2016-01-14 19:07:24 +03:00
raven02
74ec128e62
Use CELL_GCM_TEXTURE_CONVOLUTION_MAG for Mag 4
2016-01-14 19:00:16 +03:00
Vincent Lejeune
69272edba6
gl: Fix warnings and enable trat warning as error.
2016-01-13 23:53:11 +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
Vincent Lejeune
08622a41b4
d3d12: Use CHECK_HRESULT in D3D12Utils.cpp
2016-01-11 21:17:33 +01:00
Vincent Lejeune
669a3277ff
d3d12: Support mag filter 4
2016-01-11 21:17:32 +01:00
Vincent Lejeune
e6bd681227
d3d12: factorize render_target code in a template class to be shared with others backends.
2016-01-11 20:47:01 +01:00
Vincent Lejeune
0c5cfdddba
d3d12: Gather constant and vtx/idx heap and turn readback heap to buffer
2016-01-11 20:46:58 +01:00
Vincent Lejeune
bab52c132d
rsx/common/d3d12/gl: Clean ProgramStateCache
...
Use a_b_c format.
Use using =
Use tuple as output
Use RAII to delete program safely
Ensure const correctness.
2016-01-11 19:21:57 +01:00
DHrpcs3
8297d963bf
d3d12 texture cache: align to bottom texture address
2016-01-10 23:28:30 +02:00
DHrpcs3
a17c41b4e1
nv4097::get_report: use DMA
2016-01-10 23:22:55 +02:00
Vincent Lejeune
4ef76866a5
rsx/common/d3d12/gl: Support texture lod sampling.
2016-01-10 00:16:26 +01:00
Vincent Lejeune
675ccd4510
rsx/common/d3d12/gl: Mimic divsq and rsq fragment instruction behaviour with 0.
...
Fix Super Puzzle Turbo HD 2 and SH3 HD
2016-01-09 23:18:05 +01: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
Raul Tambre
3afc62e525
Fix #1368
2016-01-08 08:39:34 +02:00
Raul Tambre
f8446b227b
Implement inet_ntop and CELL_NET_CTL_INFO_LINK
...
Also fixed the default address not being set for all cases. Also tried
to fix the Win32 version of CELL_NET_CTL_INFO_IP_ADDRESS failing the
first time around.
2016-01-08 08:39:34 +02:00
Raul Tambre
8f937bda0f
Various minor logging improvements
...
Also changed the default connection state, because chances are, that
you're connected to Internet.
2016-01-08 08:39:33 +02:00
Vincent Lejeune
e7591439f4
Add Guidelines Support Library
2016-01-08 00:59:08 +01:00
DHrpcs3
f97d791fe8
PSF loader: implemented 0x0004 entry format
2016-01-07 21:22:36 +02:00
DHrpcs3
657a6c9511
elf64 loader: fixed too small primary stack size usage
2016-01-07 18:14:15 +02:00
DHrpcs3
e9560da4e2
nv3089::image_in: use in_x/in_y & out_x/out_y
2016-01-06 13:47:05 +02:00
DHrpcs3
6406cece57
nv3089::image_in: fixed reading from tiled regions
2016-01-06 13:30:26 +02: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
3ac9e0933f
gl: fixed nv4097_clear_surface & front face selection
...
added window shader and clip plane constants to GCM.h
2016-01-06 13:30:25 +02:00
DHrpcs3
c1be0cf3bf
Added missed files
2016-01-06 13:30:24 +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
dbccf5fbad
gl: fixed multiple textures binding
2016-01-06 13:30:23 +02:00
DHrpcs3
509bbddac1
OpenGL renderer: use pitch as image row length
...
Fixed rsx_utils code style
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
f38d0e92e7
d3d12: Avoid implicit cast from int to bool in CHECK_HRESULT macro
2016-01-03 21:51:39 +01:00
Vincent Lejeune
854365e6ce
d3d12: Reenable missing case for CELL_GCM_PRIMITIVE_LINE_LOOP
2016-01-03 21:51:38 +01:00
Zangetsu38
3529554c88
d3d12: Fix Super Dub 'a' Dub
2016-01-03 21:51:37 +01:00
Zangetsu38
2a1f19b776
d3d12: Fix for BIT.TRIP Runner2
2016-01-03 21:51:35 +01:00
Vincent Lejeune
324b2da3ec
d3d12: Recreate RTTs if size doesn't match.
...
Fix Bomberman Ultra
2016-01-03 21:51:34 +01:00
Vincent Lejeune
07f6896622
d3d12: Throw if program failed to build.
2016-01-03 21:51:33 +01:00
Vincent Lejeune
8417e21e8d
d3d12: Set command heap only when necessary.
2016-01-03 21:51:31 +01:00
Vincent Lejeune
02473324f4
Put XAudio and OpenAL files in separate projects.
2016-01-03 21:01:11 +01:00
Vincent Lejeune
bc3065939f
rsx-debug: dump anti aliasing control
2016-01-03 19:16:50 +01:00
Vincent Lejeune
d1e91433ad
rsx-debug: Dump anti aliasing mode.
2016-01-03 19:16:49 +01:00
Vincent Lejeune
4e7e895822
rsx-debug: Dump some more opcodes.
2016-01-03 19:16:48 +01:00
Vincent Lejeune
3586c7613a
rsx/common: Fix program state cache Shader program comparaison.
...
Comparaison was not taking the last instruction of shader into account.
Also remove "constant masking" since it wasn't actually usefull.
Fix DBZ: Burst Limits, SH3 and likely much more games.
2016-01-02 00:47:51 +01:00
Andrew Church
5a18c3f8ea
Allow a null destination pointer for cellL10n functions.
2015-12-31 19:12:32 +09:00
Andrew Church
3055de0444
cellL10n: Implement SJIS<->Unicode conversions.
2015-12-31 19:12:32 +09:00
Vincent Lejeune
5f12a4f7b5
rsx/common/d3d12/gl: Use separate vertex array/vertex register states.
2015-12-30 17:04:34 +01:00
Vincent Lejeune
082815f93e
llvm: Implement trap instructions
2015-12-29 22:25:19 +01:00
Vincent Lejeune
969e2d8c57
rsx/common: Support RSX_FP_OPCODE_DIV for scb
...
Fix glitches in dbz
2015-12-29 17:08:01 +01:00
Vincent Lejeune
44840dbbcf
d3d12: Support early return in fragment shaders.
2015-12-28 00:19:37 +01:00
Vincent Lejeune
d6b2230b92
d3d12: Revert some value in get_blend_factor_alpha
...
fix crash in SH3
2015-12-28 00:19:35 +01:00
Chaoren Lin
d917cfa43f
Create config file if it doesn't exist.
2015-12-24 10:58:28 -05:00
Vincent Lejeune
c4b3b967d9
d3d12: Fix warnings andnable warnings as errors.
2015-12-23 22:26:23 +01:00
Vincent Lejeune
b41fcf3734
d3d12: name rtts/ds/texture for debugging purpose
2015-12-23 22:26:22 +01:00
Vincent Lejeune
ecad586739
d3d12: Names PSO for debug purpose.
2015-12-23 22:26:20 +01:00
Zangetsu38
64036e0478
d3d12: fix return correct value in d3d12format
2015-12-23 22:26:19 +01:00
Vincent Lejeune
9c6539ea2d
rsx/common/d3d12: Force depth to be at least 1.
2015-12-23 22:26:18 +01:00
Vincent Lejeune
a97dc349b7
rsx/common: If swizzle bit is not set then there is no padding, even for dxtc textures.
...
Fixes some textures in dbz and after burner climax.
2015-12-23 22:26:16 +01:00
Vincent Lejeune
243bc0d06e
PPU/LLVM: Use interp version of some instruction for debugging purpose.
2015-12-23 17:03:01 +01:00
Vincent Lejeune
e7df81ade0
PPU/LLVM: Call fast_stop when function returns and PC corresponds
2015-12-23 17:02:56 +01:00
Vincent Lejeune
743f5f07cb
llvm: Reenable debug info dump
2015-12-23 17:02:51 +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
DHrpcs3
3ca634138d
Fixed conflict with X11
...
Added tmp folder to gitignore
2015-12-21 08:48:33 +02:00
DHrpcs3
d8bef46c2a
Do not use global static variables in headers
2015-12-21 05:35:56 +02:00
DHrpcs3
ae83ab5436
GLTexture excluded from GLGSRender and renamed to rsx::gl::texture
2015-12-21 04:14:56 +02:00
DHrpcs3
a00111a863
Do not mix projects temporaries
2015-12-21 03:55:55 +02:00
DHrpcs3
7416fe91fc
Fixed crash on start if config does not exists
...
Cleanup OpenGL renerer
2015-12-21 03:28:07 +02:00
Nekotekina
f2df9b469a
ThrowIfFailed replaced with CHECK_HRESULT macro
2015-12-20 15:41:11 +03:00
Nekotekina
4b7f9c38a6
rMsgBox eliminated
2015-12-20 15:41:10 +03:00
Nekotekina
a666318b95
Error messages improved
2015-12-20 15:41:09 +03:00
Nekotekina
aa811b6eef
Cleanup (noexcept, unreachable)
...
%x formatting fixes
2015-12-20 15:41:07 +03:00
Nekotekina
321e6d3a86
fs::get_config_dir, fs::get_executable_dir
2015-12-20 15:41:06 +03:00
DHrpcs3
8a21e0fcb8
Implemented some cellSaveData functions
...
Implemented cellSaveDataListSave, cellSaveDataListLoad,
cellSaveDataFixedSave, cellSaveDataFixedLoad, cellSaveDataAutoSave,
cellSaveDataAutoLoad
2015-12-20 10:39:07 +02:00
DHrpcs3
408581b7bc
sys_mmapper improvements
...
sys_mmapper_allocate_address: always set default value if aligment is 0
sys_mmapper_map_memory: don't fire exception if memory already mapped
2015-12-20 10:28:25 +02:00
DHrpcs3
416d66a438
Ignore SPU sync channels
2015-12-20 10:16:31 +02:00
Raul Tambre
5672ba887b
Fix #1343
2015-12-17 13:41:36 +02:00
Vincent Lejeune
69b3828086
rsx/common: Vertex program condition swizzle should apply to cc0, not float4(0.)
2015-12-16 20:36:50 +01:00
Zangetsu38
a44c54b428
d3d12: Fix error Last commit
2015-12-16 20:36:48 +01:00
Zangetsu38
dc5a439ec9
d3d12: Code style fix for function return
2015-12-16 20:36:46 +01:00
Zangetsu38
81f05daff2
d3d12: Add more log callback for support dev
2015-12-16 20:36:45 +01:00
Vincent Lejeune
456f83671a
d3d12: Add formatting abilities to unreachable macro
2015-12-16 20:36:43 +01:00
Vincent Lejeune
d7b4b2fd49
d3d12: Support surface format R5G6B5
2015-12-16 20:36:41 +01:00
Vincent Lejeune
27807f3a61
d3d12: D8R8G8B8 and A8R8G8B8 are essentially the same.
2015-12-16 20:36:39 +01:00
Vincent Lejeune
fcf7751008
d3d12: Fix handling of disabled texture
...
Fix After Burner Climax textures.
2015-12-16 20:36:38 +01:00
Vincent Lejeune
1cda2977bb
common/d3d12: emulate polygon mode
2015-12-16 20:36:36 +01:00
Vincent Lejeune
6221fecf3b
common/d3d12/gl: Start implementing cubemap sampling
2015-12-16 20:36:34 +01:00
Vincent Lejeune
80dc122742
common/d3d12: Clean texture upload code.
...
Some typos are fixed in the process
2015-12-16 20:36:32 +01:00
Vincent Lejeune
929f518ef3
rsx/d3d12/gl: Make output write backend dependent.
2015-12-16 20:36:31 +01:00
Vincent Lejeune
6fae5863cf
common/d3d12/gl: Add support for textureProj
2015-12-16 20:36:29 +01:00
Jake
266504a0ac
CellUser: Fix cellUserInfoGetStat for 'userid_current'
2015-12-14 19:16:15 -06:00
Jake
08d05e245d
sys_mmapper: Allow 0 alignment to mapping to fix Psl1ght homebrew booting
2015-12-14 19:16:14 -06:00
Jake
6f584049a2
rsx: NV3089_image_in: Fix braid and Jet Set Radio
2015-12-14 19:16:12 -06:00
Zangetsu38
27ad98ee98
Fix for Shovel Knight
2015-12-12 23:21:24 +01:00
Nekotekina
d90850e697
GLGSRender.vcxproj added
2015-12-08 20:02:33 +03:00
Nekotekina
8e4ad3dfcb
Property sheets, configuration simplified
...
MemLeak build fixed
2015-12-08 20:02:30 +03:00
Vincent Lejeune
0e27b68ba7
System: Add a test mode that fakes running emulator.
2015-12-06 23:51:52 +01:00
Vincent Lejeune
6c01658d37
system: Do not send dbg command if dbg hook is not present.
2015-12-06 23:51:51 +01:00
Vincent Lejeune
8e451126ac
llvm: Make Compiler class a module builder only class.
2015-12-06 23:51:50 +01:00
Vincent Lejeune
7ae1b51753
llvm: Remove PPULLVMRecompilerTests.cpp
2015-12-05 22:17:28 +01:00
Danila Malyutin
0d6297fef0
GUI: Fix wx assert on first right-click in game list
...
Don't know why it was working before.
Anyway, it seems ugly and it probably should be handled differently (the
whole function, or whole GUI ;P).
2015-12-05 19:54:23 +03:00
Danila Malyutin
d01235ce2d
GUI: Fix removing game from game list
...
Fixes #1326
2015-12-05 19:45:58 +03:00
Raul Tambre
efe430733b
Fix cellGcmSetTile(Info)
...
I didn't specifically write a test for it, but I did at some point
modify a couple samples to try and use 2048 and 2047. Anything above
2047 didn't work.
2015-12-05 14:22:51 +02:00
Nekotekina
3465106456
Shared PCH (experimental)
...
"Rebuild" is broken though.
2015-12-04 23:37:44 +03:00
Nekotekina
24128ba450
Optimization
2015-12-04 23:37:42 +03:00
Nekotekina
298eb46a31
AutoPauseManager, SaveDataUtility fix
...
Redundant stringstream removed
2015-12-04 23:37:41 +03:00
Nekotekina
f245799479
Custom hashers for ID manager
2015-12-04 23:37:40 +03:00
Nekotekina
82cb8fe5bd
SharedMutex improved
2015-12-04 23:37:39 +03:00
Nekotekina
b18e337781
GUI fixes
2015-12-04 23:37:37 +03:00
Nekotekina
f3311bb5e5
GL render crash fix
2015-12-04 23:37:36 +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
19cf749944
rsx: fix convert_linear_swizzle converting backwards
2015-12-02 04:22:19 -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
Jake
83cb137721
rsx: add missing transfer enums
2015-12-02 04:22:17 -06:00
Jake
8edf35a9e3
gl: remove incorrect/unneeded glenable enum
2015-12-02 04:22:16 -06:00
Zangetsu38
450c8245ed
Fix Jet Set Radio
2015-12-01 23:18:29 +01:00
Vincent Lejeune
88d7feda5c
d3d12: Support unormalized texture coordinates
2015-12-01 23:18:27 +01:00
Vincent Lejeune
c9c436e6fc
d3d12: In case of non supported rtt fallback to R8G8B8A8 format.
2015-12-01 22:42:36 +01:00
Vincent Lejeune
f4091b1027
d3d12: Fix fragment shader accessing to gl_Position
2015-12-01 22:42:34 +01:00
Vincent Lejeune
174fb97172
d3d12: Fix for case where fragment shaders samples textures starting from non first unit.
2015-12-01 22:42:33 +01:00
Vincent Lejeune
377bdae6a9
rsx-debug: Move pretty_printing code to GCM.cpp and support transform constants and some texture opcodes
2015-11-30 19:09:45 +01:00
Vincent Lejeune
3d2386f903
rsx-debug: Display color buffer content in separate frame.
2015-11-30 19:09:44 +01:00
Vincent Lejeune
a21c9f9861
rsx: Avoid mixing float4 and int4 in declaration of AddrReg.
2015-11-30 17:35:51 +01:00
Vincent Lejeune
1e9d1c1dd9
gl: Uncomment viewport setting code
2015-11-29 18:22:53 +01:00
Vincent Lejeune
399478c2cd
gl: Use const and ref for loops in GLFragmentProgram.cpp
2015-11-29 18:20:43 +01:00
Vincent Lejeune
c86cfef58e
rsx/common: Remove getFragmentConstantOffsetsCache
2015-11-28 20:58:00 +01:00
Vincent Lejeune
7a996648bb
gl: Use fill_gragment_constans_buffer
2015-11-28 20:41:30 +01:00
Danila Malyutin
8d5d545f3f
Some dependency info updated
2015-11-28 00:08:38 +03:00
Vincent Lejeune
a19a9b5585
d3d12: fallback to linear filter when mag filter is not known.
2015-11-26 20:21:26 +01:00
Vincent Lejeune
f3dd9596cf
d3d12: Use address instead of context_dma value to determine whether to write buffers
...
Fixed depth read test when write color buffer is enabled
2015-11-26 18:10:21 +01:00
Vincent Lejeune
115255c162
d3d12: Fallback to bilinear filtering if convolution min one is used.
2015-11-26 18:05:27 +01:00
Vincent Lejeune
984f5c6914
d3d12: Fix depth readback format
2015-11-26 18:05:26 +01:00
Vincent Lejeune
fa845fa5c0
d3d12: Add support for F_X32 surface format
2015-11-26 18:05:25 +01:00
Vincent Lejeune
579096c6a8
d3d12: Discard rtt if format has changed.
2015-11-26 18:05:23 +01:00
Vincent Lejeune
7e938b2363
d3d12: Use INCR for stencil op when an unknow op is used.
...
Fixes shadows in Jet Set Radio.
2015-11-26 18:04:53 +01:00
Vincent Lejeune
0d2c4c24b4
d3d12: Use a single big buffer to store readback data
2015-11-25 17:54:58 +01:00
Vincent Lejeune
d15300a549
rsx: Display programs associated with selected draw calls in debugger
2015-11-24 23:34:04 +01:00
Vincent Lejeune
b9d8d9383a
rsx/d3d12: dump program content when capturing frame
2015-11-24 23:34:03 +01:00
Vincent Lejeune
85cf918aeb
rsx: Add none target to gcm pretty printing
2015-11-24 23:14:07 +01:00
Vincent Lejeune
b5add0f027
rsx: better naming for draw calls
2015-11-24 23:14:05 +01:00
Vincent Lejeune
b238107a99
rsx: Dump captured commands to file
2015-11-24 23:14:04 +01:00
Vincent Lejeune
5447521ce5
gl: Use uniform buffer for transform constants.
2015-11-19 20:26:14 +01:00
Vincent Lejeune
3e5f0e5c37
rsx: Add missing SCB DIVSQ opcode support
...
Fix a lot of gfx glitches in SH3 HD
2015-11-19 19:24:58 +01:00
Vincent Lejeune
9fdc458d69
rsx: Make SCT/SCB/TEX SRB function complete member of FragmentProgram
2015-11-19 19:24:57 +01:00
Nekotekina
4a669fd86e
DX12 dependencies fix
2015-11-17 21:00:59 +03:00
Vincent Lejeune
307015382d
d3d12: Support default value for stencil op
...
Requested by Jet Set Radio.
2015-11-16 23:32:38 +01:00
Vincent Lejeune
471e807ea2
d3d12: Fix some typo in render target code
...
Should bring performances back
2015-11-16 23:32:37 +01:00
Vincent Lejeune
bb4b12f253
d3d12: Texcoord9 is actually stored in register 6.
...
Fix shadow mapping in SH3 HD.
2015-11-16 23:32:35 +01:00
Vincent Lejeune
432bca26ae
d3d12: Add support for reading depth texture
2015-11-16 23:32:34 +01:00
Nekotekina
5f6caf33f0
MINGW64: Compilation fix
2015-11-16 19:12:51 +03:00
Vincent Lejeune
e2d0a63b98
gl: Use factored scale offset function call
2015-11-15 22:52:39 +01:00
Vincent Lejeune
570ca1c87f
d3d12: Use a_b_c style for D3D12GSRender.h members
2015-11-15 20:21:44 +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
a79ffdb485
rsx/common: Fix ARL register type and write function in vtx shader
2015-11-15 17:20:41 +01:00
Vincent Lejeune
daf2d3a02e
rsx: Suppress cellResc function that modifies method_registers
2015-11-15 17:20:21 +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
O1L
f34bd724e3
SimpleIni removed
2015-11-15 13:05:25 +04:00
O1L
fd13a495de
Replace remained old ini-manager calls
2015-11-14 23:59:46 +04:00
Nekotekina
7dfe9415c4
PKG Installer fix
2015-11-14 20:26:42 +03:00
Nekotekina
080e503954
Compilation fix
2015-11-14 20:26:41 +03:00
Nekotekina
a4db58f5f2
Added fs::file_ptr, fom::rewrite, cleanup
2015-11-14 20:26:40 +03:00
Danila Malyutin
009aa3dcb9
Fix crash on exit in some tests
...
It started occurring recently though the problem seems to be old.
Only KeyboardHandlerBase is the fix, the MouseHandler one is to be safe.
2015-11-14 19:34:20 +03:00
Vincent Lejeune
039e729881
d3d12: Fix scissor
2015-11-12 18:29:04 +01:00
Vincent Lejeune
c152c20d70
d3d12: Fix wrong front_face_ccw value for Disgaea 3
2015-11-12 18:29:03 +01:00
Vincent Lejeune
917f08c534
d3d12: Fix depth range
2015-11-12 18:29:02 +01:00
Vincent Lejeune
ae5d95d462
rsx/common: Take primitive restart index in account and turns it into -1.
2015-11-12 18:29:01 +01:00
Vincent Lejeune
925d6889a6
d3d12: Use ring buffer like rtv/dsv descriptor heap
2015-11-12 18:29:00 +01:00
Raul Tambre
5d5a4f804b
Replace most returns with CHECK_ASSERTION
...
Also fix some Seek methods return types being unsigned, while returning
negative errors.
Added the CHECK_ASSERTION macro checks in a couple more places.
Simplified CHECK_ASSERTION macro usage.
2015-11-09 07:42:04 +02:00
Raul Tambre
9c2f48cd1d
More defect fixes, added some error codes
2015-11-09 07:39:50 +02:00
Raul Tambre
fac9d74344
Lots of defect fixes
2015-11-09 07:39:50 +02:00
Vincent Lejeune
660bc34157
rsx: Add gui element to enable capture frame
2015-11-08 19:34: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
8da7361794
rsx: Expand some rsx register disasm.
2015-11-08 19:12:27 +01:00
Vincent Lejeune
0cc4b555d1
d3d12: Comment out LLVM_BUILTIN_UNREACHABLE and display error msg in log
2015-11-07 22:52:13 +01:00
Vincent Lejeune
e76abf875f
d3d12: Clean rtt related code
2015-11-07 22:52:12 +01:00
Vincent Lejeune
2a9895b7f0
rsx/d3d12: Move fragment constants filling code to ProgramStateCache
2015-11-06 20:08:45 +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
Zangetsu38
61755ed017
Fix Full screen in DX12
2015-11-04 15:32:44 +01:00
Vincent Lejeune
449c41aca2
d3d12: Support size changing depth buffer
2015-10-30 18:28:27 +01:00
Vincent Lejeune
2043181501
d3d12: Suppress a warning if no rtt is bound
...
Rendering depth only is legal.
2015-10-30 18:10:41 +01:00
Vincent Lejeune
a2f7f371dc
d3d12: Add an extra varying.
...
This fixes shader compilation for SH3 HD.
2015-10-30 00:04:10 +01:00
Vincent Lejeune
29cde1a618
d3d12: Clean Overlay code
2015-10-30 00:04:09 +01:00
Vincent Lejeune
c570d60f45
d3d12: Add newline at the end of every file
2015-10-29 19:12:46 +01:00
Vincent Lejeune
893175f511
d3d12: Include some headers in stdafx_d3d12.h to speed up compilation
2015-10-29 19:11:25 +01:00
Vincent Lejeune
c197b54774
d3d12: Rename D3D12GSRender function
...
Match a_b_c coding style.
2015-10-29 18:48:53 +01:00
Vincent Lejeune
124d0de325
d3d12: Move storage helpers to their dedicated files.
2015-10-29 18:48:52 +01:00
Vincent Lejeune
fdae12c52e
d3d12: Move empty texture slot filling code to D3D12Texture.
2015-10-29 18:48:52 +01:00
Vincent Lejeune
59c549ac86
d3d12: Clean D3D12GSRender
...
* Use anonymous namespace
* Use a_b_c code style
* Fix static analysis warning.
2015-10-29 18:48:51 +01:00
Vincent Lejeune
1ec18bdf64
RSX/common: Clean BufferUtils code
...
* Add noexcept
* Use a_b_c code style
* Use anonymous namespace
2015-10-29 18:48:50 +01:00
Vincent Lejeune
42467ba40f
RSX/common: Clean TextureUtils code.
...
* Use a_b_c code style
* Add noexcept
* Use anonymous namespace
2015-10-29 18:48:50 +01:00
Vincent Lejeune
8f84fca0f2
d3d12: Fix some unintialised value warning.
2015-10-29 18:48:49 +01:00
Vincent Lejeune
0e3ab35e32
d3d12: Fix sampler border color
2015-10-29 18:48:48 +01:00
Vincent Lejeune
119126c60c
d3d12: Move enum conversion to a separate files.
...
* Add noexcept
* Use unreachable
* Use a_b_c style
2015-10-29 18:48:48 +01:00
Vincent Lejeune
5c42a3cbc4
d3d12: Add a unreachable function used as debug/optimisation hint
2015-10-29 18:48:47 +01:00
Vincent Lejeune
6133590903
d3d12: Rename d3d12.h to avoid conflicts
2015-10-29 18:48:46 +01:00
Vincent Lejeune
8afa6e59b2
RSX: Returns texture bias as a float, considering the stored value is a half float.
2015-10-27 01:24:04 +01:00
Vincent Lejeune
9f49232cac
d3d12: Avoid copying index data and use correct index range.
...
This fixes Braid.
2015-10-27 01:24:04 +01:00
Vincent Lejeune
bc7e30517b
d3d12: Add support for primitive restart.
2015-10-27 01:24:03 +01:00
Vincent Lejeune
fe902cbb13
d3d12: Use provided constants to set alignments
2015-10-27 01:24:03 +01:00
Vincent Lejeune
42f3296791
d3d12: Try to support undef vertex input
2015-10-27 01:24:02 +01:00
O1L
f842c206f3
Removed unneeded config saves and misprints
2015-10-27 01:41:12 +04:00
O1L
c0255208cc
Old ini-manager only partially used in VFS. Global configuration used as defualt.
2015-10-27 01:09:31 +04:00
O1L
e8ebb005fd
Again
2015-10-25 19:06:01 +04:00
O1L
c64bbcf87a
Oops
2015-10-25 18:55:56 +04:00
O1L
89f14ec5ac
Ported more options in new ini-manager. Use later.
2015-10-25 18:44:49 +04:00
O1L
1673ba217c
Do not try to change default config, use state configs.
2015-10-24 22:48:07 +04:00
O1L
a273768c4d
Compilation fix 2
2015-10-24 16:18:40 +04:00
O1L
bc8b71cbc1
Compilation fix
2015-10-24 15:46:31 +04:00
O1L
9d6df238d5
Use custom configurations
2015-10-24 14:38:24 +04:00
Nekotekina
fd628d8345
Minor changes
2015-10-22 22:38:34 +03:00
Nekotekina
d4e0da3f80
DX12 fix + rpcs3-tests project
2015-10-21 13:31:29 +03:00
Nekotekina
8cfabf0ead
Fixes
2015-10-20 18:55:34 +03:00
Raul Tambre
6f8544281a
Fix a savedata access violation
2015-10-20 12:34:54 +03:00
Vincent Lejeune
a462b4518c
d3d12: Move d3d12 files to separate solution.
...
It simplify solution configurations.
2015-10-17 04:15:58 +02:00
Nekotekina
77bf86eaa5
Bugfix
2015-10-16 03:25:39 +03:00
Vincent Lejeune
f5bd044096
d3d12: Lower alignement constraint for vertex index
2015-10-15 17:13:43 +02:00
Vincent Lejeune
a2997a1109
d3d12: Avoid an extra vertex copy
2015-10-15 17:13:43 +02:00
Vincent Lejeune
b0f8611f49
Common/GL/D3D12: Fix int vector ctor in vertex shader and a compare opcode.
2015-10-15 17:13:42 +02:00