Summary: | meta_blit.c(97) : error C2059: syntax error : '[' | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | Kenneth Graunke <kenneth> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | eric, kenneth |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2014-02-22 00:47:08 UTC
Drat, I missed that C99 array initializer. Fixing. Why is meta even built on Windows? I thought it was only used by DRI drivers. Meta is used by OSMesa, at least, which is used by a bunch of people on Windows. Patch on mailing list: http://lists.freedesktop.org/archives/mesa-dev/2014-February/054657.html Should be fixed in master by: commit 6984a6be5cdb42fe668239abbc20995f5ee289a6 Author: Kenneth Graunke <kenneth@whitecape.org> Date: Fri Feb 21 16:58:09 2014 -0800 meta: Eliminate samplers[] array in favor of using vec4_prefix. We don't need an array mapping the shader index to "sampler2DMS", "isampler2DMS", and so on. We can simply do "%ssampler2DMS" and pass in vec4_prefix, which is "", "i", or "u". This eliminates the use of C99 array initializers and should fix the MSVC build. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75344 Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> If not, feel free to reopen/file new bugs or send patches... Sorry for the breakage. |
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.