Home
last modified time | relevance | path

Searched refs:vertex_index (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/tint/test/shader_io/
Dvertex_input_builtins_struct.wgsl.expected.msl5 uint vertex_index;
13 uint const foo = (inputs.vertex_index + inputs.instance_index);
17 vertex tint_symbol_1 tint_symbol(uint vertex_index [[vertex_id]], uint instance_index [[instance_id…
18 VertexInputs const tint_symbol_2 = {.vertex_index=vertex_index, .instance_index=instance_index};
Dvertex_input_builtins.wgsl.expected.glsl5 uint vertex_index;
12 vec4 tint_symbol_inner(uint vertex_index, uint instance_index) {
13 uint foo = (vertex_index + instance_index);
18 vec4 inner_result = tint_symbol_inner(tint_symbol_1.vertex_index, tint_symbol_1.instance_index);
25 inputs.vertex_index = uint(gl_VertexID);
Dvertex_input_builtins_struct.wgsl.expected.glsl5 uint vertex_index;
9 uint vertex_index;
17 uint foo = (inputs.vertex_index + inputs.instance_index);
22 …VertexInputs tint_symbol_4 = VertexInputs(tint_symbol_1.vertex_index, tint_symbol_1.instance_index…
30 inputs.vertex_index = uint(gl_VertexID);
Dvertex_input_mixed.wgsl.expected.msl5 uint vertex_index;
23 uint const foo = (inputs0.vertex_index + instance_index);
31 vertex tint_symbol_3 tint_symbol(uint vertex_index [[vertex_id]], uint instance_index [[instance_id…
32 VertexInputs0 const tint_symbol_4 = {.vertex_index=vertex_index, .loc0=tint_symbol_1.loc0};
Dvertex_input_builtins.wgsl.expected.msl8 float4 tint_symbol_inner(uint vertex_index, uint instance_index) {
9 uint const foo = (vertex_index + instance_index);
13 vertex tint_symbol_1 tint_symbol(uint vertex_index [[vertex_id]], uint instance_index [[instance_id…
14 float4 const inner_result = tint_symbol_inner(vertex_index, instance_index);
Dvertex_input_builtins.wgsl.expected.hlsl2 uint vertex_index : SV_VertexID;
9 float4 main_inner(uint vertex_index, uint instance_index) {
10 const uint foo = (vertex_index + instance_index);
15 const float4 inner_result = main_inner(tint_symbol.vertex_index, tint_symbol.instance_index);
Dvertex_input_mixed.wgsl.expected.glsl5 uint vertex_index;
17 uint vertex_index;
25 uint foo = (inputs0.vertex_index + instance_index);
34 VertexInputs0 tint_symbol_4 = VertexInputs0(tint_symbol_1.vertex_index, tint_symbol_1.loc0);
51 inputs.vertex_index = uint(gl_VertexID);
Dvertex_input_builtins_struct.wgsl.expected.hlsl2 uint vertex_index;
6 uint vertex_index : SV_VertexID;
14 const uint foo = (inputs.vertex_index + inputs.instance_index);
19 const VertexInputs tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.instance_index};
Dvertex_input_mixed.wgsl.expected.hlsl2 uint vertex_index;
14 uint vertex_index : SV_VertexID;
22 const uint foo = (inputs0.vertex_index + instance_index);
31 const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
Dvertex_input_builtins.wgsl.expected.wgsl2 fn main([[builtin(vertex_index)]] vertex_index : u32, [[builtin(instance_index)]] instance_index : …
3 let foo : u32 = (vertex_index + instance_index);
Dvertex_input_builtins.wgsl3 [[builtin(vertex_index)]] vertex_index : u32,
6 let foo : u32 = vertex_index + instance_index;
Dvertex_input_builtins.wgsl.expected.spvasm14 OpName %vertex_index "vertex_index"
38 %vertex_index = OpFunctionParameter %uint
41 %18 = OpIAdd %uint %vertex_index %instance_index
Dvertex_input_builtins_struct.wgsl2 [[builtin(vertex_index)]] vertex_index : u32;
8 let foo : u32 = inputs.vertex_index + inputs.instance_index;
Dvertex_input_builtins_struct.wgsl.expected.wgsl2 [[builtin(vertex_index)]]
3 vertex_index : u32;
10 let foo : u32 = (inputs.vertex_index + inputs.instance_index);
Dvertex_input_mixed.wgsl.expected.wgsl2 [[builtin(vertex_index)]]
3 vertex_index : u32;
17 let foo : u32 = (inputs0.vertex_index + instance_index);
Dvertex_input_mixed.wgsl2 [[builtin(vertex_index)]] vertex_index : u32;
17 let foo : u32 = inputs0.vertex_index + instance_index;
/third_party/skia/third_party/externals/tint/test/bug/chromium/
D1251009.wgsl.expected.msl5 uint vertex_index;
23 uint const foo = (inputs0.vertex_index + instance_index);
27 vertex tint_symbol_3 tint_symbol(uint vertex_index [[vertex_id]], uint instance_index [[instance_id…
28 VertexInputs0 const tint_symbol_4 = {.vertex_index=vertex_index, .loc0=tint_symbol_1.loc0};
D1251009.wgsl.expected.glsl5 uint vertex_index;
17 uint vertex_index;
25 uint foo = (inputs0.vertex_index + instance_index);
30 VertexInputs0 tint_symbol_4 = VertexInputs0(tint_symbol_1.vertex_index, tint_symbol_1.loc0);
47 inputs.vertex_index = uint(gl_VertexID);
D1251009.wgsl.expected.hlsl2 uint vertex_index;
14 uint vertex_index : SV_VertexID;
22 const uint foo = (inputs0.vertex_index + instance_index);
27 const VertexInputs0 tint_symbol_3 = {tint_symbol.vertex_index, tint_symbol.loc0};
D1251009.wgsl2 [[builtin(vertex_index)]] vertex_index : u32;
17 let foo : u32 = inputs0.vertex_index + instance_index;
D1251009.wgsl.expected.wgsl2 [[builtin(vertex_index)]]
3 vertex_index : u32;
17 let foo : u32 = (inputs0.vertex_index + instance_index);
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_packed_varyings.c264 unsigned slot, unsigned vertex_index) in create_or_update_packed_varying() argument
315 if (state->gs_input_vertices == 0 || vertex_index == 0) { in create_or_update_packed_varying()
331 const char *name, unsigned vertex_index) in get_packed_varying_deref() argument
337 vertex_index); in get_packed_varying_deref()
348 c_idx->value[0].u32 = vertex_index; in get_packed_varying_deref()
601 const char *name, bool gs_input_toplevel, unsigned vertex_index);
622 const char *name, bool gs_input_toplevel, unsigned vertex_index) in lower_arraylike() argument
653 subscripted_name, false, vertex_index); in lower_arraylike()
686 const char *name, bool gs_input_toplevel, unsigned vertex_index) in lower_varying() argument
708 false, vertex_index); in lower_varying()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h432 LLVMValueRef vertex_index,
462 LLVMValueRef vertex_index,
473 LLVMValueRef vertex_index,
482 LLVMValueRef vertex_index,
495 LLVMValueRef vertex_index,
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_esgs_io_to_mem.c186 gs_get_vertex_offset(nir_builder *b, lower_esgs_io_state *st, unsigned vertex_index) in gs_get_vertex_offset() argument
188 nir_ssa_def *origin = nir_build_load_gs_vertex_offset_amd(b, .base = vertex_index); in gs_get_vertex_offset()
195 fixed_index = (vertex_index + 4) % 6; in gs_get_vertex_offset()
200 fixed_index = (vertex_index + 2) % 3; in gs_get_vertex_offset()
/third_party/mesa3d/src/amd/llvm/
Dac_shader_abi.h66 unsigned num_components, unsigned vertex_index,
70 LLVMValueRef vertex_index, LLVMValueRef param_index,

123