mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d-shader: Implement "sample" interpolation qualifier.
This commit is contained in:
parent
61703a53d2
commit
602f9780f8
@ -3386,6 +3386,10 @@ static void vkd3d_dxbc_compiler_emit_interpolation_decorations(struct vkd3d_dxbc
|
||||
break;
|
||||
case VKD3DSIM_LINEAR:
|
||||
break;
|
||||
case VKD3DSIM_LINEAR_SAMPLE:
|
||||
vkd3d_spirv_enable_capability(builder, SpvCapabilitySampleRateShading);
|
||||
vkd3d_spirv_build_op_decorate(builder, id, SpvDecorationSample, NULL, 0);
|
||||
break;
|
||||
default:
|
||||
FIXME("Unhandled interpolation mode %#x.\n", mode);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user