Searched refs:create_uniform (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_drawpixels.c | 70 create_uniform(nir_shader *shader, const char *name, const int state_tokens[5]) in create_uniform() function 87 state->scale = create_uniform(state->shader, "gl_PTscale", in get_scale() 97 state->bias = create_uniform(state->shader, "gl_PTbias", in get_bias() 107 state->bias = create_uniform(state->shader, "gl_MultiTexCoord0", in get_texcoord_const()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_compiler_nir.c | 585 create_uniform(struct ir3_context *ctx, unsigned n) in create_uniform() function 739 return create_uniform(ctx, r); in create_driver_param() 1179 base_lo = create_uniform(ctx, ubo + (src0->regs[1]->iim_val * ptrsz)); in emit_intrinsic_load_ubo() 1180 base_hi = create_uniform(ctx, ubo + (src0->regs[1]->iim_val * ptrsz) + 1); in emit_intrinsic_load_ubo() 1320 dst[0] = create_uniform(ctx, idx); in emit_intrinsic_ssbo_size() 1643 offset = ir3_MUL_S(b, coords[0], 0, create_uniform(ctx, cb + 0), 0); in get_image_offset() 1646 offset = ir3_MAD_S24(b, create_uniform(ctx, cb + 1), 0, in get_image_offset() 1651 offset = ir3_MAD_S24(b, create_uniform(ctx, cb + 2), 0, in get_image_offset() 1952 dst[i] = create_uniform(ctx, n); in emit_intrinsic() 2834 base = create_uniform(ctx, regid(v->constbase.tfbo, i)); in emit_stream_out()
|