OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrVkPipelineStateBuilder_DEFINED | 8 #ifndef GrVkPipelineStateBuilder_DEFINED |
9 #define GrVkPipelineStateBuilder_DEFINED | 9 #define GrVkPipelineStateBuilder_DEFINED |
10 | 10 |
11 #include "glsl/GrGLSLProgramBuilder.h" | 11 #include "glsl/GrGLSLProgramBuilder.h" |
12 | 12 |
13 #include "GrPipeline.h" | 13 #include "GrPipeline.h" |
14 #include "GrVkPipelineState.h" | 14 #include "GrVkPipelineState.h" |
15 #include "GrVkUniformHandler.h" | 15 #include "GrVkUniformHandler.h" |
16 #include "GrVkVaryingHandler.h" | 16 #include "GrVkVaryingHandler.h" |
17 | 17 |
18 #include "shaderc/shaderc.h" | |
19 #include "vk/GrVkDefines.h" | 18 #include "vk/GrVkDefines.h" |
20 | 19 |
21 class GrVkGpu; | 20 class GrVkGpu; |
22 class GrVkRenderPass; | 21 class GrVkRenderPass; |
23 class GrVkProgramDesc; | 22 class GrVkProgramDesc; |
24 | 23 |
25 class GrVkPipelineStateBuilder : public GrGLSLProgramBuilder { | 24 class GrVkPipelineStateBuilder : public GrGLSLProgramBuilder { |
26 public: | 25 public: |
27 /** Generates a pipeline state. | 26 /** Generates a pipeline state. |
28 * | 27 * |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 GrGLSLVaryingHandler* varyingHandler() override { return &fVaryingHandler; } | 65 GrGLSLVaryingHandler* varyingHandler() override { return &fVaryingHandler; } |
67 | 66 |
68 GrVkGpu* fGpu; | 67 GrVkGpu* fGpu; |
69 GrVkVaryingHandler fVaryingHandler; | 68 GrVkVaryingHandler fVaryingHandler; |
70 GrVkUniformHandler fUniformHandler; | 69 GrVkUniformHandler fUniformHandler; |
71 | 70 |
72 typedef GrGLSLProgramBuilder INHERITED; | 71 typedef GrGLSLProgramBuilder INHERITED; |
73 }; | 72 }; |
74 | 73 |
75 #endif | 74 #endif |
OLD | NEW |