Home
last modified time | relevance | path

Searched refs:Uniforms (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/third_party/skia/tests/sksl/shared/
DOutParams.metal4 struct Uniforms {
14 void out_half_vh(Uniforms _uniforms, thread half& v);
15 void _skOutParamHelper0_out_half_vh(Uniforms _uniforms, thread half& h) {
20 void out_half2_vh2(Uniforms _uniforms, thread half2& v);
21 void _skOutParamHelper1_out_half2_vh2(Uniforms _uniforms, thread half2& h2) {
26 void out_half3_vh3(Uniforms _uniforms, thread half3& v);
27 void _skOutParamHelper2_out_half3_vh3(Uniforms _uniforms, thread half3& h3) {
32 void out_half4_vh4(Uniforms _uniforms, thread half4& v);
33 void _skOutParamHelper3_out_half4_vh4(Uniforms _uniforms, thread half4& h4) {
38 void out_half_vh(Uniforms _uniforms, thread half& v);
[all …]
DOutParamsNoInline.metal4 struct Uniforms {
14 void out_half_vh(Uniforms _uniforms, thread half& v);
15 void _skOutParamHelper0_out_half_vh(Uniforms _uniforms, thread half& h) {
20 void out_half2_vh2(Uniforms _uniforms, thread half2& v);
21 void _skOutParamHelper1_out_half2_vh2(Uniforms _uniforms, thread half2& h2) {
26 void out_half3_vh3(Uniforms _uniforms, thread half3& v);
27 void _skOutParamHelper2_out_half3_vh3(Uniforms _uniforms, thread half3& h3) {
32 void out_half4_vh4(Uniforms _uniforms, thread half4& v);
33 void _skOutParamHelper3_out_half4_vh4(Uniforms _uniforms, thread half4& h4) {
38 void out_half_vh(Uniforms _uniforms, thread half& v);
[all …]
DReturnsValueOnEveryPathES3.metal4 struct Uniforms {
14 bool inside_while_loop_b(Uniforms _uniforms) {
42 bool switch_with_all_returns_b(Uniforms _uniforms) {
52 bool switch_fallthrough_b(Uniforms _uniforms) {
61 bool switch_fallthrough_twice_b(Uniforms _uniforms) {
69 bool switch_with_break_in_loop_b(Uniforms _uniforms) {
79 bool switch_with_continue_in_loop_b(Uniforms _uniforms) {
89 bool switch_with_if_that_returns_b(Uniforms _uniforms) {
97 bool switch_with_one_sided_if_then_fallthrough_b(Uniforms _uniforms) {
105 fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], …
DCommaSideEffects.metal4 struct Uniforms {
15 void setToColorBlack_vh4(Uniforms _uniforms, thread half4& x);
16 void _skOutParamHelper0_setToColorBlack_vh4(Uniforms _uniforms, thread half4& d) {
21 void setToColorBlack_vh4(Uniforms _uniforms, thread half4& x) {
24 fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], …
DDeadReturn.metal4 struct Uniforms {
19 bool test_if_b(Uniforms _uniforms, thread Globals& _globals) {
28 bool test_else_b(Uniforms _uniforms) {
35 bool test_loop_if_b(Uniforms _uniforms, thread Globals& _globals) {
46 fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], …
DDeadReturnES3.metal4 struct Uniforms {
30 bool test_if_return_b(Uniforms _uniforms) {
41 bool test_if_break_b(Uniforms _uniforms) {
51 bool test_else_b(Uniforms _uniforms) {
69 fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], …
/third_party/skia/third_party/externals/tint/test/bug/tint/
D1046.wgsl.expected.spvasm16 OpName %Uniforms "Uniforms"
17 OpMemberName %Uniforms 0 "worldView"
18 OpMemberName %Uniforms 1 "proj"
19 OpMemberName %Uniforms 2 "numPointLights"
20 OpMemberName %Uniforms 3 "color_source"
21 OpMemberName %Uniforms 4 "color"
51 OpDecorate %Uniforms Block
52 OpMemberDecorate %Uniforms 0 Offset 0
53 OpMemberDecorate %Uniforms 0 ColMajor
54 OpMemberDecorate %Uniforms 0 MatrixStride 16
[all …]
D951.spvasm27 OpName %Uniforms "Uniforms"
28 OpMemberName %Uniforms 0 "NAN"
29 OpMemberName %Uniforms 1 "aShape"
30 OpMemberName %Uniforms 2 "outShape"
31 OpMemberName %Uniforms 3 "outShapeStrides"
32 OpMemberName %Uniforms 4 "size"
51 OpMemberDecorate %Uniforms 0 Offset 0
52 OpMemberDecorate %Uniforms 1 Offset 4
53 OpMemberDecorate %Uniforms 2 Offset 8
54 OpMemberDecorate %Uniforms 3 Offset 12
[all …]
D951.spvasm.expected.spvasm19 OpName %Uniforms "Uniforms"
20 OpMemberName %Uniforms 0 "NAN"
21 OpMemberName %Uniforms 1 "aShape"
22 OpMemberName %Uniforms 2 "outShape"
23 OpMemberName %Uniforms 3 "outShapeStrides"
24 OpMemberName %Uniforms 4 "size"
52 OpDecorate %Uniforms Block
53 OpMemberDecorate %Uniforms 0 Offset 0
54 OpMemberDecorate %Uniforms 1 Offset 4
55 OpMemberDecorate %Uniforms 2 Offset 8
[all …]
D744.wgsl.expected.spvasm16 OpName %Uniforms "Uniforms"
17 OpMemberName %Uniforms 0 "aShape"
18 OpMemberName %Uniforms 1 "bShape"
19 OpMemberName %Uniforms 2 "outShape"
39 OpDecorate %Uniforms Block
40 OpMemberDecorate %Uniforms 0 Offset 0
41 OpMemberDecorate %Uniforms 1 Offset 8
42 OpMemberDecorate %Uniforms 2 Offset 16
57 %Uniforms = OpTypeStruct %v2uint %v2uint %v2uint
58 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
D913.wgsl.expected.spvasm18 OpName %Uniforms "Uniforms"
19 OpMemberName %Uniforms 0 "dstTextureFlipY"
20 OpMemberName %Uniforms 1 "channelCount"
21 OpMemberName %Uniforms 2 "srcCopyOrigin"
22 OpMemberName %Uniforms 3 "dstCopyOrigin"
23 OpMemberName %Uniforms 4 "copySize"
43 OpDecorate %Uniforms Block
44 OpMemberDecorate %Uniforms 0 Offset 0
45 OpMemberDecorate %Uniforms 1 Offset 4
46 OpMemberDecorate %Uniforms 2 Offset 8
[all …]
D977.spvasm30 OpName %Uniforms "Uniforms"
31 OpMemberName %Uniforms 0 "NAN"
32 OpMemberName %Uniforms 1 "sizeA"
33 OpMemberName %Uniforms 2 "sizeB"
53 OpMemberDecorate %Uniforms 0 Offset 0
54 OpMemberDecorate %Uniforms 1 Offset 4
55 OpMemberDecorate %Uniforms 2 Offset 8
56 OpDecorate %Uniforms Block
93 %Uniforms = OpTypeStruct %float %int %int
94 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
D534.wgsl.expected.spvasm17 OpName %Uniforms "Uniforms"
18 OpMemberName %Uniforms 0 "dstTextureFlipY"
19 OpMemberName %Uniforms 1 "isFloat16"
20 OpMemberName %Uniforms 2 "isRGB10A2Unorm"
21 OpMemberName %Uniforms 3 "channelCount"
48 OpDecorate %Uniforms Block
49 OpMemberDecorate %Uniforms 0 Offset 0
50 OpMemberDecorate %Uniforms 1 Offset 4
51 OpMemberDecorate %Uniforms 2 Offset 8
52 OpMemberDecorate %Uniforms 3 Offset 12
[all …]
D977.spvasm.expected.spvasm22 OpName %Uniforms "Uniforms"
23 OpMemberName %Uniforms 0 "NAN"
24 OpMemberName %Uniforms 1 "sizeA"
25 OpMemberName %Uniforms 2 "sizeB"
55 OpDecorate %Uniforms Block
56 OpMemberDecorate %Uniforms 0 Offset 0
57 OpMemberDecorate %Uniforms 1 Offset 4
58 OpMemberDecorate %Uniforms 2 Offset 8
81 %Uniforms = OpTypeStruct %float %int %int
82 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
/third_party/skia/third_party/externals/tint/test/bug/fxc/matrix_assignment_dynamic_index/
Dlocal_assign_scalar_x.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dmodule_assign_vector.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dmodule_assign_scalar_xy.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dmodule_assign_scalar_x.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dlocal_assign_vector.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dmodule_assign_scalar_y.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dlocal_assign_scalar_y.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
Dlocal_assign_scalar_xy.wgsl.expected.spvasm10 OpName %Uniforms "Uniforms"
11 OpMemberName %Uniforms 0 "i"
12 OpMemberName %Uniforms 1 "j"
16 OpDecorate %Uniforms Block
17 OpMemberDecorate %Uniforms 0 Offset 0
18 OpMemberDecorate %Uniforms 1 Offset 4
23 %Uniforms = OpTypeStruct %uint %uint
24 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
/third_party/skia/third_party/externals/tint/test/samples/
Dcube.wgsl.expected.spvasm18 OpName %Uniforms "Uniforms"
19 OpMemberName %Uniforms 0 "modelViewProjectionMatrix"
41 OpDecorate %Uniforms Block
42 OpMemberDecorate %Uniforms 0 Offset 0
43 OpMemberDecorate %Uniforms 0 ColMajor
44 OpMemberDecorate %Uniforms 0 MatrixStride 16
67 %Uniforms = OpTypeStruct %mat4v4float
68 %_ptr_Uniform_Uniforms = OpTypePointer Uniform %Uniforms
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c150 if (a->Uniforms[i].Type != b->Uniforms[i].Type) in link_blocks_are_compatible()
153 if (a->Uniforms[i].RowMajor != b->Uniforms[i].RowMajor) in link_blocks_are_compatible()
156 if (a->Uniforms[i].Offset != b->Uniforms[i].Offset) in link_blocks_are_compatible()
160 assert(a->Uniforms[i].Name == NULL); in link_blocks_are_compatible()
161 assert(b->Uniforms[i].Name == NULL); in link_blocks_are_compatible()
197 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()
201 memcpy(linked_block->Uniforms, in link_cross_validate_uniform_block()
202 new_block->Uniforms, in link_cross_validate_uniform_block()
203 sizeof(*linked_block->Uniforms) * linked_block->NumUniforms); in link_cross_validate_uniform_block()
480 block->Uniforms = &variables[*variable_index]; in fill_block()
Dlink_uniform_blocks.cpp283 blocks[i].Uniforms = &variables[(*parcel).index]; in process_block_array_leaf()
313 (unsigned)(ptrdiff_t)(&variables[parcel->index] - blocks[i].Uniforms); in process_block_array_leaf()
513 if (strcmp(a->Uniforms[i].Name, b->Uniforms[i].Name) != 0) in link_uniform_blocks_are_compatible()
516 if (a->Uniforms[i].Type != b->Uniforms[i].Type) in link_uniform_blocks_are_compatible()
519 if (a->Uniforms[i].RowMajor != b->Uniforms[i].RowMajor) in link_uniform_blocks_are_compatible()
553 linked_block->Uniforms = ralloc_array(*linked_blocks, in link_cross_validate_uniform_block()
557 memcpy(linked_block->Uniforms, in link_cross_validate_uniform_block()
558 new_block->Uniforms, in link_cross_validate_uniform_block()
559 sizeof(*linked_block->Uniforms) * linked_block->NumUniforms); in link_cross_validate_uniform_block()
566 &linked_block->Uniforms[i]; in link_cross_validate_uniform_block()

12345678910>>...17