spirv: Add fixed pipeline point size
This commit is contained in:
parent
9d7422d967
commit
7a1c14269e
4 changed files with 11 additions and 1 deletions
|
@ -864,6 +864,9 @@ Shader::Profile PipelineCache::MakeProfile(const GraphicsPipelineCacheKey& key,
|
|||
Shader::Profile profile{base_profile};
|
||||
if (stage == Shader::Stage::VertexB) {
|
||||
profile.convert_depth_mode = key.state.ndc_minus_one_to_one != 0;
|
||||
if (key.state.topology == Maxwell::PrimitiveTopology::Points) {
|
||||
profile.fixed_state_point_size = Common::BitCast<float>(key.state.point_size);
|
||||
}
|
||||
std::ranges::transform(key.state.attributes, profile.generic_input_types.begin(),
|
||||
&CastAttributeType);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue