anv/pipeline: Set key->render_to_fbo to false for fragment shaaders
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 20 Oct 2015 22:37:14 +0000 (15:37 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 20 Oct 2015 22:37:16 +0000 (15:37 -0700)
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

index a923017310a4c4f29e4f042fd7e394ea00526889..ed0be39cb7bdbe7e6fb227f44a4a4e155e864003 100644 (file)
@@ -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;