m_inputs[1].type = rr::GENERICVECTYPE_FLOAT;
m_inputs[2].type = rr::GENERICVECTYPE_FLOAT;
- // XXX: Should m_outputs[1] need to be added?
m_outputs[0].type = (channelClass == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER)? rr::GENERICVECTYPE_INT32 :
(channelClass == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER)? rr::GENERICVECTYPE_UINT32
: rr::GENERICVECTYPE_FLOAT;
static constexpr deUint32 kImageHeight = 32;
const tcu::UVec2 m_renderSize = { kImageWidth, kImageHeight };
- // FIXME: check if I need all of this.
VkClearValue m_initialColor;
VkClearValue m_clearColor;
// Create a render pass for this use case.
Move<VkRenderPass> createRenderPass (const DeviceInterface& vk, VkDevice vkDevice)
{
- // XXX: Add more code to this
// Create attachment descriptions.
const VkAttachmentDescription attachmentDescription =
{
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL // VkImageLayout finalLayout
};
- // XXX: Review this parameters, I think I am doing it wrong.
// Mark attachments as used or not depending on the test parameters.
const VkAttachmentReference attachmentReference
{
VK_CHECK(vk.waitForFences(vkDevice, 1u, &fence.get(), DE_TRUE, ~0ull));
}
- // XXX: Add code for image verification for both color attachments
{
// Colors to compare to.
const tcu::Vec4 red = {1.0f, 0.0f, 0.0f, 1.0f};