[Mesa-dev] [Bug 31544] bad format in _mesa_format_to_type_and_comps

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 11 14:20:44 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31544

--- Comment #11 from Norbert Papke <freedesktop at scrapper.ca> 2010-11-11 14:20:43 PST ---
(gdb) up
#2  0x00007f7388223b14 in _mesa_generate_mipmap (ctx=0x22f6750, target=3553, 
    texObj=0x2d9f930) at main/mipmap.c:1582
1582       _mesa_format_to_type_and_comps(convertFormat, &datatype, &comps);
(gdb)  p *texObj
$1 = {Mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, 
      __kind = 0, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, 
    __size = '\000' <repeats 39 times>, __align = 0}, RefCount = 3, Name = 23, 
  Target = 3553, Priority = 1, BorderColor = {f = {0, 0, 0, 0}, ui = {0, 0, 0, 
    0}, i = {0, 0, 0, 0}}, WrapS = 10497, WrapT = 10497, WrapR = 10497, 
  MinFilter = 9987, MagFilter = 9729, MinLod = -1000, MaxLod = 1000, LodBias = 
    0, BaseLevel = 0, MaxLevel = 1000, MaxAnisotropy = 1, CompareMode = 0, 
  CompareFunc = 515, CompareFailValue = 0, DepthMode = 6409, _MaxLevel = 0, 
  _MaxLambda = 0, CropRect = {0, 0, 0, 0}, Swizzle = {6403, 6404, 6405, 6406}, 
  _Swizzle = 1672, GenerateMipmap = 0 '\000', _Complete = 0 '\000', 
  _RenderToTexture = 1 '\001', Purgeable = 0 '\000', Image = {{0x2d947d0, 
    0x0 <repeats 12 times>}, {0x0 <repeats 13 times>}, {
    0x0 <repeats 13 times>}, {0x0 <repeats 13 times>}, {
    0x0 <repeats 13 times>}, {0x0 <repeats 13 times>}}, Palette = {
    InternalFormat = 0, _BaseFormat = 0, Size = 0, TableF = 0x0, TableUB = 
    0x0, RedSize = 0 '\000', GreenSize = 0 '\000', BlueSize = 0 '\000', 
    AlphaSize = 0 '\000', LuminanceSize = 0 '\000', IntensitySize = 0 '\000'}, 
  DriverData = 0x0}
(gdb)  p *texObj->Image[0][texObj->BaseLevel]
$2 = {InternalFormat = 4, _BaseFormat = 6408, TexFormat = 0, Border = 0, 
  Width = 1093, Height = 52, Depth = 1, Width2 = 1093, Height2 = 52, Depth2 = 
    1, WidthLog2 = 10, HeightLog2 = 5, DepthLog2 = 0, MaxLog2 = 10, 
  WidthScale = 1093, HeightScale = 52, DepthScale = 1, IsClientData = 
    0 '\000', _IsPowerOfTwo = 0 '\000', TexObject = 0x2d9f930, FetchTexelc = 
    0, FetchTexelf = 0, RowStride = 1152, ImageOffsets = 0x2c4e670, Data = 
    0x0, DriverData = 0x0}

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list