From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 84835] New: GL_PRIMITIVE_RESTART_FIXED_INDEX uses glPrimitiveRestartIndex value and not fixed value Date: Thu, 09 Oct 2014 11:45:21 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0593564723==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CD7D6E0D0 for ; Thu, 9 Oct 2014 04:45:21 -0700 (PDT) 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 --===============0593564723== Content-Type: multipart/alternative; boundary="1412855120.0cDE1c10.11999"; charset="UTF-8" --1412855120.0cDE1c10.11999 Date: Thu, 9 Oct 2014 11:45:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=84835 Bug ID: 84835 Summary: GL_PRIMITIVE_RESTART_FIXED_INDEX uses glPrimitiveRestartIndex value and not fixed value Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: osbios@web.de When I use glEnable(GL_PRIMITIVE_RESTART_FIXED_INDEX) it uses the value set by glPrimitiveRestartIndex() and not the max value of the index data type: GL_UNSIGNED_BYTE -> 0xFF GL_UNSIGNED_SHORT -> 0xFFFF GL_UNSIGNED_INT -> 0xFFFFFFFF Basicaly it just behaves like glEnable(GL_PRIMITIVE_RESTART) glxinfo|grep OpenGL OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.4.0-devel (git-5814185 2014-10-08 trusty-oibaf-ppa) OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 3.0 Mesa 10.4.0-devel (git-5814185 2014-10-08 trusty-oibaf-ppa) OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.4.0-devel (git-5814185 2014-10-08 trusty-oibaf-ppa) OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0 OpenGL ES profile extensions: uname -a Linux c01 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux -- You are receiving this mail because: You are the assignee for the bug. --1412855120.0cDE1c10.11999 Date: Thu, 9 Oct 2014 11:45:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Bug ID 84835
Summary GL_PRIMITIVE_RESTART_FIXED_INDEX uses glPrimitiveRestartIndex value and not fixed value
Product Mesa
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter osbios@web.de

When I use glEnable(GL_PRIMITIVE_RESTART_FIXED_INDEX) it uses the value set by
glPrimitiveRestartIndex() and not the max value of the index data type: 
GL_UNSIGNED_BYTE -> 0xFF
GL_UNSIGNED_SHORT -> 0xFFFF
GL_UNSIGNED_INT -> 0xFFFFFFFF

Basicaly it just behaves like glEnable(GL_PRIMITIVE_RESTART)


glxinfo|grep OpenGL

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.4.0-devel
(git-5814185 2014-10-08 trusty-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.4.0-devel (git-5814185 2014-10-08
trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.4.0-devel (git-5814185
2014-10-08 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:

uname -a

Linux c01 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64
x86_64 x86_64 GNU/Linux


You are receiving this mail because:
  • You are the assignee for the bug.
--1412855120.0cDE1c10.11999-- --===============0593564723== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0593564723==--