RenderToTexture with RectangleTexture causes Runtime Error and presents black screen
Problem Description:
Please see RTTtest.as first(https://bugbase.adobe.com/index.cfm?event=bug&id=3776210), run time error occurs on iOS devices ( I have test two devices: iPad2 and iPhone 5 )
Error: Error #3604: Sampler 0 binds a texture that is also bound for render to texture.
at flash.display3D::Context3D/drawTriangles()
at RTTtest/RenderTT()
at RTTtest/_OnEnterFrame()
Lines between 159~189 present some of my testing results, some are correct and the others are incorrect.
In addition, I also have test "On AIR Simulator" and nexus 7 2013, the error does not produces.
Steps to Reproduce:
1. directly executes the RTTtest.as on iPhone 5.
will see the error ( on debug mode )
2. Commenting line:169-170, and un-comment line:172-178 does not produce error.
Actual Result:
if ignoring the error, the render texture presents black, therefore the screen presents black.
Expected Result:
The testing program draws two triangles, the one is blue, and the other is red.
Test Configuration
My Hardware and Environment details:
Build environment:
Intel Core i7 CPU 930, 8.0 GB RAM, FlashBuilder 4.7, Windows 7 64-bits
Testing device environment
iPhone 5, iOS version 7.1.1 (11D201)
