intel/fs: make sure shuffle is lowered to supported types
On XeHP there are restrictions on types of source and destinations with float types. As shuffle is implemented using MOV we need to make sure we lower it to supported types. This fixes tests like : dEQP-VK.subgroups.arithmetic.framebuffer.subgroupexclusivemax_vec4_vertex dEQP-VK.subgroups.arithmetic.framebuffer.subgroupexclusivemul_f16vec3_vertex Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Suggested-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10902>
This commit is contained in:

committed by
Marge Bot

parent
8ab36670e9
commit
474eaa25ad
@@ -195,6 +195,7 @@ namespace {
|
||||
has_invalid_exec_type(const intel_device_info *devinfo, const fs_inst *inst)
|
||||
{
|
||||
switch (inst->opcode) {
|
||||
case SHADER_OPCODE_SHUFFLE:
|
||||
case SHADER_OPCODE_QUAD_SWIZZLE:
|
||||
return has_dst_aligned_region_restriction(devinfo, inst) ?
|
||||
0x1 : 0;
|
||||
|
Reference in New Issue
Block a user