mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-12-15 08:03:30 -08:00
vkd3d-shader/ir: Error out on unsupported destination modifiers.
This commit is contained in:
committed by
Henri Verbeet
parent
8a100fa06d
commit
c99c729513
Notes:
Henri Verbeet
2025-10-16 15:22:54 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1797
@@ -4981,16 +4981,6 @@ static uint32_t spirv_compiler_emit_sat(struct spirv_compiler *compiler,
|
||||
static void spirv_compiler_emit_store_dst(struct spirv_compiler *compiler,
|
||||
const struct vkd3d_shader_dst_param *dst, uint32_t val_id)
|
||||
{
|
||||
uint32_t modifiers = dst->modifiers;
|
||||
|
||||
if (modifiers & VKD3DSPDM_MSAMPCENTROID)
|
||||
{
|
||||
FIXME("Ignoring _centroid modifier.\n");
|
||||
modifiers &= ~VKD3DSPDM_MSAMPCENTROID;
|
||||
}
|
||||
|
||||
VKD3D_ASSERT(!modifiers);
|
||||
|
||||
spirv_compiler_emit_store_reg(compiler, &dst->reg, dst->write_mask, val_id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user