Lines Matching refs:desc
52 D3D11_SHADER_TYPE_DESC desc; member
219 for (i = 0; i < t->desc.Members; ++i) in d3dcompiler_shader_reflection_type_destroy()
355 …LTYPE d3dcompiler_shader_reflection_GetDesc(ID3D11ShaderReflection *iface, D3D11_SHADER_DESC *desc) in d3dcompiler_shader_reflection_GetDesc() argument
359 FIXME("iface %p, desc %p partial stub!\n", iface, desc); in d3dcompiler_shader_reflection_GetDesc()
361 if (!desc) in d3dcompiler_shader_reflection_GetDesc()
367 desc->Version = This->version; in d3dcompiler_shader_reflection_GetDesc()
368 desc->Creator = This->creator; in d3dcompiler_shader_reflection_GetDesc()
369 desc->Flags = This->flags; in d3dcompiler_shader_reflection_GetDesc()
370 desc->ConstantBuffers = This->constant_buffer_count; in d3dcompiler_shader_reflection_GetDesc()
371 desc->BoundResources = This->bound_resource_count; in d3dcompiler_shader_reflection_GetDesc()
372 desc->InputParameters = This->isgn ? This->isgn->element_count : 0; in d3dcompiler_shader_reflection_GetDesc()
373 desc->OutputParameters = This->osgn ? This->osgn->element_count : 0; in d3dcompiler_shader_reflection_GetDesc()
374 desc->InstructionCount = This->instruction_count; in d3dcompiler_shader_reflection_GetDesc()
375 desc->TempRegisterCount = This->temp_register_count; in d3dcompiler_shader_reflection_GetDesc()
376 desc->TempArrayCount = This->temp_array_count; in d3dcompiler_shader_reflection_GetDesc()
377 desc->DefCount = 0; in d3dcompiler_shader_reflection_GetDesc()
378 desc->DclCount = This->dcl_count; in d3dcompiler_shader_reflection_GetDesc()
379 desc->TextureNormalInstructions = This->texture_normal_instructions; in d3dcompiler_shader_reflection_GetDesc()
380 desc->TextureLoadInstructions = This->texture_load_instructions; in d3dcompiler_shader_reflection_GetDesc()
381 desc->TextureCompInstructions = This->texture_comp_instructions; in d3dcompiler_shader_reflection_GetDesc()
382 desc->TextureBiasInstructions = This->texture_bias_instructions; in d3dcompiler_shader_reflection_GetDesc()
383 desc->TextureGradientInstructions = This->texture_gradient_instructions; in d3dcompiler_shader_reflection_GetDesc()
384 desc->FloatInstructionCount = This->float_instruction_count; in d3dcompiler_shader_reflection_GetDesc()
385 desc->IntInstructionCount = This->int_instruction_count; in d3dcompiler_shader_reflection_GetDesc()
386 desc->UintInstructionCount = This->uint_instruction_count; in d3dcompiler_shader_reflection_GetDesc()
387 desc->StaticFlowControlCount = This->static_flow_control_count; in d3dcompiler_shader_reflection_GetDesc()
388 desc->DynamicFlowControlCount = This->dynamic_flow_control_count; in d3dcompiler_shader_reflection_GetDesc()
389 desc->MacroInstructionCount = 0; in d3dcompiler_shader_reflection_GetDesc()
390 desc->ArrayInstructionCount = This->array_instruction_count; in d3dcompiler_shader_reflection_GetDesc()
391 desc->CutInstructionCount = This->cut_instruction_count; in d3dcompiler_shader_reflection_GetDesc()
392 desc->EmitInstructionCount = This->emit_instruction_count; in d3dcompiler_shader_reflection_GetDesc()
393 desc->GSOutputTopology = This->gs_output_topology; in d3dcompiler_shader_reflection_GetDesc()
394 desc->GSMaxOutputVertexCount = This->gs_max_output_vertex_count; in d3dcompiler_shader_reflection_GetDesc()
395 desc->InputPrimitive = This->input_primitive; in d3dcompiler_shader_reflection_GetDesc()
396 desc->PatchConstantParameters = This->pcsg ? This->pcsg->element_count : 0; in d3dcompiler_shader_reflection_GetDesc()
397 desc->cGSInstanceCount = 0; in d3dcompiler_shader_reflection_GetDesc()
398 desc->cControlPoints = This->c_control_points; in d3dcompiler_shader_reflection_GetDesc()
399 desc->HSOutputPrimitive = This->hs_output_primitive; in d3dcompiler_shader_reflection_GetDesc()
400 desc->HSPartitioning = This->hs_prtitioning; in d3dcompiler_shader_reflection_GetDesc()
401 desc->TessellatorDomain = This->tessellator_domain; in d3dcompiler_shader_reflection_GetDesc()
402 desc->cBarrierInstructions = 0; in d3dcompiler_shader_reflection_GetDesc()
403 desc->cInterlockedInstructions = 0; in d3dcompiler_shader_reflection_GetDesc()
404 desc->cTextureStoreInstructions = 0; in d3dcompiler_shader_reflection_GetDesc()
456 ID3D11ShaderReflection *iface, UINT index, D3D11_SHADER_INPUT_BIND_DESC *desc) in d3dcompiler_shader_reflection_GetResourceBindingDesc() argument
460 TRACE("iface %p, index %u, desc %p\n", iface, index, desc); in d3dcompiler_shader_reflection_GetResourceBindingDesc()
462 if (!desc || index >= This->bound_resource_count) in d3dcompiler_shader_reflection_GetResourceBindingDesc()
468 *desc = This->bound_resources[index]; in d3dcompiler_shader_reflection_GetResourceBindingDesc()
474 ID3D11ShaderReflection *iface, UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) in d3dcompiler_shader_reflection_GetInputParameterDesc() argument
478 TRACE("iface %p, index %u, desc %p\n", iface, index, desc); in d3dcompiler_shader_reflection_GetInputParameterDesc()
480 if (!desc || !This->isgn || index >= This->isgn->element_count) in d3dcompiler_shader_reflection_GetInputParameterDesc()
486 *desc = This->isgn->elements[index]; in d3dcompiler_shader_reflection_GetInputParameterDesc()
492 ID3D11ShaderReflection *iface, UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) in d3dcompiler_shader_reflection_GetOutputParameterDesc() argument
496 TRACE("iface %p, index %u, desc %p\n", iface, index, desc); in d3dcompiler_shader_reflection_GetOutputParameterDesc()
498 if (!desc || !This->osgn || index >= This->osgn->element_count) in d3dcompiler_shader_reflection_GetOutputParameterDesc()
504 *desc = This->osgn->elements[index]; in d3dcompiler_shader_reflection_GetOutputParameterDesc()
510 ID3D11ShaderReflection *iface, UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) in d3dcompiler_shader_reflection_GetPatchConstantParameterDesc() argument
514 TRACE("iface %p, index %u, desc %p\n", iface, index, desc); in d3dcompiler_shader_reflection_GetPatchConstantParameterDesc()
516 if (!desc || !This->pcsg || index >= This->pcsg->element_count) in d3dcompiler_shader_reflection_GetPatchConstantParameterDesc()
522 *desc = This->pcsg->elements[index]; in d3dcompiler_shader_reflection_GetPatchConstantParameterDesc()
563 ID3D11ShaderReflection *iface, const char *name, D3D11_SHADER_INPUT_BIND_DESC *desc) in d3dcompiler_shader_reflection_GetResourceBindingDescByName() argument
568 TRACE("iface %p, name %s, desc %p\n", iface, debugstr_a(name), desc); in d3dcompiler_shader_reflection_GetResourceBindingDescByName()
570 if (!desc || !name) in d3dcompiler_shader_reflection_GetResourceBindingDescByName()
583 *desc = *d; in d3dcompiler_shader_reflection_GetResourceBindingDescByName()
713 ID3D11ShaderReflectionConstantBuffer *iface, D3D11_SHADER_BUFFER_DESC *desc) in d3dcompiler_shader_reflection_constant_buffer_GetDesc() argument
717 TRACE("iface %p, desc %p\n", iface, desc); in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
725 if (!desc) in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
731 desc->Name = This->name; in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
732 desc->Type = This->type; in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
733 desc->Variables = This->variable_count; in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
734 desc->Size = This->size; in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
735 desc->uFlags = This->flags; in d3dcompiler_shader_reflection_constant_buffer_GetDesc()
802 ID3D11ShaderReflectionVariable *iface, D3D11_SHADER_VARIABLE_DESC *desc) in d3dcompiler_shader_reflection_variable_GetDesc() argument
806 TRACE("iface %p, desc %p\n", iface, desc); in d3dcompiler_shader_reflection_variable_GetDesc()
814 if (!desc) in d3dcompiler_shader_reflection_variable_GetDesc()
820 desc->Name = This->name; in d3dcompiler_shader_reflection_variable_GetDesc()
821 desc->StartOffset = This->start_offset; in d3dcompiler_shader_reflection_variable_GetDesc()
822 desc->Size = This->size; in d3dcompiler_shader_reflection_variable_GetDesc()
823 desc->uFlags = This->flags; in d3dcompiler_shader_reflection_variable_GetDesc()
824 desc->DefaultValue = This->default_value; in d3dcompiler_shader_reflection_variable_GetDesc()
874 ID3D11ShaderReflectionType *iface, D3D11_SHADER_TYPE_DESC *desc) in d3dcompiler_shader_reflection_type_GetDesc() argument
878 TRACE("iface %p, desc %p\n", iface, desc); in d3dcompiler_shader_reflection_type_GetDesc()
886 if (!desc) in d3dcompiler_shader_reflection_type_GetDesc()
892 *desc = This->desc; in d3dcompiler_shader_reflection_type_GetDesc()
904 if (index >= This->desc.Members) in d3dcompiler_shader_reflection_type_GetMemberTypeByIndex()
927 for (i = 0; i < This->desc.Members; ++i) in d3dcompiler_shader_reflection_type_GetMemberTypeByName()
956 if (index >= This->desc.Members) in d3dcompiler_shader_reflection_type_GetMemberTypeName()
1217 D3D11_SHADER_TYPE_DESC *desc; in d3dcompiler_parse_type() local
1223 desc = &type->desc; in d3dcompiler_parse_type()
1226 desc->Class = temp & 0xffff; in d3dcompiler_parse_type()
1227 desc->Type = temp >> 16; in d3dcompiler_parse_type()
1228 TRACE("Class %s, Type %s\n", debug_d3dcompiler_shader_variable_class(desc->Class), in d3dcompiler_parse_type()
1229 debug_d3dcompiler_shader_variable_type(desc->Type)); in d3dcompiler_parse_type()
1232 desc->Rows = temp & 0xffff; in d3dcompiler_parse_type()
1233 desc->Columns = temp >> 16; in d3dcompiler_parse_type()
1234 TRACE("Rows %u, Columns %u\n", desc->Rows, desc->Columns); in d3dcompiler_parse_type()
1237 desc->Elements = temp & 0xffff; in d3dcompiler_parse_type()
1238 desc->Members = temp >> 16; in d3dcompiler_parse_type()
1239 TRACE("Elements %u, Members %u\n", desc->Elements, desc->Members); in d3dcompiler_parse_type()
1247 if (desc->Members) in d3dcompiler_parse_type()
1251 members = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*members) * desc->Members); in d3dcompiler_parse_type()
1258 for (i = 0; i < desc->Members; ++i) in d3dcompiler_parse_type()
1278 desc->Name = type->name; in d3dcompiler_parse_type()
1287 for (i = 0; i < desc->Members; ++i) in d3dcompiler_parse_type()
1483 D3D11_SHADER_INPUT_BIND_DESC *desc = &bound_resources[i]; in d3dcompiler_parse_rdef() local
1486 desc->Name = string_data + (offset - string_data_offset); in d3dcompiler_parse_rdef()
1487 TRACE("Input bind Name: %s\n", debugstr_a(desc->Name)); in d3dcompiler_parse_rdef()
1490 read_dword(&ptr, (DWORD*)&desc->Type); in d3dcompiler_parse_rdef()
1492 read_dword(&ptr, &desc->Type); in d3dcompiler_parse_rdef()
1494 TRACE("Input bind Type: %#x\n", desc->Type); in d3dcompiler_parse_rdef()
1497 read_dword(&ptr, (DWORD*)&desc->ReturnType); in d3dcompiler_parse_rdef()
1499 read_dword(&ptr, &desc->ReturnType); in d3dcompiler_parse_rdef()
1501 TRACE("Input bind ReturnType: %#x\n", desc->ReturnType); in d3dcompiler_parse_rdef()
1504 read_dword(&ptr, (DWORD*)&desc->Dimension); in d3dcompiler_parse_rdef()
1506 read_dword(&ptr, &desc->Dimension); in d3dcompiler_parse_rdef()
1508 TRACE("Input bind Dimension: %#x\n", desc->Dimension); in d3dcompiler_parse_rdef()
1510 read_dword(&ptr, &desc->NumSamples); in d3dcompiler_parse_rdef()
1511 TRACE("Input bind NumSamples: %u\n", desc->NumSamples); in d3dcompiler_parse_rdef()
1513 read_dword(&ptr, &desc->BindPoint); in d3dcompiler_parse_rdef()
1514 TRACE("Input bind BindPoint: %u\n", desc->BindPoint); in d3dcompiler_parse_rdef()
1516 read_dword(&ptr, &desc->BindCount); in d3dcompiler_parse_rdef()
1517 TRACE("Input bind BindCount: %u\n", desc->BindCount); in d3dcompiler_parse_rdef()
1519 read_dword(&ptr, &desc->uFlags); in d3dcompiler_parse_rdef()
1520 TRACE("Input bind uFlags: %u\n", desc->uFlags); in d3dcompiler_parse_rdef()