Home
last modified time | relevance | path

Searched refs:vs_b (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_meta_clear.c38 nir_builder vs_b = radv_meta_init_shader(dev, MESA_SHADER_VERTEX, "meta_clear_color_vs"); in build_color_shaders() local
46 nir_variable_create(vs_b.shader, nir_var_shader_out, position_type, "gl_Position"); in build_color_shaders()
58 nir_ssa_def *outvec = nir_gen_rect_vertices(&vs_b, NULL, NULL); in build_color_shaders()
59 nir_store_var(&vs_b, vs_out_pos, outvec, 0xf); in build_color_shaders()
63 nir_variable_create(vs_b.shader, nir_var_shader_out, layer_type, "v_layer"); in build_color_shaders()
66 nir_ssa_def *inst_id = nir_load_instance_id(&vs_b); in build_color_shaders()
67 nir_ssa_def *base_instance = nir_load_base_instance(&vs_b); in build_color_shaders()
69 nir_ssa_def *layer_id = nir_iadd(&vs_b, inst_id, base_instance); in build_color_shaders()
70 nir_store_var(&vs_b, vs_out_layer, layer_id, 0x1); in build_color_shaders()
72 *out_vs = vs_b in build_color_shaders()
391 nir_builder vs_b = radv_meta_init_shader( build_depthstencil_shader() local
[all...]

Completed in 2 milliseconds