projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bae36
)
anv/pipeline: Set key->render_to_fbo to false for fragment shaaders
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 20 Oct 2015 22:37:14 +0000
(15:37 -0700)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_pipeline.c
b/src/vulkan/anv_pipeline.c
index a923017310a4c4f29e4f042fd7e394ea00526889..ed0be39cb7bdbe7e6fb227f44a4a4e155e864003 100644
(file)
--- 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;