[Mesa-dev] [PATCH 5/9] intel/compiler: relax brw_eu_validate for byte raw movs

Matt Turner mattst88 at gmail.com
Wed Jan 23 07:34:54 UTC 2019


On Tue, Jan 22, 2019 at 10:26 PM Matt Turner <mattst88 at gmail.com> wrote:
> Was this just something that you noticed by inspection?

With the patch reverted I see some validation failures in
dEQP-VK.spirv_assembly.instruction.compute.8bit_storage.push_constant_8_to_16.scalar_uint
and friends.

mov(16)         g10<4>B         g[a0]<VxH,1,0>B                 { align1 1H };
ERROR: Destination stride must be equal to the ratio of the sizes of
the execution data type to the destination type

Wow. I don't think I've ever seen an instruction like that before. I
can definitely see how the validator might not be equipped to handle
it.

I'll think about it some more.


More information about the mesa-dev mailing list