Lines Matching refs:templates

549       &pipeline->templates.stream_desc;
564 memcpy(pipeline->templates.inputs, inputs,
567 desc->pInputElementDescs = pipeline->templates.inputs;
609 if (pipeline->templates.shaders[i].bc) {
634 memcpy(inputs, pipeline->templates.inputs,
799 &nir_opts, &pipeline->templates.shaders[stage].nir);
813 assert(pipeline->templates.shaders[stage].nir);
814 dxil_spirv_nir_link(pipeline->templates.shaders[stage].nir,
816 pipeline->templates.shaders[prev_stage].nir : NULL);
822 NIR_PASS_V(pipeline->templates.shaders[stage].nir, adjust_var_bindings, layout,
858 pipeline->templates.shaders[stage].bc = slot;
864 if (pipeline->templates.shaders[MESA_SHADER_VERTEX].nir) {
868 nir_foreach_shader_in_variable(var, pipeline->templates.shaders[MESA_SHADER_VERTEX].nir) {
874 pipeline->templates.inputs[vert_input_count] = attribs[loc];
875 pipeline->templates.inputs[vert_input_count].SemanticIndex = vert_input_count;
881 desc->pInputElementDescs = pipeline->templates.inputs;
889 if (pipeline->templates.shaders[stage].bc)
899 !(pipeline->templates.shaders[prev_stage].nir->info.outputs_written & VARYING_BIT_POS))
906 ret = dzn_pipeline_compile_shader(device, pipeline->templates.shaders[stage].nir, slot);
910 pipeline->templates.shaders[stage].bc = slot;
1088 pipeline->templates.desc_offsets.ib_strip_cut =
1156 pipeline->templates.desc_offsets.rast =
1338 pipeline->templates.desc_offsets.ds =
1562 for (uint32_t i = 0; i < ARRAY_SIZE(pipeline->templates.shaders); i++) {
1563 ralloc_free(pipeline->templates.shaders[i].nir);
1564 pipeline->templates.shaders[i].nir = NULL;
1571 for (uint32_t i = 0; i < ARRAY_SIZE(pipeline->templates.shaders); i++) {
1572 if (pipeline->templates.shaders[i].bc) {
1573 free((void *)pipeline->templates.shaders[i].bc->pShaderBytecode);
1574 pipeline->templates.shaders[i].bc = NULL;
1625 D3D12_PIPELINE_STATE_STREAM_DESC *stream_desc = &pipeline->templates.stream_desc;
1626 stream_desc->pPipelineStateSubobjectStream = pipeline->templates.stream_buf;
1812 .SizeInBytes = pipeline->templates.stream_desc.SizeInBytes,
1816 memcpy(stream_buf, pipeline->templates.stream_buf, stream_desc.SizeInBytes);