Sampling floating point values from incomplete texture always produces
(0, 0, 0, 1), but sampling integer or unsigned integer values return
undefined values.
Bug:
19733810
Change-Id: I32e8c6dcdc9ed7fd0a875857174d91fc605d958a
}
}
- if (!isDepthFormat(format)) // What shadow textures should return for incomplete textures is unclear.
+ // What shadow textures should return for incomplete textures is unclear.
+ // Integer and unsigned integer lookups from incomplete textures return undefined values.
+ if (!isDepthFormat(format) && !isSIntFormatType(format.type) && !isUIntFormatType(format.type))
{
TestCaseGroup* const incompleteGroup = new TestCaseGroup(m_context, "incomplete", "Test that textureGather* takes components from (0,0,0,1) for incomplete textures");
formatGroup->addChild(incompleteGroup);