Commit Graph

10 Commits

Author SHA1 Message Date
Artem Kharytoniuk 121afa2231 Create pipelines based on GLS_XXX state. 2017-04-06 17:26:22 +03:00
Artem Kharytoniuk a45d37355e Cleanup. 2017-04-05 15:17:16 +03:00
Artem Kharytoniuk 76d4deb58a Specify shaders directly as arrays of bytes in source code.
This allows us to provide all functionality in executable file without providing additional data files.
Added bin2hex utility that does [spirv binary->cpp code] conversion.
Idea is based on vkQuake implementation.
2017-04-05 14:26:15 +03:00
Artem Kharytoniuk a02cb3ee10 Cleanup: removed r_ignoreFastPath and fast pass code.
This optimization is not important nowdays. Also fast pass was disabled by default in original code.
This change simplifies rendering code since now we have only two shader stage processing functions: generic and sky.
2017-04-03 16:54:14 +03:00
Artem Kharytoniuk 258a1ca9cd Multitexture rendering prototyping. 2017-04-03 14:40:32 +03:00
Artem Kharytoniuk 27038dde48 Cleanup: removed effectively unused textureBundle_t::vertexLightmap variable. 2017-04-03 12:49:48 +03:00
Artem Kharytoniuk d0700752eb Quick prototyping of 2d mode rendering (UI). 2017-03-28 22:32:42 +03:00
Artem Kharytoniuk 6cd89f37ac Working on UI drawing. 2017-03-28 16:50:16 +03:00
Artem Kharytoniuk fa40b3b8ce Old features cleanup: GL_ARB_multitexture is not optional anymore, always use qglDrawElements for rendering. 2017-03-20 20:35:48 +02:00
Artem Kharytoniuk 389bbf32c2 Rename: source -> src. 2017-03-17 15:28:25 +02:00