NOTE: This is a candidate for the 9.0 branch.
unsigned sample_count,
unsigned bindings)
{
+ if (sample_count > 4)
+ return FALSE;
if (!(0x00000017 & (1 << sample_count)))
return FALSE;
unsigned sample_count,
unsigned bindings)
{
+ if (sample_count > 8)
+ return FALSE;
if (!(0x117 & (1 << sample_count))) /* 0, 1, 2, 4 or 8 */
return FALSE;
if (sample_count == 8 && util_format_get_blocksizebits(format) >= 128)
unsigned sample_count,
unsigned bindings)
{
+ if (sample_count > 8)
+ return FALSE;
if (!(0x117 & (1 << sample_count))) /* 0, 1, 2, 4 or 8 */
return FALSE;