Lines Matching refs:sstr
465 std::ostringstream sstr; in TEST_P() local
466 sstr << "OpCapability Geometry\n"; in TEST_P()
467 sstr << "OpMemoryModel Logical GLSL450\n"; in TEST_P()
468 sstr << "OpEntryPoint Geometry %main \"main\"\n"; in TEST_P()
473 sstr << "OpExecutionMode %main " << input << "\n"; in TEST_P()
480 sstr << "OpExecutionMode %main " << output << "\n"; in TEST_P()
483 sstr << "%void = OpTypeVoid\n"; in TEST_P()
484 sstr << "%void_fn = OpTypeFunction %void\n"; in TEST_P()
485 sstr << "%int = OpTypeInt 32 0\n"; in TEST_P()
486 sstr << "%int1 = OpConstant %int 1\n"; in TEST_P()
487 sstr << "%main = OpFunction %void None %void_fn\n"; in TEST_P()
488 sstr << "%entry = OpLabel\n"; in TEST_P()
489 sstr << "OpReturn\n"; in TEST_P()
490 sstr << "OpFunctionEnd\n"; in TEST_P()
492 CompileSuccessfully(sstr.str()); in TEST_P()
532 std::ostringstream sstr; in TEST_P() local
533 sstr << "OpCapability Shader\n"; in TEST_P()
534 sstr << "OpCapability Geometry\n"; in TEST_P()
535 sstr << "OpCapability Tessellation\n"; in TEST_P()
536 sstr << "OpCapability TransformFeedback\n"; in TEST_P()
538 sstr << "OpCapability Kernel\n"; in TEST_P()
540 sstr << "OpCapability SubgroupDispatch\n"; in TEST_P()
543 sstr << "OpMemoryModel Logical GLSL450\n"; in TEST_P()
544 sstr << "OpEntryPoint " << model << " %main \"main\"\n"; in TEST_P()
547 sstr << "OpExecutionModeId %main " << mode << "\n"; in TEST_P()
549 sstr << "OpExecutionMode %main " << mode << "\n"; in TEST_P()
557 sstr << "OpExecutionMode %main InputPoints\n"; in TEST_P()
562 sstr << "OpExecutionMode %main OutputPoints\n"; in TEST_P()
568 sstr << "OpExecutionMode %main OriginUpperLeft\n"; in TEST_P()
571 sstr << "%void = OpTypeVoid\n"; in TEST_P()
572 sstr << "%void_fn = OpTypeFunction %void\n"; in TEST_P()
573 sstr << "%int = OpTypeInt 32 0\n"; in TEST_P()
574 sstr << "%int1 = OpConstant %int 1\n"; in TEST_P()
575 sstr << "%main = OpFunction %void None %void_fn\n"; in TEST_P()
576 sstr << "%entry = OpLabel\n"; in TEST_P()
577 sstr << "OpReturn\n"; in TEST_P()
578 sstr << "OpFunctionEnd\n"; in TEST_P()
580 CompileSuccessfully(sstr.str(), env); in TEST_P()