- ClearShader made into a class that manages all required shaders and input layouts for clears - ClearShader reuses VS for all clear types. This reduces shader compilation time and memory usage significantly - Use constantBuffer for color/z values instead of VB to decouple VB & VS from clearType and allowing for the same VS to be used for multiple clear types - FL10+ Devices: Generate positions using SV_VertexID in VS to avoid having to bind VB. - FL93 Devices: Use an immutable VB containing only position data (SV_VertexID not supported) - Implement CB cache. Incoming color/Z values checked against cache and CB/cache only updated if there is a mismatch. Significantly reduces the frequency of expensive CB map/rename operations especially in common scenarios where most/all clears use the same color/z values BUG=angleproject:1935 Change-Id: I2015fbdcc135ba08b65dbecbe9c62499c2801037 Reviewed-on: https://chromium-review.googlesource.com/453882 Commit-Queue: Shahmeer Esmail <shahmeer.esmail@intel.com> Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by:Jamie Madill <jmadill@chromium.org>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| buffertotexture11_gs.h | Loading commit data... | |
| buffertotexture11_ps_4f.h | Loading commit data... | |
| buffertotexture11_ps_4i.h | Loading commit data... | |
| buffertotexture11_ps_4ui.h | Loading commit data... | |
| buffertotexture11_vs.h | Loading commit data... | |
| clear11_fl9vs.h | Loading commit data... | |
| clear11vs.h | Loading commit data... | |
| clearfloat11_fl9ps.h | Loading commit data... | |
| clearfloat11ps.h | Loading commit data... | |
| clearfloat11vs.h | Loading commit data... | |
| clearsint11ps.h | Loading commit data... | |
| clearsint11vs.h | Loading commit data... | |
| clearuint11ps.h | Loading commit data... | |
| clearuint11vs.h | Loading commit data... | |
| passthrough2d11vs.h | Loading commit data... | |
| passthrough3d11gs.h | Loading commit data... | |
| passthrough3d11vs.h | Loading commit data... | |
| passthroughdepth2d11ps.h | Loading commit data... | |
| passthroughlum2d11ps.h | Loading commit data... | |
| passthroughlum3d11ps.h | Loading commit data... | |
| passthroughlumalpha2d11ps.h | Loading commit data... | |
| passthroughlumalpha3d11ps.h | Loading commit data... | |
| passthroughr2d11ps.h | Loading commit data... | |
| passthroughr2di11ps.h | Loading commit data... | |
| passthroughr2dui11ps.h | Loading commit data... | |
| passthroughr3d11ps.h | Loading commit data... | |
| passthroughr3di11ps.h | Loading commit data... | |
| passthroughr3dui11ps.h | Loading commit data... | |
| passthroughrg2d11ps.h | Loading commit data... | |
| passthroughrg2di11ps.h | Loading commit data... | |
| passthroughrg2dui11ps.h | Loading commit data... | |
| passthroughrg3d11ps.h | Loading commit data... | |
| passthroughrg3di11ps.h | Loading commit data... | |
| passthroughrg3dui11ps.h | Loading commit data... | |
| passthroughrgb2d11ps.h | Loading commit data... | |
| passthroughrgb2di11ps.h | Loading commit data... | |
| passthroughrgb2dui11ps.h | Loading commit data... | |
| passthroughrgb3d11ps.h | Loading commit data... | |
| passthroughrgb3di11ps.h | Loading commit data... | |
| passthroughrgb3dui11ps.h | Loading commit data... | |
| passthroughrgba2d11ps.h | Loading commit data... | |
| passthroughrgba2di11ps.h | Loading commit data... | |
| passthroughrgba2dms11ps.h | Loading commit data... | |
| passthroughrgba2dui11ps.h | Loading commit data... | |
| passthroughrgba3d11ps.h | Loading commit data... | |
| passthroughrgba3di11ps.h | Loading commit data... | |
| passthroughrgba3dui11ps.h | Loading commit data... | |
| passthroughrgbapremultiply2d11ps.h | Loading commit data... | |
| passthroughrgbaunmultiply2d11ps.h | Loading commit data... | |
| passthroughrgbpremultiply2d11ps.h | Loading commit data... | |
| passthroughrgbunmultiply2d11ps.h | Loading commit data... | |
| resolvedepth11_ps.h | Loading commit data... | |
| resolvedepthstencil11_ps.h | Loading commit data... | |
| resolvedepthstencil11_vs.h | Loading commit data... | |
| resolvestencil11_ps.h | Loading commit data... | |
| swizzlef2darrayps.h | Loading commit data... | |
| swizzlef2dps.h | Loading commit data... | |
| swizzlef3dps.h | Loading commit data... | |
| swizzlei2darrayps.h | Loading commit data... | |
| swizzlei2dps.h | Loading commit data... | |
| swizzlei3dps.h | Loading commit data... | |
| swizzleui2darrayps.h | Loading commit data... | |
| swizzleui2dps.h | Loading commit data... | |
| swizzleui3dps.h | Loading commit data... |