mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-22 03:38:55 +02:00
[vk] Added support for Stencil component type in texture handling
This commit is contained in:
parent
459b26465e
commit
3117521da9
3 changed files with 21 additions and 4 deletions
|
|
@ -34,8 +34,9 @@ Id ComponentScalarType(EmitContext& ctx, SamplerComponentType component_type) {
|
|||
case SamplerComponentType::Depth:
|
||||
return ctx.F32[1];
|
||||
case SamplerComponentType::Sint:
|
||||
case SamplerComponentType::Stencil:
|
||||
return ctx.S32[1];
|
||||
case SamplerComponentType::Stencil:
|
||||
return ctx.U32[1];
|
||||
case SamplerComponentType::Uint:
|
||||
return ctx.U32[1];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue