Lines Matching refs:bit_size
65 unsigned bit_size = glsl_get_bit_size(val->type);
66 val->def = nir_ssa_undef(&b->nb, num_components, bit_size);
110 int bit_size = glsl_get_bit_size(type);
114 nir_load_const_instr_create(b->shader, num_components, bit_size);
130 nir_load_const_instr_create(b->shader, rows, bit_size);
717 int bit_size = w[2];
718 val->type->type = bit_size == 64 ? glsl_double_type() : glsl_float_type();
1034 int bit_size = glsl_get_bit_size(val->const_type);
1035 if (bit_size == 64) {
1039 assert(bit_size == 32);
1047 int bit_size = glsl_get_bit_size(val->const_type);
1048 if (bit_size == 64)
1068 int bit_size = glsl_get_bit_size(val->const_type);
1077 if (bit_size == 64) {
1080 assert(bit_size == 32);
1122 unsigned bit_size = glsl_get_bit_size(val->const_type);
1130 assert(bit_size == bit_size0 && bit_size == bit_size1);
1132 if (bit_size == 64) {
1238 unsigned bit_size = glsl_get_bit_size(type);
1240 if (bit_size == 64) {
1243 assert(bit_size == 32);
1255 unsigned bit_size = glsl_get_bit_size(type);
1257 if (bit_size == 64) {
1260 assert(bit_size == 32);
1275 unsigned bit_size =
1285 assert(bit_size == 32);
1290 nir_eval_const_opcode(op, num_components, bit_size, src);
2188 create_vec(nir_shader *shader, unsigned num_components, unsigned bit_size)
2201 bit_size, NULL);
2250 src->bit_size);
2295 nir_alu_instr *vec = create_vec(b->shader, num_components, src0->bit_size);
2301 nir_src_for_ssa(nir_ssa_undef(&b->nb, 1, src0->bit_size));
2324 srcs[0]->bit_size);