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

Test shader definitions field in shader reload soak test #333

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

jeremyong-az
Copy link
Contributor

@jeremyong-az jeremyong-az commented Feb 2, 2022

This commit adds a new test shader file FullscreenMacroWhite.shader.txt
which adds a preprocessor definition "WHITE" to the shader. The red,
blue, and green shader source files all conditionally emit 0xFFFFFFFF if
this macro is defined, and the shader reload test checks for a white pixel
if this shader is used.

Result after running newly modified shader reload soak test.

image

Requires o3de/o3de#7356

This commit adds a new test shader file FullscreenMacroWhite.shader.txt
which adds a preprocessor definition "WHITE" to the shader. The red,
blue, and green shader source files all conditionally emit 0xFFFFFFFF if
this macro is defined, and the shader reload test checks for a white pixel
if this shader is used.

Signed-off-by: Jeremy Ong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants