Create a render target texture when intended as framebuffer attachment.
Create a render target texture when intended as framebuffer attachment.

TRAC #18732
Signed-off-by: Daniel Koch
Author: Nicolas Capens

git-svn-id: a070b70d2b8c44c266a3870c0cddd9a0ee470458@861 736b8ea6-26fd-11df-bfd4-992fa37f6226

nandhanurrevanth/angle,ehsan/angle,ecoal95/angle,KalebDark/angleproject,xin3liang/platform_external_chromium_org_third_party_angle_dx11,larsbergstrom/angle,jgcaaprom/android_external_chromium_org_third_party_angle,ecoal95/angle,vvuk/angle,themusicgod1/angleproject,larsbergstrom/angle,MIPS/external-chromium_org-third_party-angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,cvsuser-chromium/chromium-third-party_angle_dx11,xuxiandi/angleproject,cantren/angleproject,KalebDark/angleproject,geekboxzone/lollipop_external_chromium_org_third_party_angle,jgcaaprom/android_external_chromium_org_third_party_angle,jgcaaprom/android_external_chromium_org_third_party_angle,android-ia/platform_external_chromium_org_third_party_angle_dx11,nandhanurrevanth/angle,android-ia/platform_external_chromium_org_third_party_angle,stammen/angleproject,shairai/angleproject,vvuk/angle-old,xuxiandi/angleproject,RepublicMaster/angleproject,themusicgod1/angleproject,android-ia/platform_external_chromium_org_third_party_angle,RepublicMaster/angleproject,pombreda/angleproject,mikolalysenko/angle,domokit/waterfall,csa7mdm/angle,ppy/angle,shairai/angleproject,KTXSoftware/angleproject,bsergean/angle,cvsuser-chromium/chromium-third-party_angle_dx11,xin3liang/platform_external_chromium_org_third_party_angle,mlfarrell/angle,stammen/angleproject,mlfarrell/angle,themusicgod1/angleproject,ghostoy/angle,vvuk/angle,nandhanurrevanth/angle,ehsan/angle,mrobinson/rust-angle,mrobinson/rust-angle,ehsan/angle,MIPS/external-chromium_org-third_party-angle_dx11,mrobinson/rust-angle,android-ia/platform_external_chromium_org_third_party_angle_dx11,bsergean/angle,MSOpenTech/angle,pombreda/angleproject,mybios/angle,MIPS/external-chromium_org-third_party-angle_dx11,cantren/angleproject,vvuk/angle-old,stammen/angleproject,KalebDark/angleproject,xin3liang/platform_external_chromium_org_third_party_angle,MSOpenTech/angle-win8.0,KTXSoftware/angleproject,csa7mdm/angle,android-ia/platform_external_chromium_org_third_party_angle_dx11,domokit/waterfall,mybios/angle,MIPS/external-chromium_org-third_party-angle,bsergean/angle,ghostoy/angle,stammen/angleproject,ecoal95/angle,ppy/angle,MSOpenTech/angle-win8.0,mikolalysenko/angle,MIPS/external-chromium_org-third_party-angle_dx11,crezefire/angle,xuxiandi/angleproject,crezefire/angle,MSOpenTech/angle,vvuk/angle-old,xin3liang/platform_external_chromium_org_third_party_angle,ppy/angle,mikolalysenko/angle,mybios/angle,ehsan/angle,MSOpenTech/angle-win8.0,jgcaaprom/android_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle,mrobinson/rust-angle,vvuk/angle-old,nandhanurrevanth/angle,xuxiandi/angleproject,android-ia/platform_external_chromium_org_third_party_angle,pombreda/angleproject,larsbergstrom/angle,RepublicMaster/angleproject,cantren/angleproject,cvsuser-chromium/chromium-third-party_angle_dx11,ppy/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,larsbergstrom/angle,mybios/angle,MSOpenTech/angle,vvuk/angle,android-ia/platform_external_chromium_org_third_party_angle_dx11,ghostoy/angle,xin3liang/platform_external_chromium_org_third_party_angle_dx11,xin3liang/platform_external_chromium_org_third_party_angle_dx11,KalebDark/angleproject,csa7mdm/angle,MSOpenTech/angle-win8.0,pombreda/angleproject,KTXSoftware/angleproject,ghostoy/angle,xin3liang/platform_external_chromium_org_third_party_angle_dx11,mlfarrell/angle,xin3liang/platform_external_chromium_org_third_party_angle,mikolalysenko/angle,shairai/angleproject,themusicgod1/angleproject,shairai/angleproject,cvsuser-chromium/chromium-third-party_angle_dx11,vvuk/angle,MIPS/external-chromium_org-third_party-angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,MSOpenTech/angle,cantren/angleproject,csa7mdm/angle,mlfarrell/angle,android-ia/platform_external_chromium_org_third_party_angle,MIPS/external-chromium_org-third_party-angle_dx11,mrobinson/rust-angle,KTXSoftware/angleproject,ecoal95/angle,crezefire/angle,ecoal95/angle,KTXSoftware/angleproject,bsergean/angle,RepublicMaster/angleproject,crezefire/angle