Home
last modified time | relevance | path

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

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