Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
Change-Id: I6a20f64f77b3a1479f1ddaec6be166903196cd0b
  • Loading branch information
lordalcol committed Sep 30, 2024
1 parent 717e240 commit 32b1a3b
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1801,8 +1801,9 @@ tcu::TestStatus IndirectDrawCountClampTest::iterate(void)
submitCommandsAndWait(m_vk, device, queue, m_cmdBuffer.get());

// Validation
tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5f + static_cast<float>(WIDTH)),
(int)(0.5f + static_cast<float>(HEIGHT)));
tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat),
(int)(0.5f + static_cast<float>(m_renderWidth)),
(int)(0.5f + static_cast<float>(m_renderHeight)));
referenceFrame.allocLevel(0);

const int32_t frameWidth = referenceFrame.getWidth();
Expand Down Expand Up @@ -1836,7 +1837,7 @@ tcu::TestStatus IndirectDrawCountClampTest::iterate(void)
const vk::VkOffset3D zeroOffset = {0, 0, 0};
const tcu::ConstPixelBufferAccess renderedFrame =
m_colorTargetImage->readSurface(queue, m_context.getDefaultAllocator(), vk::VK_IMAGE_LAYOUT_GENERAL, zeroOffset,
WIDTH, HEIGHT, vk::VK_IMAGE_ASPECT_COLOR_BIT);
(int)m_renderWidth, (int)m_renderHeight, vk::VK_IMAGE_ASPECT_COLOR_BIT);

qpTestResult res = QP_TEST_RESULT_PASS;

Expand Down

0 comments on commit 32b1a3b

Please sign in to comment.