From: Jason Ekstrand Date: Tue, 20 Oct 2015 22:37:14 +0000 (-0700) Subject: anv/pipeline: Set key->render_to_fbo to false for fragment shaaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27d868500aba43e88ef86f9f68aa729289569e75;p=mesa.git anv/pipeline: Set key->render_to_fbo to false for fragment shaaders Vulkan uses the upper-left convention. This is the same as DX one and what our hardware does. We had it flipped around. --- diff --git a/src/vulkan/anv_pipeline.c b/src/vulkan/anv_pipeline.c index a923017310a..ed0be39cb7b 100644 --- a/src/vulkan/anv_pipeline.c +++ b/src/vulkan/anv_pipeline.c @@ -303,7 +303,7 @@ populate_wm_prog_key(const struct brw_device_info *devinfo, * this in Vulkan? */ key->drawable_height = 0; - key->render_to_fbo = true; /* XXX really? */ + key->render_to_fbo = false; key->nr_color_regions = render_pass->subpasses[info->subpass].color_count;