Commit ef850626 authored by Jeff Muizelaar's avatar Jeff Muizelaar
Browse files

Bug 1708937. Work around a gen6 shader compiler bug. r=gw, a=RyanVM

This was found through experimentation. Hopefully,
we'll get a better understanding of what's going on in the future.

Differential Revision:
parent 5208c690
......@@ -65,8 +65,8 @@ void brush_vs(
vYuvColorSpace = prim.color_space;
vRescaleFactor = int(log2(prim.coefficient));
if (vFormat == YUV_FORMAT_PLANAR) {
// The additional test for 99 works around a gen6 shader compiler bug: 1708937
if (vFormat == YUV_FORMAT_PLANAR || vFormat == 99) {
ImageSource res_y = fetch_image_source(prim_user_data.x);
ImageSource res_u = fetch_image_source(prim_user_data.y);
ImageSource res_v = fetch_image_source(prim_user_data.z);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment