-
Notifications
You must be signed in to change notification settings - Fork 37
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 case 3/4: Disable PS output for ALU and memfetch #502
Test case 3/4: Disable PS output for ALU and memfetch #502
Conversation
46c9309
to
73bf8a5
Compare
@@ -153,7 +178,10 @@ void FillOutGraphicsPipelineCreateInfo( | |||
pDstCreateInfo->colorBlendState.blendAttachmentCount = pSrcCreateInfo->outputState.renderTargetCount; | |||
for (uint32_t i = 0; i < pDstCreateInfo->colorBlendState.blendAttachmentCount; ++i) { | |||
switch (pSrcCreateInfo->blendModes[i]) { | |||
default: break; | |||
case grfx::BLEND_MODE_NONE: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be better to assert for the default case for unknown blend mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the -Werror was added to help with this situation, if not all mode was list there, it will be reported as compilation error. However when I tried on windows with /WX
option, it seems not working. so added back the default
statement here.
a72e6a7
to
ca17cd5
Compare
ca17cd5
to
3073906
Compare
Added knob
disable-ps-output
to disable PS output.For test case 3, use
"fullscreen-quads-type": "Solid_Color"
and for test case 4 use"fullscreen-quads-type": "Texture"
{
"deterministic": true,
"enable-skybox": false,
"enable-spheres": false,
"enable-metrics": false,
"fullscreen-quads-count": 1,
"fullscreen-quads-type": "Texture",
"fullscreen-quads-single-renderpass": true,
"vs-alu-instruction-count": 100,
"texture-count": 2,
"disable-ps-output": true
}