From 27d868500aba43e88ef86f9f68aa729289569e75 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 20 Oct 2015 15:37:14 -0700 Subject: [PATCH] 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. --- src/vulkan/anv_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2