[Mesa-dev] [Bug 83149] New: Syntax error in setup_glsl_blit_framebuffer() with VS2012
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 27 08:12:49 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=83149
Priority: medium
Bug ID: 83149
Assignee: mesa-dev at lists.freedesktop.org
Summary: Syntax error in setup_glsl_blit_framebuffer() with
VS2012
Severity: critical
Classification: Unclassified
OS: Windows (All)
Reporter: genpfault at gmail.com
Hardware: x86 (IA32)
Status: NEW
Version: 10.2
Component: Mesa core
Product: Mesa
Using the 10.2.6 release zip
(ftp://ftp.freedesktop.org/pub/mesa/10.2.6/MesaLib-10.2.6.zip) with the VS2012
compiler.
scons invocation:
LLVM=c:/llvm /c/Python27/python /c/Python27/Scripts/scons.py build=release
machine=x86 platform=windows gles=yes llvm=yes MSVC_VERSION=11.0
This line:
unsigned texcoord_size = 2 + (src_rb->Depth > 1 ? 1 : 0);
in setup_glsl_blit_framebuffer() results in a syntax error:
src\mesa\drivers\common\meta_blit.c(331) : error C2143: syntax error : missing
';' before 'type'
Moving the declaration to the top of the function fixes the error:
{
unsigned texcoord_size = 0;
/* target = GL_TEXTURE_RECTANGLE is not supported in GLES 3.0 */
assert(_mesa_is_desktop_gl(ctx) || target == GL_TEXTURE_2D);
texcoord_size = 2 + (src_rb->Depth > 1 ? 1 : 0);
...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140827/a63cb30a/attachment.html>
More information about the mesa-dev
mailing list