Bug 26497 - r600_texstate.c:1119: error: ‘__DRM_TEXTURE_FORMAT_RGBA’ undeclared
Summary: r600_texstate.c:1119: error: ‘__DRM_TEXTURE_FORMAT_RGBA’ undeclared
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
: 26502 26503 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-09 16:15 UTC by Martin Stolpe
Modified: 2010-02-10 05:14 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Stolpe 2010-02-09 16:15:42 UTC
The following commit broke compilation on my system: "dri_interface: Introduce DRI tokens for the texBuffer texture formats"

Problem seems to be here:
diff --git a/src/mesa/drivers/dri/r600/r600_texstate.c b/src/mesa/drivers/dri/r600/r600_texstate.c
index 8228cd6..33f6595 100644
--- a/src/mesa/drivers/dri/r600/r600_texstate.c
+++ b/src/mesa/drivers/dri/r600/r600_texstate.c
....
@@ -1116,5 +1116,5 @@ void r600SetTexBuffer2(__DRIcontext *pDRICtx, GLint target, GLint glx_texture_fo
 
 void r600SetTexBuffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv)
 {
-        r600SetTexBuffer2(pDRICtx, target, GLX_TEXTURE_FORMAT_RGBA_EXT, dPriv);
+        r600SetTexBuffer2(pDRICtx, target, __DRM_TEXTURE_FORMAT_RGBA, dPriv);
 }

Looks like a typo.

Greetings,
Martin
Comment 1 Rafał Miłecki 2010-02-10 04:03:03 UTC
*** Bug 26502 has been marked as a duplicate of this bug. ***
Comment 2 Rafał Miłecki 2010-02-10 04:03:16 UTC
*** Bug 26503 has been marked as a duplicate of this bug. ***
Comment 3 Kristian Høgsberg 2010-02-10 04:58:56 UTC
Argh.  Ok, fixed, thanks guys.
Comment 4 Rafał Miłecki 2010-02-10 05:14:56 UTC
commit: 3a0e4eb94cd88b130cdb4383c28be336f8d2379f

Thanks Kristian.


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.