projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180f986
)
tu: Don't invert point coords
author
Connor Abbott
<cwabbott0@gmail.com>
Fri, 24 Apr 2020 13:53:19 +0000
(15:53 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Sat, 25 Apr 2020 16:15:48 +0000
(16:15 +0000)
We shouldn't need to invert them, and the Vulkan blob doesn't either.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4733>
src/freedreno/vulkan/tu_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_cmd_buffer.c
b/src/freedreno/vulkan/tu_cmd_buffer.c
index 3682139b4a0e50fd86323fe04e584729bb719ec5..02e7ee1d5390727eb670ac76ebfc1ae4d0e33623 100644
(file)
--- a/
src/freedreno/vulkan/tu_cmd_buffer.c
+++ b/
src/freedreno/vulkan/tu_cmd_buffer.c
@@
-814,7
+814,8
@@
tu6_init_hw(struct tu_cmd_buffer *cmd, struct tu_cs *cs)
tu_cs_emit_write_reg(cs, REG_A6XX_VPC_UNKNOWN_9101, 0xffff00);
tu_cs_emit_write_reg(cs, REG_A6XX_VPC_UNKNOWN_9107, 0);
- tu_cs_emit_write_reg(cs, REG_A6XX_VPC_UNKNOWN_9236, 1);
+ tu_cs_emit_write_reg(cs, REG_A6XX_VPC_UNKNOWN_9236,
+ A6XX_VPC_UNKNOWN_9236_POINT_COORD_INVERT(0));
tu_cs_emit_write_reg(cs, REG_A6XX_VPC_UNKNOWN_9300, 0);
tu_cs_emit_write_reg(cs, REG_A6XX_VPC_SO_OVERRIDE,