libs/vkd3d-shader: Implement "sample" interpolation qualifier.

This commit is contained in:
Józef Kucia 2017-09-14 15:38:19 +02:00
parent 61703a53d2
commit 602f9780f8

View File

@ -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;