Lines Matching defs:module
74 struct gl_spirv_module *module;
77 module = malloc(sizeof(*module) + length);
78 if (!module) {
83 p_atomic_set(&module->RefCount, 0);
84 module->Length = length;
85 memcpy(&module->Binary[0], binary, length);
92 _mesa_spirv_module_reference(&spirv_data->SpirVModule, module);
361 * "The OpenGL API expects the SPIR-V module to have already been
363 * in the module. An invalid SPIR-V module is allowed to result in
374 * shader module contained in <shader>."
377 * parsing the module. However, flagging them during specialization is okay,
413 /* Note that we didn't make a real compilation of the module (spirv_to_nir),