projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e790f
)
freedreno/ir3: fix base_vertex
author
Rob Clark
<robdclark@gmail.com>
Sat, 16 Jun 2018 16:26:50 +0000
(12:26 -0400)
committer
Rob Clark
<robdclark@gmail.com>
Thu, 21 Jun 2018 12:54:47 +0000
(08:54 -0400)
Fixes: c366f422f0a nir: Offset vertex_id by first_vertex instead of base_vertex
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
index 73871f8e0dbc592dd2ac303f6d520bde5380723a..0fe88e1f8264cdfe7a64c1ce1a907961cdda2ef7 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
@@
-2400,6
+2400,7
@@
emit_intrinsic(struct ir3_context *ctx, nir_intrinsic_instr *intr)
ctx->ir->outputs[n] = src[i];
}
break;
+ case nir_intrinsic_load_base_vertex:
case nir_intrinsic_load_first_vertex:
if (!ctx->basevertex) {
ctx->basevertex = create_driver_param(ctx, IR3_DP_VTXID_BASE);