Bug 53062 - tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2057: expected constant expression
Summary: tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2057: expected...
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: tests (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium blocker
Assignee: Eric Anholt
QA Contact: Eric Anholt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-01 23:47 UTC by Vinson Lee
Modified: 2012-08-02 21:07 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-08-01 23:47:02 UTC
piglit: 1c13336c1c5d1310087ebb191eaefd9e452ae822 (master)

tests\spec\arb_uniform_buffer_object\maxblocks.c(201) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(202) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(203) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(204) : warning C4244: 'initializing' : conversion from 'double' to 'float', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(229) : warning C4244: 'return' : conversion from 'int' to '_Bool', possible loss of data
tests\spec\arb_uniform_buffer_object\maxblocks.c(183) : warning C4100: 'prog' : unreferenced formal parameter
tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2057: expected constant expression
tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2466: cannot allocate an array of constant size 0
tests\spec\arb_uniform_buffer_object\maxblocks.c(239) : error C2133: 'bos' : unknown size
tests\spec\arb_uniform_buffer_object\maxblocks.c(243) : warning C4034: sizeof returns 0
Comment 1 Brian Paul 2012-08-02 21:07:47 UTC
Fixed with commit 460dd03f8c40b5661ac17d46215721fdd9dcfdd5


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.