From: Kevin Rogovin <kevin.rogo...@intel.com> Change-Id: I5b0fe731c2a6f96190d3058c4f30d1f9f5201e1a Signed-off-by: valtteri rantala <valtteri.rant...@intel.com> --- src/intel/compiler/brw_fs_generator.cpp | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/intel/compiler/brw_fs_generator.cpp b/src/intel/compiler/brw_fs_generator.cpp index cb39fef..d46f948 100644 --- a/src/intel/compiler/brw_fs_generator.cpp +++ b/src/intel/compiler/brw_fs_generator.cpp @@ -2111,11 +2111,13 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width) multiple_instructions_emitted = generate_linterp(inst, dst, src); break; case FS_OPCODE_PIXEL_X: + assert(inst->exec_size <= 16); assert(src[0].type == BRW_REGISTER_TYPE_UW); src[0].subnr = 0 * type_sz(src[0].type); brw_MOV(p, dst, stride(src[0], 8, 4, 1)); break; case FS_OPCODE_PIXEL_Y: + assert(inst->exec_size <= 16); assert(src[0].type == BRW_REGISTER_TYPE_UW); src[0].subnr = 4 * type_sz(src[0].type); brw_MOV(p, dst, stride(src[0], 8, 4, 1)); -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev