OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
322a51b
)
freedreno/ir3: cmdline compiler updates for spv shaders
author
Rob Clark
<robdclark@gmail.com>
Sat, 24 Feb 2018 16:33:09 +0000
(11:33 -0500)
committer
Rob Clark
<robdclark@gmail.com>
Mon, 5 Mar 2018 13:05:33 +0000
(08:05 -0500)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
b/src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
index
51197ab
..
41bd1de
100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
@@
-443,6
+443,13
@@
int main(int argc, char **argv)
nir = ir3_tgsi_to_nir(toks);
} else if (from_spirv) {
nir = load_spirv(filenames[0], entry, stage);
+
+ NIR_PASS_V(nir, nir_lower_io, nir_var_all, ir3_glsl_type_size,
+ (nir_lower_io_options)0);
+
+ /* TODO do this somewhere else */
+ nir_lower_int64(nir, ~0);
+ nir_lower_system_values(nir);
} else if (num_files > 0) {
nir = load_glsl(num_files, filenames, stage);
} else {