Bug 13811 - glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &i) doesn't return the right value
Summary: glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &i) doesn't return the right value
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Zou Nan hai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-24 18:50 UTC by Shuang He
Modified: 2008-01-01 19:51 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (1008 bytes, text/plain)
2007-12-24 18:52 UTC, Shuang He
Details

Description Shuang He 2007-12-24 18:50:47 UTC
System Environment:
--------------------------
--Mesa:e54329233522591bbe8aad8a3fd6bcdc1e430f03 
--Xserver: 66b00029e587cec628d0041179a301e888277f8e

Bug detailed description:
--------------------------
glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &i) doesn't return the right value.
actually, it seems this function doesn't change the value already in 'i'

Reproduce steps:
----------------
start X
compile and run the attached test case


Current result:
----------------
glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &i) doesn't return the right value.
actually, it seems this function doesn't change the value already in 'i'


Expected result:
----------------
glGetIntegerv(GL_MAX_3D_TEXTURE_SIZE, &i) should return the right value.
Comment 1 Shuang He 2007-12-24 18:52:28 UTC
Created attachment 13347 [details]
test case
Comment 2 Zou Nan hai 2007-12-26 00:17:42 UTC
What is the hardware you run the test program on?
Comment 3 Shuang He 2007-12-26 00:25:31 UTC
I run it on q965, but is using software rendering
Comment 4 Brian Paul 2008-01-01 08:01:03 UTC
The case for GL_MAX_3D_TEXTURE_SIZE was missing in indirect_size_get.c.  Fixed in Mesa's gl_API.xml file and regenerated file pushed to xserver.
Comment 5 Shuang He 2008-01-01 19:51:18 UTC
this issue has gone. thanks
but this test case still has another issue. I'll file another bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.