Lines Matching refs:at
72 return layer->custom_dispatch_functions.at(name);
131 // Add function_count strings to the func_names vector, starting at function_start place. Essentially a utility for filling
149 function_list.push_back(VulkanFunction{func_names.at(i++), to_vkVoidFunction(funcs.func_zero)});
150 function_list.push_back(VulkanFunction{func_names.at(i++), to_vkVoidFunction(funcs.func_one)});
151 function_list.push_back(VulkanFunction{func_names.at(i++), to_vkVoidFunction(funcs.func_two)});
152 function_list.push_back(VulkanFunction{func_names.at(i++), to_vkVoidFunction(funcs.func_three)});
153 function_list.push_back(VulkanFunction{func_names.at(i++), to_vkVoidFunction(funcs.func_four)});
163 layer.add_custom_device_interception_function(func_names.at(i++), to_vkVoidFunction(funcs.func_zero));
164 layer.add_custom_device_interception_function(func_names.at(i++), to_vkVoidFunction(funcs.func_one));
165 layer.add_custom_device_interception_function(func_names.at(i++), to_vkVoidFunction(funcs.func_two));
166 layer.add_custom_device_interception_function(func_names.at(i++), to_vkVoidFunction(funcs.func_three));
167 layer.add_custom_device_interception_function(func_names.at(i++), to_vkVoidFunction(funcs.func_four));
176 layer.add_custom_physical_device_intercept_function(func_names.at(i++), to_vkVoidFunction(funcs.func_zero));
177 layer.add_custom_physical_device_intercept_function(func_names.at(i++), to_vkVoidFunction(funcs.func_one));
178 layer.add_custom_physical_device_intercept_function(func_names.at(i++), to_vkVoidFunction(funcs.func_two));
179 layer.add_custom_physical_device_intercept_function(func_names.at(i++), to_vkVoidFunction(funcs.func_three));
180 layer.add_custom_physical_device_intercept_function(func_names.at(i++), to_vkVoidFunction(funcs.func_four));
188 decltype(FunctionStruct::func_zero)* returned_func_i = loader.load(parent, func_names.at(i++).c_str());
192 decltype(FunctionStruct::func_one)* returned_func_ii = loader.load(parent, func_names.at(i++).c_str());
196 decltype(FunctionStruct::func_two)* returned_func_iif = loader.load(parent, func_names.at(i++).c_str());
202 decltype(FunctionStruct::func_three)* returned_func_pp = loader.load(parent, func_names.at(i++).c_str());
208 decltype(FunctionStruct::func_four)* returned_func_ppiiffccc = loader.load(parent, func_names.at(i++).c_str());
220 decltype(FunctionStruct::func_zero)* returned_func_i = loader.load(parent, func_names.at(i).c_str());
222 EXPECT_EQ(returned_func_i(handle, &layer, func_names.at(i).c_str(), i), (i + 3) * 3);
224 decltype(FunctionStruct::func_one)* returned_func_if = loader.load(parent, func_names.at(i).c_str());
226 EXPECT_EQ(returned_func_if(handle, &layer, func_names.at(i).c_str(), i, i + 1.f), (i + 2) * 3 + (i + 2) * 10);
229 decltype(FunctionStruct::func_two)* returned_func_iif = loader.load(parent, func_names.at(i).c_str());
231 EXPECT_NEAR(returned_func_iif(handle, &layer, func_names.at(i).c_str(), i * 10, i * 5, 0.1234f),
237 decltype(FunctionStruct::func_three)* returned_func_pp = loader.load(parent, func_names.at(i).c_str());
239 EXPECT_EQ(returned_func_pp(handle, &layer, func_names.at(i).c_str(), &x, &y),
245 decltype(FunctionStruct::func_four)* returned_func_ppiiffccc = loader.load(parent, func_names.at(i).c_str());
248 returned_func_ppiiffccc(handle, &layer, func_names.at(i).c_str(), &x, &y, 200, 300, 0.123f, 1001.89f, 'a', 'b', 'c'),
260 decltype(FunctionStruct::func_zero)* returned_func_i = loader.load(parent, func_names.at(i).c_str());
262 EXPECT_EQ(1337U, returned_func_i(handle, &layer, func_names.at(i).c_str(), i));
264 decltype(FunctionStruct::func_one)* returned_func_if = loader.load(parent, func_names.at(i).c_str());
266 EXPECT_EQ(1337U, returned_func_if(handle, &layer, func_names.at(i).c_str(), i, i + 1.f));
269 decltype(FunctionStruct::func_two)* returned_func_iif = loader.load(parent, func_names.at(i).c_str());
271 EXPECT_NEAR(-1337.0, returned_func_iif(handle, &layer, func_names.at(i).c_str(), i * 10, i * 5, 0.1234f), 0.001);
276 decltype(FunctionStruct::func_three)* returned_func_pp = loader.load(parent, func_names.at(i).c_str());
278 EXPECT_EQ(-1337, returned_func_pp(handle, &layer, func_names.at(i).c_str(), &x, &y));
283 decltype(FunctionStruct::func_four)* returned_func_ppiiffccc = loader.load(parent, func_names.at(i).c_str());
287 returned_func_ppiiffccc(handle, &layer, func_names.at(i).c_str(), &x, &y, 200, 300, 0.123f, 1001.89f, 'a', 'b', 'c'),
298 decltype(FunctionStruct::func_zero)* returned_func_i = loader.load(parent, func_names.at(i).c_str());
300 EXPECT_EQ(returned_func_i(handle, &layer, func_names.at(i).c_str(), i), (i)*3);
302 decltype(FunctionStruct::func_one)* returned_func_if = loader.load(parent, func_names.at(i).c_str());
304 EXPECT_EQ(returned_func_if(handle, &layer, func_names.at(i).c_str(), i, i + 1.f), (i)*3 + (i + 1) * 10);
307 decltype(FunctionStruct::func_two)* returned_func_iif = loader.load(parent, func_names.at(i).c_str());
309 EXPECT_NEAR(returned_func_iif(handle, &layer, func_names.at(i).c_str(), i * 10, i * 5, 0.1234f),
315 decltype(FunctionStruct::func_three)* returned_func_pp = loader.load(parent, func_names.at(i).c_str());
317 EXPECT_EQ(returned_func_pp(handle, &layer, func_names.at(i).c_str(), &x, &y),
323 decltype(FunctionStruct::func_four)* returned_func_ppiiffccc = loader.load(parent, func_names.at(i).c_str());
326 returned_func_ppiiffccc(handle, &layer, func_names.at(i).c_str(), &x, &y, 200, 300, 0.123f, 1001.89f, 'a', 'b', 'c'),
343 fill_implementation_functions(driver.physical_devices.at(0).custom_physical_device_functions, function_names,
366 fill_implementation_functions(driver_0.physical_devices.at(0).custom_physical_device_functions, function_names,
368 fill_implementation_functions(driver_1.physical_devices.at(0).custom_physical_device_functions, function_names,
405 driver_0.physical_devices.at(0).custom_physical_device_functions.push_back(
419 env.vulkan_functions.load(inst.inst, function_names.at(0).c_str());
460 fill_implementation_functions(driver_0.physical_devices.at(0).custom_physical_device_functions, function_names,
462 fill_implementation_functions(driver_1.physical_devices.at(0).custom_physical_device_functions, function_names,
522 fill_implementation_functions(driver.physical_devices.at(0).custom_physical_device_functions, function_names,
563 fill_implementation_functions(driver.physical_devices.at(0).custom_physical_device_functions, function_names,
785 static variable storage. Thus interception functions that are templated correctly have per-template static data storage at their
974 EXPECT_EQ(props.at(i).specVersion, i);
977 EXPECT_EQ(props.at(i).specVersion, 1234 + i * 2); // interception should do this
1161 Functions::zero::physical_device::add_to_driver(unknown_funcs.at(0), physical_device);
1163 Functions::one::physical_device::add_to_driver(unknown_funcs.at(1), physical_device);
1164 Functions::one::physical_device::add_to_layer(unknown_funcs.at(1), layer_0, D<0>{});
1166 Functions::two::physical_device::add_to_driver(unknown_funcs.at(2), physical_device);
1167 Functions::two::physical_device::add_to_layer(unknown_funcs.at(2), layer_1, D<1>{});
1169 Functions::three::physical_device::add_to_driver(unknown_funcs.at(3), physical_device);
1170 Functions::three::physical_device::add_to_layer(unknown_funcs.at(3), layer_0, D<2>{});
1171 Functions::three::physical_device::add_to_layer(unknown_funcs.at(3), layer_1, D<3>{});
1173 Functions::four::physical_device::add_implementation_to_layer(unknown_funcs.at(4), layer_0);
1174 Functions::four::physical_device::add_to_layer(unknown_funcs.at(4), layer_1, D<4>{});
1176 Functions::zero::physical_device::add_to_layer(unknown_funcs.at(5), layer_0, D<5>{});
1177 Functions::zero::physical_device::add_implementation_to_layer(unknown_funcs.at(5), layer_1);
1179 Functions::two::physical_device::add_to_driver(unknown_funcs.at(12), physical_device);
1180 Functions::zero::physical_device::add_to_layer(unknown_funcs.at(12), layer_0, D<12>{});
1181 Functions::zero::physical_device::add_implementation_to_layer(unknown_funcs.at(12), layer_1);
1184 Functions::one::device::add_to_driver(unknown_funcs.at(6), physical_device);
1186 Functions::two::device::add_to_driver(unknown_funcs.at(7), physical_device);
1187 Functions::two::device::add_to_layer(unknown_funcs.at(7), layer_0, D<6>{});
1189 Functions::three::device::add_to_driver(unknown_funcs.at(8), physical_device);
1190 Functions::three::device::add_to_layer(unknown_funcs.at(8), layer_1, D<7>{});
1192 Functions::four::device::add_to_driver(unknown_funcs.at(9), physical_device);
1193 Functions::four::device::add_to_layer(unknown_funcs.at(9), layer_0, D<8>{});
1194 Functions::four::device::add_to_layer(unknown_funcs.at(9), layer_1, D<9>{});
1196 Functions::zero::device::add_implementation_to_layer(unknown_funcs.at(10), layer_0);
1197 Functions::zero::device::add_to_layer(unknown_funcs.at(10), layer_1, D<10>{});
1199 Functions::one::device::add_to_layer(unknown_funcs.at(11), layer_0, D<11>{});
1200 Functions::one::device::add_implementation_to_layer(unknown_funcs.at(11), layer_1);
1210 unknown_funcs.at(0).check<Functions::zero::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1211 unknown_funcs.at(1).check<Functions::one::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1212 unknown_funcs.at(2).check<Functions::two::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1213 unknown_funcs.at(3).check<Functions::three::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1214 unknown_funcs.at(4).check<Functions::four::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1215 unknown_funcs.at(5).check<Functions::zero::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1218 unknown_funcs.at(6).check<Functions::one::device>(env.vulkan_functions, inst.inst, dev.dev);
1219 unknown_funcs.at(7).check<Functions::two::device>(env.vulkan_functions, inst.inst, dev.dev);
1220 unknown_funcs.at(8).check<Functions::three::device>(env.vulkan_functions, inst.inst, dev.dev);
1221 unknown_funcs.at(9).check<Functions::four::device>(env.vulkan_functions, inst.inst, dev.dev);
1222 unknown_funcs.at(10).check<Functions::zero::device>(env.vulkan_functions, inst.inst, dev.dev);
1223 unknown_funcs.at(11).check<Functions::one::device>(env.vulkan_functions, inst.inst, dev.dev);
1226 unknown_funcs.at(6).check<Functions::one::device>(env.vulkan_functions, dev.dev, dev.dev);
1227 unknown_funcs.at(7).check<Functions::two::device>(env.vulkan_functions, dev.dev, dev.dev);
1228 unknown_funcs.at(8).check<Functions::three::device>(env.vulkan_functions, dev.dev, dev.dev);
1229 unknown_funcs.at(9).check<Functions::four::device>(env.vulkan_functions, dev.dev, dev.dev);
1230 unknown_funcs.at(10).check<Functions::zero::device>(env.vulkan_functions, dev.dev, dev.dev);
1231 unknown_funcs.at(11).check<Functions::one::device>(env.vulkan_functions, dev.dev, dev.dev);
1243 unknown_funcs.at(6).check<Functions::one::device>(env.vulkan_functions, inst.inst, dev.dev);
1244 unknown_funcs.at(7).check<Functions::two::device>(env.vulkan_functions, inst.inst, dev.dev);
1245 unknown_funcs.at(8).check<Functions::three::device>(env.vulkan_functions, inst.inst, dev.dev);
1246 unknown_funcs.at(9).check<Functions::four::device>(env.vulkan_functions, inst.inst, dev.dev);
1247 unknown_funcs.at(10).check<Functions::zero::device>(env.vulkan_functions, inst.inst, dev.dev);
1248 unknown_funcs.at(11).check<Functions::one::device>(env.vulkan_functions, inst.inst, dev.dev);
1251 unknown_funcs.at(6).check<Functions::one::device>(env.vulkan_functions, dev.dev, dev.dev);
1252 unknown_funcs.at(7).check<Functions::two::device>(env.vulkan_functions, dev.dev, dev.dev);
1253 unknown_funcs.at(8).check<Functions::three::device>(env.vulkan_functions, dev.dev, dev.dev);
1254 unknown_funcs.at(9).check<Functions::four::device>(env.vulkan_functions, dev.dev, dev.dev);
1255 unknown_funcs.at(10).check<Functions::zero::device>(env.vulkan_functions, dev.dev, dev.dev);
1256 unknown_funcs.at(11).check<Functions::one::device>(env.vulkan_functions, dev.dev, dev.dev);
1258 unknown_funcs.at(0).check<Functions::zero::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1259 unknown_funcs.at(1).check<Functions::one::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1260 unknown_funcs.at(2).check<Functions::two::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1261 unknown_funcs.at(3).check<Functions::three::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1262 unknown_funcs.at(4).check<Functions::four::physical_device>(env.vulkan_functions, inst.inst, phys_dev);
1263 unknown_funcs.at(5).check<Functions::zero::physical_device>(env.vulkan_functions, inst.inst, phys_dev);