From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94459] FLT_TO_INT rounding issues on pre R800 cards Date: Wed, 09 Mar 2016 09:23:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1209166205==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id DA6D56E867 for ; Wed, 9 Mar 2016 09:23:36 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1209166205== Content-Type: multipart/alternative; boundary="14575154160.682C7Ed.1999"; charset="UTF-8" --14575154160.682C7Ed.1999 Date: Wed, 9 Mar 2016 09:23:36 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94459 Bug ID: 94459 Summary: FLT_TO_INT rounding issues on pre R800 cards Product: Mesa Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: siro@das-labor.org QA Contact: dri-devel@lists.freedesktop.org Running WINE tests with Gallium Nine enabled I found the following test to fail on pre R800 cards. The failing test is from wine d3d9/tests/visual.c test_mova(). It can be found here: https://source.winehq.org/ident?_i=test_mova&_remember=1 To issue doesn't exists on radeonsi, softpipe and R800+. The problem seems to be TGSI_OPCODE_ARR that should round on FLT_TO_INT, but pre R800 cards truncate instead. This might result in wrong addressing, as TGSI_OPCODE_ARR is expected to round. If the card doesn't support rounding on FLT_TO_INT, r600 driver should insert a rounding instruction. Tested with latest mesa git on RV770. -- You are receiving this mail because: You are the assignee for the bug. --14575154160.682C7Ed.1999 Date: Wed, 9 Mar 2016 09:23:36 +0000 MIME-Version: 1.0 Content-Type: text/html
Bug ID 94459
Summary FLT_TO_INT rounding issues on pre R800 cards
Product Mesa
Version unspecified
Hardware All
OS All
Status NEW
Severity minor
Priority medium
Component Drivers/Gallium/r600
Assignee dri-devel@lists.freedesktop.org
Reporter siro@das-labor.org
QA Contact dri-devel@lists.freedesktop.org

Running WINE tests with Gallium Nine enabled I found the following test to fail
on pre R800 cards.
The failing test is from wine d3d9/tests/visual.c test_mova().
It can be found here: https://source.winehq.org/ident?_i=test_mova&_remember=1

To issue doesn't exists on radeonsi, softpipe and R800+.

The problem seems to be TGSI_OPCODE_ARR that should round on FLT_TO_INT, but
pre R800 cards truncate instead.
This might result in wrong addressing, as TGSI_OPCODE_ARR is expected to round.
If the card doesn't support rounding on FLT_TO_INT, r600 driver should insert a
rounding instruction.

Tested with latest mesa git on RV770.


You are receiving this mail because:
  • You are the assignee for the bug.
--14575154160.682C7Ed.1999-- --===============1209166205== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1209166205==--