On Thu, Jul 12, 2012 at 10:43 AM, Paul Berry wrote:
> When downsampling an integer-format buffer on Gen7, we need to use the
> "avg" instruction rather than the "add" instruction, to ensure that we
> don't overflow the range of 32-bit integers. Also, we need to use the
> proper register type (BRW
When downsampling an integer-format buffer on Gen7, we need to use the
"avg" instruction rather than the "add" instruction, to ensure that we
don't overflow the range of 32-bit integers. Also, we need to use the
proper register type (BRW_REGISTER_TYPE_D or BRW_REGISTER_TYPE_UD) for
intermediate co