devwaker / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Investigate behavior of cube textures specified as texture 2D arrays in SRVs on older systems #483

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We had changed the SRVs for cubemap rendertargets to use a ViewDimension of 
TEXTURECUBE rather than TEXTURE2DARRAY because using them as texture 2D arrays 
was provoking D3D debug runtime errors (but no rendering errors in the WebGL 
conformance suite) on systems that supported a maximum feature level of 10.0. 

We've had to change this back to a texture array, as the shader with which it's 
associated specifies the resources as a Texture2D, and throws errors and cannot 
perform the sample if the SRV specifies the view dimension to be cube. We 
should investigate to determine whether there are rendering issues on older 
systems.

The following sample uses cubemap rendertargets, and may be helpful in testing: 
http://threejs.org/examples/webgl_materials_cubemap_dynamic2.html

Original issue reported on code.google.com by shannonw...@chromium.org on 9 Oct 2013 at 3:25