Skip to content

Test shader definitions field in shader reload soak test#333

Open
jeremyong-az wants to merge 1 commit intoo3de:developmentfrom
aws-lumberyard-dev:Atom/ShaderDefinitions
Open

Test shader definitions field in shader reload soak test#333
jeremyong-az wants to merge 1 commit intoo3de:developmentfrom
aws-lumberyard-dev:Atom/ShaderDefinitions

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 <jcong@amazon.com>
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