spirv: Add fixed pipeline point size
This commit is contained in:
parent
9d7422d967
commit
7a1c14269e
4 changed files with 11 additions and 1 deletions
|
@ -17,6 +17,10 @@ void EmitPrologue(EmitContext& ctx) {
|
|||
ctx.OpStore(generic_id, default_vector);
|
||||
}
|
||||
}
|
||||
if (ctx.profile.fixed_state_point_size) {
|
||||
const float point_size{*ctx.profile.fixed_state_point_size};
|
||||
ctx.OpStore(ctx.output_point_size, ctx.Constant(ctx.F32[1], point_size));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue