[Mesa-dev] [Bug 75344] New: meta_blit.c(97) : error C2059: syntax error : '['

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 21 16:47:08 PST 2014


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

          Priority: medium
            Bug ID: 75344
          Keywords: regression
                CC: eric at anholt.net, kenneth at whitecape.org
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: meta_blit.c(97) : error C2059: syntax error : '['
          Severity: blocker
    Classification: Unclassified
                OS: Windows (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: c2ebbe2728cd709029313f4b9c9cc53432c510a1 (master)

  Compiling src\mesa\drivers\common\meta.c ...
meta.c
src\mesa\drivers\common\meta.c(672) : warning C4244: 'function' : conversion
from 'GLuint' to 'GLfloat', possible loss of data
src\mesa\drivers\common\meta.c(1462) : warning C4244: 'function' : conversion
from 'GLclampd' to 'GLfloat', possible loss of data
src\mesa\drivers\common\meta.c(1653) : warning C4244: 'function' : conversion
from 'GLclampd' to 'GLfloat', possible loss of data
src\mesa\drivers\common\meta.c(2955) : warning C4244: 'function' : conversion
from 'GLsizei' to 'GLfloat', possible loss of data
src\mesa\drivers\common\meta.c(3273) : warning C4244: 'function' : conversion
from 'const GLint' to 'GLfloat', possible loss of data
  Compiling src\mesa\drivers\common\meta_blit.c ...
meta_blit.c
src\mesa\drivers\common\meta_blit.c(97) : error C2059: syntax error : '['
src\mesa\drivers\common\meta_blit.c(263) : error C2143: syntax error : missing
';' before 'type'
src\mesa\drivers\common\meta_blit.c(263) : error C2143: syntax error : missing
')' before 'type'
src\mesa\drivers\common\meta_blit.c(263) : error C2065: 'i' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(263) : warning C4552: '<' : operator has no
effect; expected operator with side-effect
src\mesa\drivers\common\meta_blit.c(263) : error C2059: syntax error : ')'
src\mesa\drivers\common\meta_blit.c(263) : error C2143: syntax error : missing
';' before '{'
src\mesa\drivers\common\meta_blit.c(266) : error C2065: 'i' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(271) : error C2143: syntax error : missing
';' before 'type'
src\mesa\drivers\common\meta_blit.c(271) : error C2143: syntax error : missing
')' before 'type'
src\mesa\drivers\common\meta_blit.c(271) : error C2065: 'step' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(271) : warning C4552: '<=' : operator has
no effect; expected operator with side-effect
src\mesa\drivers\common\meta_blit.c(271) : error C2059: syntax error : ')'
src\mesa\drivers\common\meta_blit.c(271) : error C2143: syntax error : missing
';' before '{'
src\mesa\drivers\common\meta_blit.c(272) : error C2143: syntax error : missing
';' before 'type'
src\mesa\drivers\common\meta_blit.c(272) : error C2143: syntax error : missing
')' before 'type'
src\mesa\drivers\common\meta_blit.c(272) : error C2065: 'i' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(272) : warning C4552: '<' : operator has no
effect; expected operator with side-effect
src\mesa\drivers\common\meta_blit.c(272) : error C2059: syntax error : ')'
src\mesa\drivers\common\meta_blit.c(272) : error C2065: 'step' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(272) : error C2143: syntax error : missing
';' before '{'
src\mesa\drivers\common\meta_blit.c(276) : error C2065: 'step' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(276) : error C2065: 'i' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(277) : error C2065: 'step' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(277) : error C2065: 'i' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(278) : error C2065: 'step' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(278) : error C2065: 'i' : undeclared
identifier
src\mesa\drivers\common\meta_blit.c(567) : warning C4244: 'function' :
conversion from 'const GLint' to 'GLfloat', possible loss of data
src\mesa\drivers\common\meta_blit.c(731) : warning C4244: 'function' :
conversion from 'const GLint' to 'GLfloat', possible loss of data
src\mesa\drivers\common\meta_blit.c(781) : warning C4244: 'function' :
conversion from 'const GLint' to 'GLfloat', possible loss of data


commit 7d2f73e73759d6508833d76181295cdd3e0588fe
Author: Eric Anholt <eric at anholt.net>
Date:   Fri Feb 7 14:00:31 2014 -0800

    meta: Add support for doing multisample resolves.

    Note that this doesn't handle GL_EXT_multisample_scaled_blit yet.  The
    i965 code for that extension bakes in knowledge of the sample positions
    (well, knowledge of the sample positions aligned to a lower-resolution
    grid), which we would have to do at runtime somehow for meta.

    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-- 
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/20140222/c90cf948/attachment.html>


More information about the mesa-dev mailing list