Lines Matching refs:outFile
6 outFile=tempVkInterface
8 if [ ! -e "$outFile" ] ; then
10 touch "$outFile"
13 chmod 700 $outFile
15 echo '// *******************************************' > $outFile
16 echo '// Place these lines into GrVkInterface.cpp::validate' >> $outFile
17 echo '// *******************************************' >> $outFile
18 sed -n 's/^VKAPI_ATTR \(VkResult\|void\) VKAPI_CALL vk\([a-zA-Z]*\).*/NULL == fFunctions.f\2 ||/p' $headerLoc >> $outFile
19 sed -i '1,/NULL/ s/^NULL/if (NULL/' $outFile
20 sed -i '5,$ s/^/ /' $outFile
21 sed -i '$ s/ ||/) {/' $outFile
23 echo '' >> $outFile
24 echo '// *******************************************' >> $outFile
25 echo '// Place these lines into GrVkInterface.h' >> $outFile
26 echo '// *******************************************' >> $outFile
27 sed -n 's/^VKAPI_ATTR \(VkResult\|void\) VKAPI_CALL vk\([a-zA-Z]*\).*/VkPtr<PFN_vk\2> f\2;/p' $headerLoc >> $outFile
29 echo '' >> $outFile
30 echo '// *******************************************' >> $outFile
31 echo '// Place these lines into GrVkInterface.cpp::GrVKCreateInterface' >> $outFile
32 echo '// *******************************************' >> $outFile
33 sed -n 's/^VKAPI_ATTR \(VkResult\|void\) VKAPI_CALL vk\([a-zA-Z]*\).*/GET_PROC(\2);/p' $headerLoc >> $outFile