Commit graph

4 commits

Author SHA1 Message Date
ReinUsesLisp
3bc53382c8 Add TEX texture types and 1D and 3D textures support. Stub depth 2018-08-27 02:51:03 -03:00
ReinUsesLisp
9d82220b37 Abstract into OGLHelper 2018-08-26 21:10:01 -03:00
ReinUsesLisp
30d7d3ae0a Implement non-2D textures in shaders 2018-08-26 20:48:14 -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