Home | History | Annotate | Download | only in glsl

Lines Matching full:discard

972       llvm::BasicBlock* discard = llvm::BasicBlock::Create(ctx, "discard", fun);
976 after = llvm::BasicBlock::Create(ctx, "discard.survived", fun);
977 bld.CreateCondBr(llvm_value(ir->condition), discard, after);
981 after = llvm::BasicBlock::Create(ctx, "dead_code.discard", fun);
982 bld.CreateBr(discard);
985 bld.SetInsertPoint(discard);
995 // and handle the discard outside the shader, in the scanline function.
996 // The discard instruction is not used frequently, so it should be okay
998 new llvm::UnwindInst(ctx, discard); /// Deprecated