Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autodesk: testUsdImagingGLPopOut is OpenGL only #3480

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 49 additions & 41 deletions pxr/usdImaging/usdImagingGL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3852,49 +3852,57 @@ pxr_register_test(testUsdImagingGLUsdSkelExtCompGPU_twoBends
USDSKELIMAGING_FORCE_CPU_COMPUTE=0
)

pxr_register_test(testUsdImagingGLPopOut
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLPopOut --output test test.usda"
IMAGE_DIFF_COMPARE
test_0.png
test_1.png
test_2.png
test_3.png
test_4.png
test_5.png
test_6.png
test_7.png
test_8.png
FAIL .05
FAIL_PERCENT .03
PERCEPTUAL
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPopOut
)
if(PXR_ENABLE_GL_SUPPORT AND X11_FOUND)
pxr_register_test(testUsdImagingGLPopOut
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLPopOut --output test test.usda"
IMAGE_DIFF_COMPARE
test_0.png
test_1.png
test_2.png
test_3.png
test_4.png
test_5.png
test_6.png
test_7.png
test_8.png
FAIL .05
FAIL_PERCENT .03
PERCEPTUAL
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPopOut
ENV
HGI_ENABLE_VULKAN=0
)

pxr_register_test(testUsdImagingGLPopOut_instance
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLPopOut --output test_instance test_instance.usda"
IMAGE_DIFF_COMPARE
test_instance_0.png
test_instance_1.png
test_instance_2.png
test_instance_3.png
test_instance_4.png
test_instance_5.png
test_instance_6.png
test_instance_7.png
test_instance_8.png
FAIL .05
FAIL_PERCENT .03
PERCEPTUAL
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPopOut
)
pxr_register_test(testUsdImagingGLPopOut_instance
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLPopOut --output test_instance test_instance.usda"
IMAGE_DIFF_COMPARE
test_instance_0.png
test_instance_1.png
test_instance_2.png
test_instance_3.png
test_instance_4.png
test_instance_5.png
test_instance_6.png
test_instance_7.png
test_instance_8.png
FAIL .05
FAIL_PERCENT .03
PERCEPTUAL
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPopOut
ENV
HGI_ENABLE_VULKAN=0
)

pxr_register_test(testUsdImagingGLPopOut_instance_empty
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLPopOut --output test_instance_empty test_instance_empty.usda"
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPopOut
)
pxr_register_test(testUsdImagingGLPopOut_instance_empty
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLPopOut --output test_instance_empty test_instance_empty.usda"
EXPECTED_RETURN_CODE 0
TESTENV testUsdImagingGLPopOut
ENV
HGI_ENABLE_VULKAN=0
)
endif()

pxr_register_test(testUsdImagingGLMaterialTag
COMMAND "${CMAKE_INSTALL_PREFIX}/tests/testUsdImagingGLBasicDrawing -lighting -cullStyle back -offscreen -frameAll -stage materialTag.usda -write testUsdImagingGLMaterialTag.png"
Expand Down