Commit graph

29 commits

Author SHA1 Message Date
pent0
c1070472b9 renderer: Add mechanism to syncing color surface depends on access. 2022-05-28 11:56:59 +02:00
Zangetsu38
3dc86a6b6f gxm/texture: Add U8U8U8U8_(RGBA/BGRA) on convert color to tex format. 2022-05-17 22:13:47 +02:00
Zangetsu
67c287def5
modules/SceGxm: set data and good texture format for bagroundTex. (#1733)
- Used for sampling current color surface in both precomputed and immediate mode.
- fix wrong color and black screen render on Super Stardust Delta.
modules/SceGxm: Implement sceGxmColorSurfaceSetData & sceGxmColorSurfaceSetFormat.

Co-authored-by: pent0 <l51492003231@163.com>
2022-05-16 20:25:02 +02:00
Sergi Granell
bbd110e47e gxm: split public SceGxm types and internal+opaque SceGxm types 2022-03-16 07:57:54 +07:00
Zangetsu38
7cf07fb1d3 modules/SceGxm: implement sceGxmTransfer(Copy/Downscale/Fill).
- stub convert type and syncflags.
2022-01-21 15:50:30 +01:00
Zangetsu38
fb969fe311 build: add support of VS 2022.
- external: update boost to 1.78.
- gen-windows: using version of VS installed.
2021-12-13 19:12:39 +01:00
Zangetsu38
5315c2ae24 gl/renderer: fix tiled texture if color surface type is tiled.
renderer: small refactor for using base_format directly.
renderer: add get color base format.
renderer: add get bits per pixel for color format.

Co-authored-by: pent0 <fewdspuckrito@gmail.com>
2021-10-11 05:15:18 +02:00
hobyst
168dfb19ca Add license notice on source files which didn't have one
- Also updated the copyright notice year on all files to 2021
2021-08-19 23:14:27 +02:00
bythos14
96d5dba963 Tidy up get_fragment_inputs 2021-07-23 20:27:27 +07:00
pent0
899fe29bfb modules: Fix texture size for swizzled and cubed 2021-05-19 19:44:26 +02:00
bookmist
1ac4815bee gxm: small refactoring 2021-04-26 02:02:17 +02:00
scribam
ab690d199a
gxm: Improve cube textures (#1214) 2021-04-08 08:03:58 +02:00
Pedro Montes Alcalde
29ff240961
gxm: Implement untype attribute format (#1168) 2021-02-22 01:55:47 +07:00
mangren
0b41fa7e9a gxm: Handle and implement instancing 2021-02-19 21:01:38 +07:00
mangren
1159952df7 shader: Implement built in VertexID and InstanceID 2021-02-07 10:19:38 +01:00
mangren
949b1801b1 shader: Correct buffer load base offset
Fill in a missing field, collected from analysing multiple shaders
2021-02-05 23:03:23 +01:00
scribam
9230dc8ebc gxm: update texture base format and swizzle masks 2021-01-02 17:28:17 +01:00
pent0
55e3df39a8
gxm: Save indicies data in beginscene (#1065) 2020-12-28 17:14:34 +07:00
scribam
1379226ad0 gxm: add helper to identify block compressed texture formats 2020-12-24 18:03:52 +02:00
Zangetsu38
cd418dadf4 modules/SceGxm: impelment sceGxmTextureInitLinearStrided.
modules/SceGxm: implement sceGxmTextureGetStride.
2020-05-14 08:28:13 +02:00
1whatleytay
34a02553c4
vita3k: remove vita-headers (#649) 2020-02-06 09:44:49 -05:00
Zangetsu38
7ecb2db0ca all: clang project format third. 2020-01-21 22:24:23 +02:00
pent0
8372ead6da gxm: Add function to get uniform buffer base 2020-01-19 13:37:13 -05:00
pent0
d5d72cefb8 gxm/gxp: Add containers utilities 2020-01-19 13:37:13 -05:00
Zangetsu38
ba41e627c2 all: Format project 2020-01-12 22:35:27 -05:00
Taylor Whatley
6463b34cc1 modules: implement avcdec and yuv format 2019-12-22 00:15:36 -05:00
Peter Mackay
eeb0601738 Fix warnings when compiling with Clang (#589)
* util: Add missing parens

* util: Add bytes.h to CMakeLists.txt

* np: Fix initialiser order warning

* renderer: Remove unused operator

* renderer: Remove unused locals

* vita3k: Guard config-dependent local

* SceGxm: Remove unused locals

* SceProcessmgr: Fix unused variable warning on Mac

I assumed Mac works the same as Linux.

* shader: Remove unused locals

* shader: Fix initialiser order warnings

* gxm: Rewrite pointer math to fix int to pointer truncation warning

* renderer: Remove deletes of memory internal to command buffer

* util: Use tab rather than spaces
2019-11-01 16:47:07 +01:00
1whatleytay
33a8a1b8d8
shader: proper size for TexCoordInfo and vec4 dual (#593) 2019-10-18 08:44:49 -04:00
Nicolas Jallamion
06299de242 emulator: Refactor file structure (#557)
Also:
- external: update some submodules.
2019-08-28 16:52:07 +03:00