projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce1672
)
turnip: Tell spirv_to_nir that we want fragcoord as a sysval.
author
Eric Anholt
<eric@anholt.net>
Fri, 27 Sep 2019 23:04:30 +0000
(16:04 -0700)
committer
Jonathan Marek
<jonathan@marek.ca>
Tue, 15 Oct 2019 11:56:19 +0000
(07:56 -0400)
Fixes ir3 compiler failure failure in
dEQP-VK.renderpass.dedicated_allocation.formats.r8g8b8a8_unorm.clear.clear_draw
(now just a rendering failure where the subpass clear isn't happening)
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/vulkan/tu_shader.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_shader.c
b/src/freedreno/vulkan/tu_shader.c
index 2b68aeafffb399e968c0bcabdd4132c3e91a25dc..32c3506d08dc77efca86d10c51674a202a3d1ce0 100644
(file)
--- a/
src/freedreno/vulkan/tu_shader.c
+++ b/
src/freedreno/vulkan/tu_shader.c
@@
-38,6
+38,7
@@
tu_spirv_to_nir(struct ir3_compiler *compiler,
{
/* TODO these are made-up */
const struct spirv_to_nir_options spirv_options = {
+ .frag_coord_is_sysval = true,
.lower_ubo_ssbo_access_to_offsets = true,
.caps = { false },
};