[D3D12] Quad list geometry shader

This commit is contained in:
Triang3l
2018-08-26 19:51:20 +03:00
parent 2c24622bdb
commit 592873cf9f
5 changed files with 54 additions and 42 deletions

View File

@@ -115,7 +115,7 @@ class PipelineCache {
struct UpdateShaderStagesRegisters {
D3D12Shader* vertex_shader;
D3D12Shader* pixel_shader;
bool primitive_topology_is_line;
D3D12_PRIMITIVE_TOPOLOGY_TYPE primitive_topology_type;
// Primitive type if it needs a geometry shader, or kNone.
PrimitiveType geometry_shader_primitive_type;