piglit: 460dd03f8c40b5661ac17d46215721fdd9dcfdd5 (master) draw-buffers-common.cpp tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(95) : warning C4305: 'initializing' : truncation from 'double' to 'const float' tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(97) : warning C4305: 'initializing' : truncation from 'double' to 'const float' tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(202) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(241) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(261) : error C2668: 'pow' : ambiguous call to overloaded function C:\PROGRA~2\MICROS~1.0\VC\include\math.h(582): could be 'long double pow(long double,int)' C:\PROGRA~2\MICROS~1.0\VC\include\math.h(534): or 'float pow(float,int)' C:\PROGRA~2\MICROS~1.0\VC\include\math.h(496): or 'double pow(double,int)' while trying to match the argument list '(int, int)' tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(262) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(267) : warning C4244: '=' : conversion from 'float' to 'int', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(295) : error C2057: expected constant expression tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(295) : error C2466: cannot allocate an array of constant size 0 tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(295) : error C2133: 'integer_color' : unknown size tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(306) : warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(307) : warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(377) : error C2668: 'pow' : ambiguous call to overloaded function tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(384) : error C2668: 'pow' : ambiguous call to overloaded function tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(388) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(398) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(415) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(435) : warning C4244: '=' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(566) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(570) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(571) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(775) : error C2057: expected constant expression tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(775) : error C2466: cannot allocate an array of constant size 0 tests\spec\ext_framebuffer_multisample\draw-buffers-common.cpp(775) : error C2133: 'color_rb' : unknown size
commit b946678224e92b7fc7c546cb512a1f8e55639a2c Author: Anuj Phogat <anuj.phogat@gmail.com> Date: Fri Aug 3 14:20:35 2012 -0700 draw-buffers-common.cpp: don't use dynamically sized array This patch is to fix MSVC build errors. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=53102 Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Tested-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
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.