Porting GL4 geometry shaders. Likely not working.

This commit is contained in:
Ben Vanik
2016-02-20 16:35:21 -08:00
parent 769c58a9b2
commit b5a0c4715b
19 changed files with 2079 additions and 15 deletions

View File

@@ -90,7 +90,13 @@ class PipelineCache {
// constants.
VkPipelineLayout pipeline_layout_ = nullptr;
// TODO(benvanik): geometry shader cache.
// Shared geometry shaders.
struct {
VkShaderModule line_quad_list;
VkShaderModule point_list;
VkShaderModule quad_list;
VkShaderModule rect_list;
} geometry_shaders_;
// Hash state used to incrementally produce pipeline hashes during update.
// By the time the full update pass has run the hash will represent the