Home
last modified time | relevance | path

Searched refs:VERT_ATTRIB_GENERIC0 (Results 1 – 25 of 39) sorted by relevance

12

/external/mesa3d/src/compiler/glsl/tests/
Dinvalidate_locations_test.cpp74 var->data.location = VERT_ATTRIB_GENERIC0; in TEST_F()
97 var->data.location = VERT_ATTRIB_GENERIC0; in TEST_F()
104 EXPECT_EQ(VERT_ATTRIB_GENERIC0, var->data.location); in TEST_F()
120 var->data.location = VERT_ATTRIB_GENERIC0; in TEST_F()
128 EXPECT_EQ(VERT_ATTRIB_GENERIC0, var->data.location); in TEST_F()
Dbuiltin_variable_test.cpp188 EXPECT_GT(VERT_ATTRIB_GENERIC0, var->data.location); in TEST_F()
/external/mesa3d/src/compiler/
Dshader_enums.h148 VERT_ATTRIB_GENERIC0, enumerator
189 #define VERT_ATTRIB_FF_MAX VERT_ATTRIB_GENERIC0
194 #define VERT_ATTRIB_GENERIC(i) (VERT_ATTRIB_GENERIC0 + (i))
224 #define VERT_BIT_GENERIC0 BITFIELD_BIT(VERT_ATTRIB_GENERIC0)
Dshader_enums.c136 ENUM(VERT_ATTRIB_GENERIC0), in gl_vert_attrib_name()
/external/mesa3d/src/mesa/main/
Darrayobj.h150 | ((enabled & VERT_BIT_POS) << VERT_ATTRIB_GENERIC0); in _mesa_vao_enable_to_vp_inputs()
154 | ((enabled & VERT_BIT_GENERIC0) >> VERT_ATTRIB_GENERIC0); in _mesa_vao_enable_to_vp_inputs()
Darrayobj.c87 VERT_ATTRIB_GENERIC0, /* VERT_ATTRIB_GENERIC0 */
153 VERT_ATTRIB_GENERIC0, /* VERT_ATTRIB_POS */
169 VERT_ATTRIB_GENERIC0, /* VERT_ATTRIB_GENERIC0 */
Dglthread_varray.c272 if (attrib == VERT_ATTRIB_GENERIC0 && vao->UserEnabled & VERT_BIT_POS) in _mesa_glthread_ClientState()
287 if (attrib == VERT_ATTRIB_GENERIC0 && vao->UserEnabled & VERT_BIT_POS) in _mesa_glthread_ClientState()
Dapi_arrayelt.c1455 func_arb(&array->Format)(attrib - VERT_ATTRIB_GENERIC0, src); in _mesa_array_element()
1460 const gl_vert_attrib attrib = VERT_ATTRIB_GENERIC0; in _mesa_array_element()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_vectorize_vs_inputs.c71 return (var->data.location >= VERT_ATTRIB_GENERIC0 && in r600_variable_can_rewrite()
136 return var->data.location - VERT_ATTRIB_GENERIC0; in r600_correct_location()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c302 if (idx >= VERT_ATTRIB_GENERIC0 && idx < VERT_ATTRIB_GENERIC0 + MAX_VERTEX_ATTRIBS) in gather_info_input_decl_vs()
306 unsigned attrib_index = var->data.location + i - VERT_ATTRIB_GENERIC0; in gather_info_input_decl_vs()
Dradv_shader.h43 #define RADV_VERT_ATTRIB_MAX MAX2(VERT_ATTRIB_MAX, VERT_ATTRIB_GENERIC0 + MAX_VERTEX_ATTRIBS)
/external/mesa3d/src/mesa/vbo/
Dvbo_save_loopback.c173 append_attr(&nr, la, VERT_ATTRIB_GENERIC0, 0, vao); in _vbo_loopback_vertex_list()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_drawtex.c70 return VERT_ATTRIB_GENERIC0; in semantic_to_vert_attrib()
Dst_cb_clear.c145 VERT_ATTRIB_GENERIC0, in make_nir_clear_vertex_shader()
/external/mesa3d/docs/relnotes/
D10.1.2.rst69 - mesa: Use location VERT_ATTRIB_GENERIC0 for vertex attribute 0
/external/mesa3d/src/mesa/tnl/
Dt_vb_program.c453 VB->AttribPtr[VERT_ATTRIB_GENERIC0+i] in run_vp()
/external/mesa3d/src/compiler/glsl/
Dgl_nir_linker.c329 loc_bias = (stage == MESA_SHADER_VERTEX) ? VERT_ATTRIB_GENERIC0 in add_vars_with_modes()
Dlinker.cpp2854 ? (int) VERT_ATTRIB_GENERIC0 : (int) FRAG_RESULT_DATA0; in assign_attribute_or_color_locations()
2910 assert(binding >= VERT_ATTRIB_GENERIC0); in assign_attribute_or_color_locations()
3925 loc_bias = (stage == MESA_SHADER_VERTEX) ? int(VERT_ATTRIB_GENERIC0) in add_interface_variables()
/external/mesa3d/src/intel/compiler/
Dbrw_compiler.h272 #define MAX_VK_VERT_ATTRIB (VERT_ATTRIB_GENERIC0 + 28)
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp854 if (slot >= VERT_ATTRIB_GENERIC0 && in vert_attrib_to_tgsi_semantic()
855 slot < VERT_ATTRIB_GENERIC0 + VERT_ATTRIB_GENERIC_MAX) { in vert_attrib_to_tgsi_semantic()
857 *index = slot - VERT_ATTRIB_GENERIC0; in vert_attrib_to_tgsi_semantic()
1042 if (slot >= VERT_ATTRIB_GENERIC0) in assignSlots()
1043 slot = VERT_ATTRIB_GENERIC0 + vary; in assignSlots()
/external/mesa3d/src/intel/vulkan/
DgenX_pipeline.c97 assert((inputs_read & ((1 << VERT_ATTRIB_GENERIC0) - 1)) == 0); in emit_vertex_input()
98 const uint32_t elements = inputs_read >> VERT_ATTRIB_GENERIC0; in emit_vertex_input()
99 const uint32_t elements_double = double_inputs_read >> VERT_ATTRIB_GENERIC0; in emit_vertex_input()
/external/mesa3d/src/mesa/program/
Dprogram_parse.y1036 $$ = VERT_ATTRIB_GENERIC0 + $3;
2242 if ((ff_inputs & (inputs >> VERT_ATTRIB_GENERIC0)) != 0) {
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c628 var->data.driver_location = var->data.location - VERT_ATTRIB_GENERIC0; in lvp_shader_compile_to_ir()
/external/mesa3d/src/compiler/nir/
Dnir_linking_helpers.c1112 base = VERT_ATTRIB_GENERIC0; in nir_assign_io_var_locations()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c1266 key->va_swap_rb_mask |= 1 << (VERT_ATTRIB_GENERIC0 + desc->location); in pipeline_populate_v3d_vs_key()
2948 uint32_t location = desc->location + VERT_ATTRIB_GENERIC0; in pipeline_init()

12