Bug 30814 - main/texstore.c:3125: error: ‘texelBytes’ undeclared (first use in this function)
Summary: main/texstore.c:3125: error: ‘texelBytes’ undeclared (first use in this funct...
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All All
: medium blocker
Assignee: Dave Airlie
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 17:11 UTC by Vinson Lee
Modified: 2010-10-12 17:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2010-10-12 17:11:07 UTC
mesa: 5f612f5c006ff006ad1d2b90fbfdcdbee271771e (master)

$ make linux-x86-debug
...
gcc -c -o main/texstore.o main/texstore.c  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DDEBUG -DDEBUG_MATH -I../../include -I../../src/glsl -I../../src/mesa -I../../src/mapi -I../../src/gallium/include -I../../src/gallium/auxiliary  -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -g -fPIC -m32 -mmmx -msse -msse2 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -I/usr/X11R6/include -std=c99 -ffast-math -fno-strict-aliasing
main/texstore.c: In function ‘_mesa_texstore_s8’:
main/texstore.c:3125: error: ‘texelBytes’ undeclared (first use in this function)
main/texstore.c:3125: error: (Each undeclared identifier is reported only once
main/texstore.c:3125: error: for each function it appears in.)
make[2]: *** [main/texstore.o] Error 1
make[2]: Leaving directory `src/mesa'


src/mesa/main/texstore.c
  3120  static GLboolean
  3121  _mesa_texstore_s8(TEXSTORE_PARAMS)
  3122  {
  3123     ASSERT(dstFormat == MESA_FORMAT_S8);
  3124     ASSERT(srcFormat == GL_STENCIL_INDEX);
  3125     ASSERT(texelBytes == 1);
  3126
Comment 1 Vinson Lee 2010-10-12 17:17:57 UTC
4ecb2c105da590abf79421a06234b636cd1afcd6 is the first bad commit
commit 4ecb2c105da590abf79421a06234b636cd1afcd6
Author: Dave Airlie <airlied@redhat.com>
Date:   Wed Oct 6 09:28:46 2010 +1000

    gallium/tgsi: add support for stencil writes.
    
    this adds the capability + a stencil semantic id, + tgsi scan support.
    
    Signed-off-by: Dave Airlie <airlied@redhat.com>

:040000 040000 a404d14c2f79a1e960f35756c1a559ad56274840 591927264400baa705a0b859b68f8c365eec33a8 M	src
bisect run success
Comment 2 Brian Paul 2010-10-12 17:34:42 UTC
Fixed by commit 1ca5f7cc31df3d5c80fcea855e536eb2a8245f9e
Comment 3 Vinson Lee 2010-10-12 17:37:00 UTC
mesa: c1549729ce5243fb7fec7b589278656b8b1ab4fb (master)

linux-x86-debug build is fixed.


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.