gdkchan
0e1e094b7a
Improve texture tables ( #457 )
...
* Improve texture tables
* More renaming and other tweaks
* Minor tweaks
2018-10-17 18:02:23 -03:00
gdkchan
d4187aaa9d
Allow "reinterpretation" of framebuffer/zeta formats ( #418 )
...
* (Re)Implement format reinterpretation, other changes
* Implement writeback to guest memory, some refactoring
* More refactoring, implement reinterpretation the old way again
* Clean up
* Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes
* nit: Formatting
* Address PR feedback
2018-09-18 01:30:35 -03:00
HorrorTroll
8a78a703f2
Implement B5G6R5Unorm, BGR5A1Unorm, RGBA32Uint, R16Unorm and Z16 texture format. Fix BC6H_UF16 from Unorm to Sfloat ( #417 )
...
* Implement B5G6R5Unorm & BGR5A1Unorm
* Implement RGBA32Uint
* Implement R16Unorm & Z16 texture format
* Fix BC6H_UF16 from Unorm to Sfloat
2018-09-17 02:24:55 +02:00
HorrorTroll
bf28d8f1aa
Add BGRA8Unorm, BGRA8Srgb, ZF32_X24S8 texture format ( #377 )
...
* Add BGRA8Unorm, BGRA8Srgb, ZF32_X24S8 texture format
* Add BGRA8Unorm, BGRA8Srgb, ZF32_X24S8 texture format
* Revert "Add BGRA8Unorm, BGRA8Srgb, ZF32_X24S8 texture format"
This reverts commit aea5c9db3a
.
* Conflicts fix
* Wrong fix
* E
* e
2018-09-01 18:25:49 -03:00
HorrorTroll
27023e7afc
Add R32_G32 texture format ( #383 )
2018-08-27 11:18:21 -03:00
ReinUsesLisp
726de8c46a
Rendertarget attachments, texture and image changes ( #358 )
...
* Add multiple color outputs for fragment shaders
* Add registers and gal enums
* Use textures for framebuffers and split color and zeta framebuffers
* Abstract texture and framebuffer targets as an image
* Share images between framebuffers and textures
* Unstub formats
* Add some formats
* Disable multiple attachments
* Cache framebuffer attachments
* Handle format types
* Add some rendertarget formats
* Code cleanup
* Fixup half float types
* Address feedback
* Disable multiple attachments in shaders
* Add A4B4G4R4 image format
* Add reversed section for image enums
2018-08-19 22:25:26 -03:00
greggameplayer
ce96a45685
Implement A2B10G10R10 TextureFormat ( #248 )
...
* add A2B10G10R10 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
2018-07-29 01:41:02 -03:00
greggameplayer
120fe6b74a
Implement BF10GF11RF11 TextureFormat ( #246 )
...
* add BF10GF11RF11 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
* correct PixelType
2018-07-19 01:26:28 +02:00
greggameplayer
0a13900bc9
Implement Z24S8 TextureFormat ( #247 )
...
* add Z24S8 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
* Correct PixelType
2018-07-19 01:19:37 +02:00
greggameplayer
e71da4fb74
Implement BC6H_SF16 & BC6H_UF16 Texture Formats ( #255 )
...
* Implement BC6H_SF16 & BC6H_UF16
* correct coding style (1/5)
* correct coding style (2/5)
* correct coding style (3/5)
* correct coding style (4/5)
* correct coding style (5/5)
2018-07-16 15:09:34 -03:00
gdkchan
1968386808
Add locking methods to the ogl resource cache ( #238 )
...
* Add locking methods to the ogl resource cache
* Remove some unused arguments
* Add the ZF32 texture format
2018-07-09 23:01:59 -03:00
Lordmau5
98e6a34608
Implement R16 texture format ( #147 )
2018-06-12 09:29:44 -03:00
gdkchan
49fd76db0f
Fix a small size related issue on MapBufferEx and add the BC7U texture format
2018-06-10 01:00:43 -03:00
gdkchan
53a6922f87
Some small gpu improvements and shader improvements, add support for ASTC 4x4 textures (slow!)
2018-06-02 00:50:56 -03:00
gdkchan
f43dd08064
Added support for more shader instructions and texture formats, fix swapped channels in RGB565 and RGBA5551? texture formats, allow zero values on blending registers, initial work to build CFG on the shader decoder, update the BRA instruction to work with it (WIP)
2018-05-29 20:37:10 -03:00
gdkchan
7b2f471d4f
[GPU] Add support for the BC4/5 texture formats
2018-04-10 18:54:50 -03:00
gdkchan
feb2680a6c
[GPU] Add more shader instructions, add support for rgb565 textures
2018-04-10 16:50:32 -03:00
LDj3SNuD
e9cfdef098
Add A1B5G5R5 texture format. ( #76 )
...
* Update GalTextureFormat.cs
* Update TextureReader.cs
2018-04-08 18:08:36 -03:00
gdkchan
b9aa3966c0
Merge shader branch, adding support for GLSL decompilation, a macro
...
interpreter, and a rewrite of the GPU code.
2018-04-08 16:41:38 -03:00