Searched refs:root_param (Results 1 – 2 of 2) sorted by relevance
647 D3D12_ROOT_PARAMETER1 *root_param; in dzn_pipeline_layout_create() local652 root_param = &root_params[layout->root.param_count]; in dzn_pipeline_layout_create()653 root_param->ParameterType = D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE; in dzn_pipeline_layout_create()654 root_param->DescriptorTable.pDescriptorRanges = range_ptr; in dzn_pipeline_layout_create()655 root_param->DescriptorTable.NumDescriptorRanges = 0; in dzn_pipeline_layout_create()656 root_param->ShaderVisibility = (D3D12_SHADER_VISIBILITY)i; in dzn_pipeline_layout_create()669 root_param->DescriptorTable.NumDescriptorRanges += range_count; in dzn_pipeline_layout_create()673 if (root_param->DescriptorTable.NumDescriptorRanges) { in dzn_pipeline_layout_create()684 root_param = &root_params[layout->root.param_count++]; in dzn_pipeline_layout_create()685 root_param->ParameterType = D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS; in dzn_pipeline_layout_create()[all …]
227 D3D12_ROOT_PARAMETER1 root_param; in create_root_signature() local228 root_param.ParameterType = D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE; in create_root_signature()229 root_param.DescriptorTable.NumDescriptorRanges = resources.ranges.size(); in create_root_signature()230 root_param.DescriptorTable.pDescriptorRanges = resources.ranges.data(); in create_root_signature()231 root_param.ShaderVisibility = D3D12_SHADER_VISIBILITY_ALL; in create_root_signature()235 root_sig_desc.pParameters = &root_param; in create_root_signature()