[GPU] Shader::IsHostVertexShaderTypeDomain

This commit is contained in:
Triang3l
2022-05-15 16:13:05 +03:00
parent f9b3b90a68
commit a65fd4f673
4 changed files with 49 additions and 34 deletions

View File

@@ -145,7 +145,7 @@ class PrimitiveProcessor {
// only valid for index_buffer_type kHostConverted and kHostBuiltin.
size_t host_index_buffer_handle;
bool IsTessellated() const {
return host_vertex_shader_type != Shader::HostVertexShaderType::kVertex;
return Shader::IsHostVertexShaderTypeDomain(host_vertex_shader_type);
}
};