projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8aff9
)
turnip: fix vertex_id
author
Jonathan Marek
<jonathan@marek.ca>
Wed, 25 Sep 2019 16:48:39 +0000
(12:48 -0400)
committer
Jonathan Marek
<jonathan@marek.ca>
Thu, 26 Sep 2019 21:18:13 +0000
(17:18 -0400)
ir3 uses non-zero based vertex id for a6xx
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_pipeline.c
patch
|
blob
|
history
diff --git
a/src/freedreno/vulkan/tu_pipeline.c
b/src/freedreno/vulkan/tu_pipeline.c
index d5dcd18f6e693ace663f0371264f106562ea6cf0..831bcfbd7e16ed4b0c81231a552c23af131c28d1 100644
(file)
--- a/
src/freedreno/vulkan/tu_pipeline.c
+++ b/
src/freedreno/vulkan/tu_pipeline.c
@@
-478,7
+478,7
@@
tu6_emit_vs_system_values(struct tu_cs *cs,
const struct ir3_shader_variant *vs)
{
const uint32_t vertexid_regid =
- ir3_find_sysval_regid(vs, SYSTEM_VALUE_VERTEX_ID
_ZERO_BASE
);
+ ir3_find_sysval_regid(vs, SYSTEM_VALUE_VERTEX_ID);
const uint32_t instanceid_regid =
ir3_find_sysval_regid(vs, SYSTEM_VALUE_INSTANCE_ID);