[Mesa-dev] [PATCH] r600g: Fix handling of TGSI_OPCODE_ARR with SB

Nick Sarnie commendsarnex at gmail.com
Thu Aug 13 11:50:58 PDT 2015


Tested-by: Nick Sarnie <commendsarnex at gmail.com>

On Thu, Aug 13, 2015 at 2:49 PM, Nick Sarnie <commendsarnex at gmail.com>
wrote:

> Tested-by: Nick Sarnie <commendsarnex at gmail.com>
>
> On Thu, Aug 13, 2015 at 2:30 PM, Glenn Kennard <glenn.kennard at gmail.com>
> wrote:
>
>> FLT_TO_INT goes in the vector pipes on evergreen/NI,
>> not the trans unit as on earlier chips.
>>
>> Signed-off-by: Glenn Kennard <glenn.kennard at gmail.com>
>> ---
>> Fixes issue found on nine: https://github.com/iXit/Mesa-3D/issues/119
>>
>>  src/gallium/drivers/r600/r600_isa.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/gallium/drivers/r600/r600_isa.h
>> b/src/gallium/drivers/r600/r600_isa.h
>> index 381f06d..fdbe1c0 100644
>> --- a/src/gallium/drivers/r600/r600_isa.h
>> +++ b/src/gallium/drivers/r600/r600_isa.h
>> @@ -262,7 +262,7 @@ static const struct alu_op_info alu_op_table[] = {
>>                 {"PRED_SETNE_PUSH_INT",       2, { 0x4D, 0x4D },{  AF_VS,
>> AF_VS, AF_VS, AF_VS},  AF_PRED_PUSH | AF_CC_NE | AF_INT_CMP },
>>                 {"PRED_SETLT_PUSH_INT",       2, { 0x4E, 0x4E },{  AF_VS,
>> AF_VS, AF_VS, AF_VS},  AF_PRED_PUSH | AF_CC_LT | AF_INT_CMP },
>>                 {"PRED_SETLE_PUSH_INT",       2, { 0x4F, 0x4F },{  AF_VS,
>> AF_VS, AF_VS, AF_VS},  AF_PRED_PUSH | AF_CC_LE | AF_INT_CMP },
>> -               {"FLT_TO_INT",                1, { 0x6B, 0x50 },{
>>  AF_S,  AF_S, AF_VS, AF_VS},  AF_INT_DST | AF_CVT },
>> +               {"FLT_TO_INT",                1, { 0x6B, 0x50 },{
>>  AF_S,  AF_S,  AF_V,  AF_V},  AF_INT_DST | AF_CVT },
>>                 {"BFREV_INT",                 1, {   -1, 0x51 },{
>> 0,     0, AF_VS, AF_VS},  AF_INT_DST },
>>                 {"ADDC_UINT",                 2, {   -1, 0x52 },{
>> 0,     0, AF_VS, AF_VS},  AF_UINT_DST },
>>                 {"SUBB_UINT",                 2, {   -1, 0x53 },{
>> 0,     0, AF_VS, AF_VS},  AF_UINT_DST },
>> --
>> 1.9.1
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150813/941d37dc/attachment.html>


More information about the mesa-dev mailing list