Commit Graph

117 Commits

Author SHA1 Message Date
DanielSvoboda 5c75da8abc
remove EmitSLessThan 2024-07-29 19:10:15 -03:00
DanielSvoboda a8c504d352
remove EmitBufferAtomicIMin32 and Max32 2024-07-29 19:10:11 -03:00
DanielSvoboda e2bd5a03c3
Update opcodes.inc 2024-07-29 19:10:05 -03:00
DanielSvoboda 2ee6575240
Update resource_tracking_pass.cpp 2024-07-29 19:09:57 -03:00
DanielSvoboda e391d7cc67
Update emit_spirv_instructions.h 2024-07-29 19:09:53 -03:00
DanielSvoboda f6dfd81f3d
remove DS_MAX - DS_MIN 2024-07-29 19:09:49 -03:00
DanielSvoboda ebe2fbd8ed
Update vector_alu.cpp 2024-07-29 19:09:45 -03:00
DanielSvoboda c1569c7358
remove DS_MAX - DS_MIN 2024-07-29 19:09:38 -03:00
DanielSvoboda 0d145f4f20
Update translate.cpp 2024-07-29 19:09:35 -03:00
DanielSvoboda eb96b94f8c
Update spirv_emit_context.cpp 2024-07-29 19:09:30 -03:00
DanielSvoboda 108ba41985
Update emit_spirv_context_get_set.cpp 2024-07-29 19:09:25 -03:00
DanielSvoboda f76d48fc7e
Update translate.cpp 2024-07-29 00:17:14 -03:00
DanielSvoboda d1f2250a20
Update translate.cpp 2024-07-28 23:38:40 -03:00
DanielSvoboda f9cc4ebd65
Update scalar_alu.cpp 2024-07-28 23:23:04 -03:00
DanielSvoboda 68ff521bac
Update opcodes.inc 2024-07-28 23:22:13 -03:00
DanielSvoboda 6b019dced5
Update spirv_emit_context.cpp 2024-07-28 23:16:39 -03:00
DanielSvoboda c06a4be7a9
Update spirv_emit_context.h 2024-07-28 23:12:18 -03:00
DanielSvoboda 41912d0a63
Update emit_spirv_warp.cpp 2024-07-28 23:11:17 -03:00
DanielSvoboda 953fd5cb76
Update emit_spirv_instructions.h 2024-07-28 23:10:17 -03:00
DanielSvoboda 7d64fb12db
Update emit_spirv_integer.cpp 2024-07-28 23:09:48 -03:00
DanielSvoboda 1c619e241e
Update vector_alu.cpp 2024-07-28 23:06:59 -03:00
DanielSvoboda fb26e39633
Update opcodes.inc 2024-07-28 22:51:52 -03:00
DanielSvoboda 7215c1d2e1
Update ir_emitter.h 2024-07-28 22:48:24 -03:00
DanielSvoboda 3ecccc5a00
Update ir_emitter.cpp 2024-07-28 22:46:01 -03:00
DanielSvoboda 9abe09cd0c
Update vector_alu.cpp 2024-07-28 22:39:48 -03:00
DanielSvoboda 66ac528ae4
Update translate.cpp 2024-07-28 22:12:46 -03:00
DanielSvoboda 0a71335439
Update translate.h 2024-07-28 22:12:42 -03:00
DanielSvoboda 394363bfb9
Update data_share.cpp 2024-07-28 21:24:43 -03:00
DanielSvoboda 6dc79af9eb
Update emit_spirv_atomic.cpp 2024-07-28 18:00:36 -03:00
DanielSvoboda 6bd2ee4831
Update translate.cpp 2024-07-28 17:52:21 -03:00
DanielSvoboda 0d6fead8d2
Update translate.h 2024-07-28 17:51:54 -03:00
DanielSvoboda 8bab2d3e07
Update vector_memory.cpp 2024-07-28 17:51:11 -03:00
DanielSvoboda 156c65bfa9
Update emit_spirv_atomic.cpp 2024-07-28 17:46:21 -03:00
DanielSvoboda 7a3334bb2d
Update data_share.cpp 2024-07-28 14:52:57 -03:00
DanielSvoboda 8cb77b3fa5
Update opcodes.inc 2024-07-28 14:52:27 -03:00
DanielSvoboda 112bb5cff4
Update translate.cpp 2024-07-28 14:44:04 -03:00
DanielSvoboda 18a09f5a87
Update translate.h 2024-07-28 14:42:58 -03:00
DanielSvoboda 8c3eb0f4f7
Update vector_memory.cpp 2024-07-28 14:40:59 -03:00
DanielSvoboda 5f93037aeb
Update ir_emitter.cpp 2024-07-28 14:40:27 -03:00
DanielSvoboda 96ba76d859
Update emit_spirv_atomic.cpp 2024-07-28 14:39:02 -03:00
DanielSvoboda fb145342ce
log improvement ThrowInvalidType (#330)
* log improvement ThrowInvalidType

* log improvement ThrowInvalidType
2024-07-28 18:42:54 +03:00
Vinicius Rangel 680192a0c4
64 bits OP, impl V_ADDC_U32 & V_MAD_U64_U32 (#310)
* impl V_ADDC_U32 & V_MAD_U64_U32

* shader recompiler: add 64 bits version to get register / GetSrc

* fix V_ADDC_U32 carry

* shader recompiler: removed automatic conversion to force_flt in GetSRc

* shader recompiler: auto cast between u32 and u64 during ssa pass

* shader recompiler: fix SetVectorReg64 & standardize switches-case

* shader translate: fix overflow detection in V_ADD_I32

use vcc lo instead of vcc thread bit

* shader recompiler: more 64-bit work

- removed bit_size parameter from Get[Scalar/Vector]Register
- add BitwiseOr64
- add SetDst64 as a replacement for SetScalarReg64 & SetVectorReg64
- add GetSrc64 for 64-bit value

* shader recompiler: add V_MAD_U64_U32 vcc output

- add V_MAD_U64_U32 vcc output
- ILessThan for 64-bits

* shader recompiler: removed unnecessary changes & missing consts

* shader_recompiler: Add s64 type in constant propagation
2024-07-27 17:23:59 +03:00
DanielSvoboda b2ba84aa11
BUFFER_STORE_DWORDX2 2024-07-26 00:25:29 -03:00
TheTurtle a2cd1669b6
memory: Cleanups and refactors (#324)
* memory: Various fixes

* Added (Partial) sceKernelBatchMap/sceKernelBatchMap2

* memory: Rename and implement batch unmap

* memory: Remove uneeded assert

* memory: Commonize free search routine

* memory: Contains check is inclusive

* memory: Address some alignment issues

* clang format

---------

Co-authored-by: raziel1000 <ckraziel@gmail.com>
2024-07-25 23:01:12 +03:00
squidbus 6a6d5bad42 Fix one-off bug with user data registers. 2024-07-21 22:36:12 +03:00
squidbus 66fa29059c Add initial macOS support. 2024-07-21 22:36:12 +03:00
psucien 64459f1a76
Surface management rework (1/3) (#307)
* amdgpu: proper CB and DB sizes calculation; minor refactoring

* texture_cache: separate file for image_info

* texture_cache: image guest address moved into image info

* texture_cache: surface size calculation

* shader_recompiler: fixed sin/cos

Thanks to red_pring and gandalfthewhite0173

* initial preparations for subresources upload

* review comments
2024-07-20 12:51:21 +03:00
TheTurtle bfe3322977
spirv: Address some regressions in buffer loads (#304)
* spirv: Use correct index

* spirv: Fix indices during buffer load

* clang-format fix

* spirv: Index can be const

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2024-07-19 19:36:07 +03:00
Vladislav Mikhalin d0d7ef06e8
Fixed buffer_store_* regression (#302) 2024-07-18 21:04:12 +03:00
georgemoralis 439c0be9a6 clang format fix 2024-07-17 17:57:54 +03:00