Home
last modified time | relevance | path

Searched refs:discardStr (Results 1 – 1 of 1) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDiscardTests.cpp362 … (tcu::TestContext& testCtx, DiscardTemplate tmpl, DiscardMode mode, const std::string& discardStr) in makeDiscardCase() argument
370 case DISCARDMODE_ALWAYS: params["DISCARD"] = discardStr; break; in makeDiscardCase()
371 case DISCARDMODE_NEVER: params["DISCARD"] = "if (false) " + discardStr; break; in makeDiscardCase()
372 case DISCARDMODE_UNIFORM: params["DISCARD"] = "if (ui_one > 0) " + discardStr; break; in makeDiscardCase()
373 …case DISCARDMODE_DYNAMIC: params["DISCARD"] = "if (v_coords.x+v_coords.y > 0.0) " + discardStr; … in makeDiscardCase()
374 …E: params["DISCARD"] = "if (texture(ut_brick, v_coords.xy*0.25+0.5).x < 0.7) " + discardStr; break; in makeDiscardCase()
407 discardStr == "demote")); // demote in makeDiscardCase()