• Home
  • Raw
  • Download

Lines Matching refs:pCaps

520                             D3DCAPS9 *pCaps )  in NineAdapter9_GetDeviceCaps()  argument
526 nine_D3DDEVTYPE_to_str(DeviceType), pCaps); in NineAdapter9_GetDeviceCaps()
528 user_assert(pCaps, D3DERR_INVALIDCALL); in NineAdapter9_GetDeviceCaps()
542 pCaps->DeviceType = DeviceType; in NineAdapter9_GetDeviceCaps()
544 pCaps->AdapterOrdinal = 0; in NineAdapter9_GetDeviceCaps()
546 pCaps->Caps = 0; in NineAdapter9_GetDeviceCaps()
548 pCaps->Caps2 = D3DCAPS2_CANMANAGERESOURCE | in NineAdapter9_GetDeviceCaps()
558 pCaps->Caps3 = D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD | in NineAdapter9_GetDeviceCaps()
563 pCaps->PresentationIntervals = D3DPRESENT_INTERVAL_DEFAULT | in NineAdapter9_GetDeviceCaps()
569 pCaps->CursorCaps = D3DCURSORCAPS_COLOR | D3DCURSORCAPS_LOWRES; in NineAdapter9_GetDeviceCaps()
571 pCaps->DevCaps = D3DDEVCAPS_CANBLTSYSTONONLOCAL | in NineAdapter9_GetDeviceCaps()
592 pCaps->PrimitiveMiscCaps = D3DPMISCCAPS_MASKZ | in NineAdapter9_GetDeviceCaps()
610 pCaps->PrimitiveMiscCaps |= D3DPMISCCAPS_CLIPTLVERTS; in NineAdapter9_GetDeviceCaps()
612 pCaps->RasterCaps = in NineAdapter9_GetDeviceCaps()
630 pCaps->ZCmpCaps = D3DPCMPCAPS_NEVER | in NineAdapter9_GetDeviceCaps()
639 pCaps->SrcBlendCaps = D3DPBLENDCAPS_ZERO | in NineAdapter9_GetDeviceCaps()
657 pCaps->DestBlendCaps = pCaps->SrcBlendCaps; in NineAdapter9_GetDeviceCaps()
659 pCaps->AlphaCmpCaps = D3DPCMPCAPS_NEVER | in NineAdapter9_GetDeviceCaps()
669 pCaps->ShadeCaps = D3DPSHADECAPS_COLORGOURAUDRGB | in NineAdapter9_GetDeviceCaps()
674 pCaps->TextureCaps = in NineAdapter9_GetDeviceCaps()
690 pCaps->TextureFilterCaps = in NineAdapter9_GetDeviceCaps()
704 pCaps->CubeTextureFilterCaps = pCaps->TextureFilterCaps; in NineAdapter9_GetDeviceCaps()
705 pCaps->VolumeTextureFilterCaps = pCaps->TextureFilterCaps; in NineAdapter9_GetDeviceCaps()
707 pCaps->TextureAddressCaps = in NineAdapter9_GetDeviceCaps()
715 pCaps->VolumeTextureAddressCaps = pCaps->TextureAddressCaps; in NineAdapter9_GetDeviceCaps()
717 pCaps->LineCaps = in NineAdapter9_GetDeviceCaps()
724 pCaps->LineCaps |= D3DLINECAPS_ANTIALIAS; in NineAdapter9_GetDeviceCaps()
727 pCaps->MaxTextureWidth = in NineAdapter9_GetDeviceCaps()
729 pCaps->MaxTextureHeight = pCaps->MaxTextureWidth; in NineAdapter9_GetDeviceCaps()
730 pCaps->MaxVolumeExtent = in NineAdapter9_GetDeviceCaps()
733 pCaps->MaxTextureRepeat = 32768; in NineAdapter9_GetDeviceCaps()
734 pCaps->MaxTextureAspectRatio = pCaps->MaxTextureWidth; in NineAdapter9_GetDeviceCaps()
736 pCaps->MaxAnisotropy = in NineAdapter9_GetDeviceCaps()
740 pCaps->MaxVertexW = 1e10f; in NineAdapter9_GetDeviceCaps()
741 pCaps->GuardBandLeft = -1e9f; in NineAdapter9_GetDeviceCaps()
742 pCaps->GuardBandTop = -1e9f; in NineAdapter9_GetDeviceCaps()
743 pCaps->GuardBandRight = 1e9f; in NineAdapter9_GetDeviceCaps()
744 pCaps->GuardBandBottom = 1e9f; in NineAdapter9_GetDeviceCaps()
745 pCaps->ExtentsAdjust = 0.0f; in NineAdapter9_GetDeviceCaps()
747 pCaps->StencilCaps = in NineAdapter9_GetDeviceCaps()
758 pCaps->FVFCaps = in NineAdapter9_GetDeviceCaps()
763 pCaps->TextureOpCaps = D3DTEXOPCAPS_DISABLE | in NineAdapter9_GetDeviceCaps()
790 pCaps->MaxTextureBlendStages = 8; /* XXX wine */ in NineAdapter9_GetDeviceCaps()
792 pCaps->MaxSimultaneousTextures = screen->get_shader_param(screen, in NineAdapter9_GetDeviceCaps()
794 if (pCaps->MaxSimultaneousTextures > NINE_MAX_SAMPLERS_PS) in NineAdapter9_GetDeviceCaps()
795 pCaps->MaxSimultaneousTextures = NINE_MAX_SAMPLERS_PS; in NineAdapter9_GetDeviceCaps()
797 pCaps->VertexProcessingCaps = D3DVTXPCAPS_TEXGEN | in NineAdapter9_GetDeviceCaps()
806 pCaps->MaxActiveLights = NINE_MAX_LIGHTS_ACTIVE; /* like GL_LIGHTi */ in NineAdapter9_GetDeviceCaps()
807 pCaps->MaxUserClipPlanes = PIPE_MAX_CLIP_PLANES; in NineAdapter9_GetDeviceCaps()
808 pCaps->MaxVertexBlendMatrices = 4; /* 1 vec4 BLENDWEIGHT/INDICES input */ in NineAdapter9_GetDeviceCaps()
809 pCaps->MaxVertexBlendMatrixIndex = 8; /* D3DTS_WORLDMATRIX(0..8) */ in NineAdapter9_GetDeviceCaps()
811 pCaps->MaxPointSize = screen->get_paramf(screen, PIPE_CAPF_MAX_POINT_WIDTH); in NineAdapter9_GetDeviceCaps()
813 pCaps->MaxPrimitiveCount = 0x555555; /* <- wine, really 0xFFFFFFFF; */ in NineAdapter9_GetDeviceCaps()
814 pCaps->MaxVertexIndex = 0xFFFFFF; /* <- wine, really 0xFFFFFFFF */ in NineAdapter9_GetDeviceCaps()
815 pCaps->MaxStreams = in NineAdapter9_GetDeviceCaps()
820 pCaps->MaxStreamStride = screen->get_param(screen, in NineAdapter9_GetDeviceCaps()
823 pCaps->VertexShaderVersion = D3DVS_VERSION(3,0); in NineAdapter9_GetDeviceCaps()
830 pCaps->MaxVertexShaderConst = NINE_MAX_CONST_F; in NineAdapter9_GetDeviceCaps()
832 pCaps->PixelShaderVersion = D3DPS_VERSION(3,0); in NineAdapter9_GetDeviceCaps()
834 pCaps->PixelShader1xMaxValue = 65504.f; in NineAdapter9_GetDeviceCaps()
836 pCaps->DevCaps2 = D3DDEVCAPS2_STREAMOFFSET | in NineAdapter9_GetDeviceCaps()
844 pCaps->MasterAdapterOrdinal = 0; in NineAdapter9_GetDeviceCaps()
845 pCaps->AdapterOrdinalInGroup = 0; in NineAdapter9_GetDeviceCaps()
846 pCaps->NumberOfAdaptersInGroup = 1; in NineAdapter9_GetDeviceCaps()
849 pCaps->MaxNpatchTessellationLevel = 0.0f; in NineAdapter9_GetDeviceCaps()
850 pCaps->Reserved5 = 0; in NineAdapter9_GetDeviceCaps()
853 pCaps->DeclTypes = D3DDTCAPS_UBYTE4 | in NineAdapter9_GetDeviceCaps()
864 pCaps->NumSimultaneousRTs = in NineAdapter9_GetDeviceCaps()
866 if (pCaps->NumSimultaneousRTs > NINE_MAX_SIMULTANEOUS_RENDERTARGETS) in NineAdapter9_GetDeviceCaps()
867 pCaps->NumSimultaneousRTs = NINE_MAX_SIMULTANEOUS_RENDERTARGETS; in NineAdapter9_GetDeviceCaps()
869 pCaps->StretchRectFilterCaps = D3DPTFILTERCAPS_MINFPOINT | in NineAdapter9_GetDeviceCaps()
875 pCaps->VS20Caps.Caps = D3DVS20CAPS_PREDICATION; in NineAdapter9_GetDeviceCaps()
876 pCaps->VS20Caps.DynamicFlowControlDepth = /* XXX is this dynamic ? */ in NineAdapter9_GetDeviceCaps()
879 pCaps->VS20Caps.NumTemps = in NineAdapter9_GetDeviceCaps()
882 pCaps->VS20Caps.StaticFlowControlDepth = /* XXX is this static ? */ in NineAdapter9_GetDeviceCaps()
887 if (pCaps->VS20Caps.DynamicFlowControlDepth > D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
888 || pCaps->VS20Caps.DynamicFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
889 pCaps->VS20Caps.DynamicFlowControlDepth = D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
890 if (pCaps->VS20Caps.StaticFlowControlDepth > D3DVS20_MAX_STATICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
891 || pCaps->VS20Caps.StaticFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
892 pCaps->VS20Caps.StaticFlowControlDepth = D3DVS20_MAX_STATICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
893 if (pCaps->VS20Caps.NumTemps > D3DVS20_MAX_NUMTEMPS) in NineAdapter9_GetDeviceCaps()
894 pCaps->VS20Caps.NumTemps = D3DVS20_MAX_NUMTEMPS; in NineAdapter9_GetDeviceCaps()
895 assert(pCaps->VS20Caps.DynamicFlowControlDepth >= D3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
896 assert(pCaps->VS20Caps.StaticFlowControlDepth >= D3DVS20_MIN_STATICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
897 assert(pCaps->VS20Caps.NumTemps >= D3DVS20_MIN_NUMTEMPS); in NineAdapter9_GetDeviceCaps()
900 pCaps->PS20Caps.Caps = D3DPS20CAPS_ARBITRARYSWIZZLE | in NineAdapter9_GetDeviceCaps()
907 pCaps->PS20Caps.Caps |= D3DPS20CAPS_NOTEXINSTRUCTIONLIMIT; in NineAdapter9_GetDeviceCaps()
912 pCaps->PS20Caps.Caps |= D3DPS20CAPS_NODEPENDENTREADLIMIT; in NineAdapter9_GetDeviceCaps()
913 pCaps->PS20Caps.DynamicFlowControlDepth = /* XXX is this dynamic ? */ in NineAdapter9_GetDeviceCaps()
916 pCaps->PS20Caps.NumTemps = in NineAdapter9_GetDeviceCaps()
919 pCaps->PS20Caps.StaticFlowControlDepth = /* XXX is this static ? */ in NineAdapter9_GetDeviceCaps()
922 pCaps->PS20Caps.NumInstructionSlots = in NineAdapter9_GetDeviceCaps()
926 if (pCaps->PS20Caps.DynamicFlowControlDepth > D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
927 || pCaps->PS20Caps.DynamicFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
928 pCaps->PS20Caps.DynamicFlowControlDepth = D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
929 if (pCaps->PS20Caps.StaticFlowControlDepth > D3DPS20_MAX_STATICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
930 || pCaps->PS20Caps.StaticFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
931 pCaps->PS20Caps.StaticFlowControlDepth = D3DPS20_MAX_STATICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
932 if (pCaps->PS20Caps.NumTemps > D3DPS20_MAX_NUMTEMPS) in NineAdapter9_GetDeviceCaps()
933 pCaps->PS20Caps.NumTemps = D3DPS20_MAX_NUMTEMPS; in NineAdapter9_GetDeviceCaps()
934 if (pCaps->PS20Caps.NumInstructionSlots > D3DPS20_MAX_NUMINSTRUCTIONSLOTS) in NineAdapter9_GetDeviceCaps()
935 pCaps->PS20Caps.NumInstructionSlots = D3DPS20_MAX_NUMINSTRUCTIONSLOTS; in NineAdapter9_GetDeviceCaps()
936 assert(pCaps->PS20Caps.DynamicFlowControlDepth >= D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
937 assert(pCaps->PS20Caps.StaticFlowControlDepth >= D3DPS20_MIN_STATICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
938 assert(pCaps->PS20Caps.NumTemps >= D3DPS20_MIN_NUMTEMPS); in NineAdapter9_GetDeviceCaps()
939 assert(pCaps->PS20Caps.NumInstructionSlots >= D3DPS20_MIN_NUMINSTRUCTIONSLOTS); in NineAdapter9_GetDeviceCaps()
944 pCaps->VertexTextureFilterCaps = pCaps->TextureFilterCaps & in NineAdapter9_GetDeviceCaps()
948 pCaps->VertexTextureFilterCaps = 0; in NineAdapter9_GetDeviceCaps()
950 pCaps->MaxVertexShader30InstructionSlots = in NineAdapter9_GetDeviceCaps()
953 pCaps->MaxPixelShader30InstructionSlots = in NineAdapter9_GetDeviceCaps()
956 if (pCaps->MaxVertexShader30InstructionSlots > D3DMAX30SHADERINSTRUCTIONS) in NineAdapter9_GetDeviceCaps()
957 pCaps->MaxVertexShader30InstructionSlots = D3DMAX30SHADERINSTRUCTIONS; in NineAdapter9_GetDeviceCaps()
958 if (pCaps->MaxPixelShader30InstructionSlots > D3DMAX30SHADERINSTRUCTIONS) in NineAdapter9_GetDeviceCaps()
959 pCaps->MaxPixelShader30InstructionSlots = D3DMAX30SHADERINSTRUCTIONS; in NineAdapter9_GetDeviceCaps()
960 assert(pCaps->MaxVertexShader30InstructionSlots >= D3DMIN30SHADERINSTRUCTIONS); in NineAdapter9_GetDeviceCaps()
961 assert(pCaps->MaxPixelShader30InstructionSlots >= D3DMIN30SHADERINSTRUCTIONS); in NineAdapter9_GetDeviceCaps()
964pCaps->MaxVShaderInstructionsExecuted = MAX2(65535, pCaps->MaxVertexShader30InstructionSlots * 32); in NineAdapter9_GetDeviceCaps()
965pCaps->MaxPShaderInstructionsExecuted = MAX2(65535, pCaps->MaxPixelShader30InstructionSlots * 32); in NineAdapter9_GetDeviceCaps()
968 nine_dump_D3DCAPS9(DBG_CHANNEL, pCaps); in NineAdapter9_GetDeviceCaps()