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

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_vector_insert.cpp38 factory.instructions = &factory_instructions;
49 ir_factory factory; member in class:__anon64761aa70110::vector_insert_visitor
69 factory.mem_ctx = ralloc_parent(expr);
72 expr->operands[2]->constant_expression_value(factory.mem_ctx);
98 factory.make_temp(expr->operands[0]->type, "vec_tmp");
102 factory.emit(assign(temp, expr->operands[0]));
103 factory.emit(assign(temp, expr->operands[1], mask));
106 *rv = new(factory.mem_ctx) ir_dereference_variable(temp);
122 factory.make_temp(expr->operands[0]->type, "vec_tmp");
125 factory
[all...]
H A Dlower_packing_builtins.cpp46 factory.instructions = &factory_instructions;
74 ralloc_steal(factory.mem_ctx, op0);
121 ir_factory factory; member in class:__anonc73dd4060110::lower_packing_builtins_visitor
179 assert(factory.mem_ctx == NULL);
180 assert(factory.instructions->is_empty());
182 factory.mem_ctx = mem_ctx;
188 base_ir->insert_before(factory.instructions);
189 assert(factory.instructions->is_empty());
190 factory.mem_ctx = NULL;
197 return factory
[all...]
H A Dlower_vector_derefs.cpp37 factory(&factory_instructions, mem_ctx)
51 ir_factory factory; member in class:__anon2f8f770b0110::vector_deref_visitor
92 factory.make_temp(ir->rhs->type, "scalar_tmp");
97 ir->insert_before(factory.instructions);
101 factory.make_temp(deref->array_index->type, "index_tmp");
102 factory.emit(assign(arr_index, deref->array_index));
106 ir_constant::zero(factory.mem_ctx, deref->array_index->type);
109 ir_rvalue *const lhs_clone = new_lhs->clone(factory.mem_ctx, NULL);
120 factory.emit(cond_assign);
126 factory
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_vector_insert.cpp37 factory.instructions = &factory_instructions;
47 ir_factory factory; member in class:__anonbf8d30740110::vector_insert_visitor
66 factory.mem_ctx = ralloc_parent(expr);
69 expr->operands[2]->constant_expression_value(factory.mem_ctx);
80 factory.make_temp(expr->operands[0]->type, "vec_tmp");
84 factory.emit(assign(temp, expr->operands[0]));
85 factory.emit(assign(temp, expr->operands[1], mask));
88 *rv = new(factory.mem_ctx) ir_dereference_variable(temp);
104 factory.make_temp(expr->operands[0]->type, "vec_tmp");
107 factory
[all...]
H A Dlower_packing_builtins.cpp46 factory.instructions = &factory_instructions;
74 ralloc_steal(factory.mem_ctx, op0);
121 ir_factory factory; member in class:__anoneae932b30110::lower_packing_builtins_visitor
179 assert(factory.mem_ctx == NULL);
180 assert(factory.instructions->is_empty());
182 factory.mem_ctx = mem_ctx;
188 base_ir->insert_before(factory.instructions);
189 assert(factory.instructions->is_empty());
190 factory.mem_ctx = NULL;
197 return factory
[all...]
H A Dlower_vector_derefs.cpp37 factory(&factory_instructions, mem_ctx)
51 ir_factory factory; member in class:__anon8aa68cd80110::vector_deref_visitor
92 factory.make_temp(ir->rhs->type, "scalar_tmp");
97 ir->insert_before(factory.instructions);
101 factory.make_temp(deref->array_index->type, "index_tmp");
102 factory.emit(assign(arr_index, deref->array_index));
106 ir_constant::zero(factory.mem_ctx, deref->array_index->type);
109 ir_rvalue *const lhs_clone = new_lhs->clone(factory.mem_ctx, NULL);
120 factory.emit(cond_assign);
126 factory
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_dxgi_screen.cpp63 IDXGIFactory4 *factory = NULL; local in function:get_dxgi_factory
64 HRESULT hr = CreateDXGIFactory2(flags, IID_IDXGIFactory4, (void **)&factory);
70 return factory;
74 choose_dxgi_adapter(IDXGIFactory4 *factory, LUID *adapter) argument
78 if (SUCCEEDED(factory->EnumAdapterByLuid(*adapter,
86 if (SUCCEEDED(factory->EnumWarpAdapter(IID_PPV_ARGS(&ret))))
93 if (SUCCEEDED(factory->EnumAdapters1(0, &ret)))
118 screen->factory = get_dxgi_factory();
119 if (!screen->factory) {
124 screen->adapter = choose_dxgi_adapter(screen->factory, adapter_lui
[all...]
H A Dd3d12_dxcore_screen.cpp52 IDXCoreAdapterFactory *factory = NULL; local in function:get_dxcore_factory
53 HRESULT hr = DXCoreCreateAdapterFactory(IID_IDXCoreAdapterFactory, (void **)&factory);
59 return factory;
63 choose_dxcore_adapter(IDXCoreAdapterFactory *factory, LUID *adapter_luid) argument
67 if (SUCCEEDED(factory->GetAdapterByLuid(*adapter_luid, &adapter)))
73 if (SUCCEEDED(factory->CreateAdapterList(1, &DXCORE_ADAPTER_ATTRIBUTE_D3D12_GRAPHICS, &list))) {
140 screen->factory = get_dxcore_factory();
141 if (!screen->factory) {
146 screen->adapter = choose_dxcore_adapter(screen->factory, adapter_luid);
H A Dd3d12_screen.h102 struct IDXGIFactory4 *factory; member in struct:d3d12_dxgi_screen
116 struct IDXCoreAdapterFactory *factory; member in struct:d3d12_dxcore_screen
/xsrc/external/mit/MesaLib/dist/bin/pick/
H A Dui.py113 commit_list: typing.List['urwid.Button'] = attr.ib(factory=lambda: urwid.SimpleFocusListWalker([]), init=False)
114 feedback_box: typing.List['urwid.Text'] = attr.ib(factory=lambda: urwid.SimpleFocusListWalker([]), init=False)
115 header: 'urwid.Text' = attr.ib(factory=lambda: urwid.Text('Mesa Stable Picker', align='center'), init=False)
121 previous_commits: typing.List['core.Commit'] = attr.ib(factory=list, init=False)
122 new_commits: typing.List['core.Commit'] = attr.ib(factory=list, init=False)
123 git_lock: asyncio.Lock = attr.ib(factory=asyncio.Lock, init=False)
/xsrc/external/mit/MesaLib.old/dist/src/mapi/glapi/gen/
H A Dgl_XML.py38 def parse_GL_API( file_name, factory = None ):
40 if not factory:
41 factory = gl_item_factory()
43 api = factory.create_api()
713 param = self.context.factory.create_parameter(child, self.context)
841 def __init__(self, factory):
849 self.factory = factory
900 func = self.factory.create_function( child, self )
908 enum = self.factory
[all...]
/xsrc/external/mit/MesaLib/dist/src/mapi/glapi/gen/
H A Dgl_XML.py36 def parse_GL_API( file_name, factory = None ):
38 if not factory:
39 factory = gl_item_factory()
41 api = factory.create_api()
727 param = self.context.factory.create_parameter(child, self.context)
855 def __init__(self, factory):
863 self.factory = factory
914 func = self.factory.create_function( child, self )
922 enum = self.factory
[all...]
/xsrc/external/mit/MesaLib/dist/src/microsoft/clc/
H A Dcompute_test.cpp122 IDXGIFactory4 *factory = NULL; local in function:ComputeTest::get_dxgi_factory
123 HRESULT hr = CreateDXGIFactory(IID_IDXGIFactory4, (void **)&factory);
127 return factory;
131 ComputeTest::choose_adapter(IDXGIFactory4 *factory) argument
136 for (unsigned i = 0; SUCCEEDED(factory->EnumAdapters1(i, &ret)); i++) {
144 if (FAILED(factory->EnumWarpAdapter(__uuidof(IDXGIAdapter1),
653 factory = get_dxgi_factory();
654 if (!factory)
655 throw runtime_error("failed to create DXGI factory");
657 adapter = choose_adapter(factory);
[all...]
H A Dcompute_test.h67 choose_adapter(IDXGIFactory4 *factory);
339 IDXGIFactory4 *factory; member in class:ComputeTest
/xsrc/external/mit/MesaLib/dist/src/gallium/winsys/d3d12/wgl/
H A Dd3d12_wgl_framebuffer.cpp111 if (FAILED(screen->factory->CreateSwapChainForHwnd(
124 screen->factory->MakeWindowAssociation(framebuffer->window,
/xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/
H A Dgtest.h200 // To create an instance of this class, use one of the factory functions
776 internal::TestFactoryBase* factory);
779 // ownership of the factory object.
785 internal::TestFactoryBase* factory);
817 internal::TestFactoryBase* const factory_; // The factory that creates
2386 // The `factory` argument is a factory callable (move-constructible) object or
2393 // The framework will infer the fixture class from the factory and will call
2440 const char* file, int line, Factory factory) {
2441 using TestT = typename std::remove_pointer<decltype(factory())>
2438 RegisterTest(const char * test_suite_name,const char * test_name,const char * type_param,const char * value_param,const char * file,int line,Factory factory) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/
H A Dgtest.h181 // To create an instance of this class, use one of the factory functions
724 internal::TestFactoryBase* factory);
727 // ownership of the factory object.
734 internal::TestFactoryBase* factory);
765 internal::TestFactoryBase* const factory_; // The factory that creates
/xsrc/external/mit/MesaLib.old/dist/src/gtest/include/gtest/internal/
H A Dgtest-internal.h462 // Defines the abstract factory interface that creates instances
526 // factory: pointer to the factory that creates a test object.
528 // ownership of the factory object.
538 TestFactoryBase* factory);
/xsrc/external/mit/MesaLib.old/dist/src/gtest/src/
H A Dgtest.cc2499 // Constructs a TestInfo object. It assumes ownership of the test factory
2507 internal::TestFactoryBase* factory)
2517 factory_(factory),
2540 // factory: pointer to the factory that creates a test object.
2542 // ownership of the factory object.
2552 TestFactoryBase* factory) {
2555 code_location, fixture_class_id, factory);
2501 TestInfo(const std::string & a_test_case_name,const std::string & a_name,const char * a_type_param,const char * a_value_param,internal::CodeLocation a_code_location,internal::TypeId fixture_class_id,internal::TestFactoryBase * factory) argument
2543 MakeAndRegisterTestInfo(const char * test_case_name,const char * name,const char * type_param,const char * value_param,CodeLocation code_location,TypeId fixture_class_id,SetUpTestCaseFunc set_up_tc,TearDownTestCaseFunc tear_down_tc,TestFactoryBase * factory) argument
/xsrc/external/mit/MesaLib/dist/src/gtest/include/gtest/internal/
H A Dgtest-internal.h438 // Defines the abstract factory interface that creates instances
555 // factory: pointer to the factory that creates a test object.
557 // ownership of the factory object.
562 TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory);
/xsrc/external/mit/MesaLib/dist/src/gtest/src/
H A Dgtest.cc2538 // Constructs a TestInfo object. It assumes ownership of the test factory
2545 internal::TestFactoryBase* factory)
2555 factory_(factory),
2578 // factory: pointer to the factory that creates a test object.
2580 // ownership of the factory object.
2585 TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory) {
2588 code_location, fixture_class_id, factory);
2540 TestInfo(const std::string & a_test_suite_name,const std::string & a_name,const char * a_type_param,const char * a_value_param,internal::CodeLocation a_code_location,internal::TypeId fixture_class_id,internal::TestFactoryBase * factory) argument
2581 MakeAndRegisterTestInfo(const char * test_suite_name,const char * name,const char * type_param,const char * value_param,CodeLocation code_location,TypeId fixture_class_id,SetUpTestSuiteFunc set_up_tc,TearDownTestSuiteFunc tear_down_tc,TestFactoryBase * factory) argument
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.2.0.rst5116 - aco: Replace Operand literal constructors with factory member functions

Completed in 44 milliseconds