summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2016-03-23 08:04:18 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2016-04-11 08:27:04 +0200
commit3663a2397e47da9b766b0c4239a8b74ac77b5d04 (patch)
tree8de1cc32a2ab24f26518f7d86860986506285d9d /src/compiler/nir/nir.h
parenta5b17ae7455af205a89074d176289affbf68e444 (diff)
nir: add bit_size info to nir_load_const_instr_create()
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index f84f39dbf64..4cc158767f0 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1830,7 +1830,8 @@ nir_alu_instr *nir_alu_instr_create(nir_shader *shader, nir_op op);
nir_jump_instr *nir_jump_instr_create(nir_shader *shader, nir_jump_type type);
nir_load_const_instr *nir_load_const_instr_create(nir_shader *shader,
- unsigned num_components);
+ unsigned num_components,
+ unsigned bit_size);
nir_intrinsic_instr *nir_intrinsic_instr_create(nir_shader *shader,
nir_intrinsic_op op);