projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5504beb
)
radeonsi/nir: disable vertex_id_zero_based lowering
author
Timothy Arceri
<tarceri@itsqueeze.com>
Tue, 27 Feb 2018 01:48:11 +0000
(12:48 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Tue, 27 Feb 2018 22:23:49 +0000
(09:23 +1100)
The lowering is incompatible with how the radeonsi backend works.
Fixes piglit test:
./bin/arb_shader_draw_parameters-basevertex vertexid-zerobased -auto
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_get.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_get.c
b/src/gallium/drivers/radeonsi/si_get.c
index 998ef8d268b45146b72cff34b5fb595ec1c9bf1b..e9657602f371dc311be922ba00603e4d1be08ffa 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_get.c
+++ b/
src/gallium/drivers/radeonsi/si_get.c
@@
-492,7
+492,6
@@
static int si_get_shader_param(struct pipe_screen* pscreen,
}
static const struct nir_shader_compiler_options nir_options = {
- .vertex_id_zero_based = true,
.lower_scmp = true,
.lower_flrp32 = true,
.lower_flrp64 = true,