• Home
  • Raw
  • Download

Lines Matching refs:pCaps

560                             D3DCAPS9 *pCaps )  in NineAdapter9_GetDeviceCaps()  argument
566 nine_D3DDEVTYPE_to_str(DeviceType), pCaps); in NineAdapter9_GetDeviceCaps()
568 user_assert(pCaps, D3DERR_INVALIDCALL); in NineAdapter9_GetDeviceCaps()
582 pCaps->DeviceType = DeviceType; in NineAdapter9_GetDeviceCaps()
584 pCaps->AdapterOrdinal = 0; in NineAdapter9_GetDeviceCaps()
586 pCaps->Caps = D3DCAPS_READ_SCANLINE; in NineAdapter9_GetDeviceCaps()
588 pCaps->Caps2 = /* D3DCAPS2_CANMANAGERESOURCE | */ in NineAdapter9_GetDeviceCaps()
598 pCaps->Caps3 = D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD | in NineAdapter9_GetDeviceCaps()
603 pCaps->PresentationIntervals = D3DPRESENT_INTERVAL_DEFAULT | in NineAdapter9_GetDeviceCaps()
609 pCaps->CursorCaps = D3DCURSORCAPS_COLOR /* | D3DCURSORCAPS_LOWRES*/; in NineAdapter9_GetDeviceCaps()
611 pCaps->DevCaps = D3DDEVCAPS_CANBLTSYSTONONLOCAL | in NineAdapter9_GetDeviceCaps()
632 pCaps->PrimitiveMiscCaps = D3DPMISCCAPS_MASKZ | in NineAdapter9_GetDeviceCaps()
650 pCaps->PrimitiveMiscCaps |= D3DPMISCCAPS_CLIPTLVERTS; in NineAdapter9_GetDeviceCaps()
652 pCaps->RasterCaps = in NineAdapter9_GetDeviceCaps()
670 pCaps->ZCmpCaps = D3DPCMPCAPS_NEVER | in NineAdapter9_GetDeviceCaps()
679 pCaps->SrcBlendCaps = D3DPBLENDCAPS_ZERO | in NineAdapter9_GetDeviceCaps()
697 pCaps->DestBlendCaps = pCaps->SrcBlendCaps; in NineAdapter9_GetDeviceCaps()
699 pCaps->AlphaCmpCaps = D3DPCMPCAPS_NEVER | in NineAdapter9_GetDeviceCaps()
709 pCaps->ShadeCaps = D3DPSHADECAPS_COLORGOURAUDRGB | in NineAdapter9_GetDeviceCaps()
714 pCaps->TextureCaps = in NineAdapter9_GetDeviceCaps()
730 pCaps->TextureFilterCaps = in NineAdapter9_GetDeviceCaps()
744 pCaps->CubeTextureFilterCaps = pCaps->TextureFilterCaps; in NineAdapter9_GetDeviceCaps()
745 pCaps->VolumeTextureFilterCaps = pCaps->TextureFilterCaps; in NineAdapter9_GetDeviceCaps()
747 pCaps->TextureAddressCaps = in NineAdapter9_GetDeviceCaps()
755 pCaps->VolumeTextureAddressCaps = pCaps->TextureAddressCaps; in NineAdapter9_GetDeviceCaps()
757 pCaps->LineCaps = in NineAdapter9_GetDeviceCaps()
764 pCaps->LineCaps |= D3DLINECAPS_ANTIALIAS; in NineAdapter9_GetDeviceCaps()
767 pCaps->MaxTextureWidth =screen->get_param(screen, in NineAdapter9_GetDeviceCaps()
769 pCaps->MaxTextureHeight = pCaps->MaxTextureWidth; in NineAdapter9_GetDeviceCaps()
770 pCaps->MaxVolumeExtent = in NineAdapter9_GetDeviceCaps()
773 pCaps->MaxTextureRepeat = 32768; in NineAdapter9_GetDeviceCaps()
774 pCaps->MaxTextureAspectRatio = pCaps->MaxTextureWidth; in NineAdapter9_GetDeviceCaps()
776 pCaps->MaxAnisotropy = in NineAdapter9_GetDeviceCaps()
780 pCaps->MaxVertexW = 1e10f; in NineAdapter9_GetDeviceCaps()
781 pCaps->GuardBandLeft = -1e9f; in NineAdapter9_GetDeviceCaps()
782 pCaps->GuardBandTop = -1e9f; in NineAdapter9_GetDeviceCaps()
783 pCaps->GuardBandRight = 1e9f; in NineAdapter9_GetDeviceCaps()
784 pCaps->GuardBandBottom = 1e9f; in NineAdapter9_GetDeviceCaps()
785 pCaps->ExtentsAdjust = 0.0f; in NineAdapter9_GetDeviceCaps()
787 pCaps->StencilCaps = in NineAdapter9_GetDeviceCaps()
798 pCaps->FVFCaps = in NineAdapter9_GetDeviceCaps()
803 pCaps->TextureOpCaps = D3DTEXOPCAPS_DISABLE | in NineAdapter9_GetDeviceCaps()
830 pCaps->MaxTextureBlendStages = 8; /* XXX wine */ in NineAdapter9_GetDeviceCaps()
832 pCaps->MaxSimultaneousTextures = 8; in NineAdapter9_GetDeviceCaps()
834 pCaps->VertexProcessingCaps = D3DVTXPCAPS_TEXGEN | in NineAdapter9_GetDeviceCaps()
843 pCaps->MaxActiveLights = NINE_MAX_LIGHTS_ACTIVE; /* like GL_LIGHTi */ in NineAdapter9_GetDeviceCaps()
844 pCaps->MaxUserClipPlanes = PIPE_MAX_CLIP_PLANES; in NineAdapter9_GetDeviceCaps()
845 pCaps->MaxVertexBlendMatrices = 4; /* 1 vec4 BLENDWEIGHT/INDICES input */ in NineAdapter9_GetDeviceCaps()
846 pCaps->MaxVertexBlendMatrixIndex = 8; /* D3DTS_WORLDMATRIX(0..8) */ in NineAdapter9_GetDeviceCaps()
848 pCaps->MaxPointSize = screen->get_paramf(screen, PIPE_CAPF_MAX_POINT_WIDTH); in NineAdapter9_GetDeviceCaps()
850 pCaps->MaxPrimitiveCount = 0x555555; /* <- wine, really 0xFFFFFFFF; */ in NineAdapter9_GetDeviceCaps()
851 pCaps->MaxVertexIndex = 0xFFFFFF; /* <- wine, really 0xFFFFFFFF */ in NineAdapter9_GetDeviceCaps()
852 pCaps->MaxStreams = in NineAdapter9_GetDeviceCaps()
857 pCaps->MaxStreamStride = screen->get_param(screen, in NineAdapter9_GetDeviceCaps()
860 pCaps->VertexShaderVersion = D3DVS_VERSION(3,0); in NineAdapter9_GetDeviceCaps()
867 pCaps->MaxVertexShaderConst = NINE_MAX_CONST_F; in NineAdapter9_GetDeviceCaps()
869 pCaps->PixelShaderVersion = D3DPS_VERSION(3,0); in NineAdapter9_GetDeviceCaps()
871 pCaps->PixelShader1xMaxValue = 65504.f; in NineAdapter9_GetDeviceCaps()
873 pCaps->DevCaps2 = D3DDEVCAPS2_STREAMOFFSET | in NineAdapter9_GetDeviceCaps()
881 pCaps->MasterAdapterOrdinal = 0; in NineAdapter9_GetDeviceCaps()
882 pCaps->AdapterOrdinalInGroup = 0; in NineAdapter9_GetDeviceCaps()
883 pCaps->NumberOfAdaptersInGroup = 1; in NineAdapter9_GetDeviceCaps()
886 pCaps->MaxNpatchTessellationLevel = 0.0f; in NineAdapter9_GetDeviceCaps()
887 pCaps->Reserved5 = 0; in NineAdapter9_GetDeviceCaps()
890 pCaps->DeclTypes = D3DDTCAPS_UBYTE4 | in NineAdapter9_GetDeviceCaps()
901 pCaps->NumSimultaneousRTs = in NineAdapter9_GetDeviceCaps()
903 if (pCaps->NumSimultaneousRTs > NINE_MAX_SIMULTANEOUS_RENDERTARGETS) in NineAdapter9_GetDeviceCaps()
904 pCaps->NumSimultaneousRTs = NINE_MAX_SIMULTANEOUS_RENDERTARGETS; in NineAdapter9_GetDeviceCaps()
906 pCaps->StretchRectFilterCaps = D3DPTFILTERCAPS_MINFPOINT | in NineAdapter9_GetDeviceCaps()
912 pCaps->VS20Caps.Caps = D3DVS20CAPS_PREDICATION; in NineAdapter9_GetDeviceCaps()
913 pCaps->VS20Caps.DynamicFlowControlDepth = /* XXX is this dynamic ? */ in NineAdapter9_GetDeviceCaps()
916 pCaps->VS20Caps.NumTemps = in NineAdapter9_GetDeviceCaps()
919 pCaps->VS20Caps.StaticFlowControlDepth = /* XXX is this static ? */ in NineAdapter9_GetDeviceCaps()
924 if (pCaps->VS20Caps.DynamicFlowControlDepth > D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
925 || pCaps->VS20Caps.DynamicFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
926 pCaps->VS20Caps.DynamicFlowControlDepth = D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
927 if (pCaps->VS20Caps.StaticFlowControlDepth > D3DVS20_MAX_STATICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
928 || pCaps->VS20Caps.StaticFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
929 pCaps->VS20Caps.StaticFlowControlDepth = D3DVS20_MAX_STATICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
930 if (pCaps->VS20Caps.NumTemps > D3DVS20_MAX_NUMTEMPS) in NineAdapter9_GetDeviceCaps()
931 pCaps->VS20Caps.NumTemps = D3DVS20_MAX_NUMTEMPS; in NineAdapter9_GetDeviceCaps()
932 assert(pCaps->VS20Caps.DynamicFlowControlDepth >= D3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
933 assert(pCaps->VS20Caps.StaticFlowControlDepth >= D3DVS20_MIN_STATICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
934 assert(pCaps->VS20Caps.NumTemps >= D3DVS20_MIN_NUMTEMPS); in NineAdapter9_GetDeviceCaps()
937 pCaps->PS20Caps.Caps = D3DPS20CAPS_ARBITRARYSWIZZLE | in NineAdapter9_GetDeviceCaps()
944 pCaps->PS20Caps.Caps |= D3DPS20CAPS_NOTEXINSTRUCTIONLIMIT; in NineAdapter9_GetDeviceCaps()
949 pCaps->PS20Caps.Caps |= D3DPS20CAPS_NODEPENDENTREADLIMIT; in NineAdapter9_GetDeviceCaps()
950 pCaps->PS20Caps.DynamicFlowControlDepth = /* XXX is this dynamic ? */ in NineAdapter9_GetDeviceCaps()
953 pCaps->PS20Caps.NumTemps = in NineAdapter9_GetDeviceCaps()
956 pCaps->PS20Caps.StaticFlowControlDepth = /* XXX is this static ? */ in NineAdapter9_GetDeviceCaps()
959 pCaps->PS20Caps.NumInstructionSlots = in NineAdapter9_GetDeviceCaps()
963 if (pCaps->PS20Caps.DynamicFlowControlDepth > D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
964 || pCaps->PS20Caps.DynamicFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
965 pCaps->PS20Caps.DynamicFlowControlDepth = D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
966 if (pCaps->PS20Caps.StaticFlowControlDepth > D3DPS20_MAX_STATICFLOWCONTROLDEPTH in NineAdapter9_GetDeviceCaps()
967 || pCaps->PS20Caps.StaticFlowControlDepth < 0) in NineAdapter9_GetDeviceCaps()
968 pCaps->PS20Caps.StaticFlowControlDepth = D3DPS20_MAX_STATICFLOWCONTROLDEPTH; in NineAdapter9_GetDeviceCaps()
969 if (pCaps->PS20Caps.NumTemps > D3DPS20_MAX_NUMTEMPS) in NineAdapter9_GetDeviceCaps()
970 pCaps->PS20Caps.NumTemps = D3DPS20_MAX_NUMTEMPS; in NineAdapter9_GetDeviceCaps()
971 if (pCaps->PS20Caps.NumInstructionSlots > D3DPS20_MAX_NUMINSTRUCTIONSLOTS) in NineAdapter9_GetDeviceCaps()
972 pCaps->PS20Caps.NumInstructionSlots = D3DPS20_MAX_NUMINSTRUCTIONSLOTS; in NineAdapter9_GetDeviceCaps()
973 assert(pCaps->PS20Caps.DynamicFlowControlDepth >= D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
974 assert(pCaps->PS20Caps.StaticFlowControlDepth >= D3DPS20_MIN_STATICFLOWCONTROLDEPTH); in NineAdapter9_GetDeviceCaps()
975 assert(pCaps->PS20Caps.NumTemps >= D3DPS20_MIN_NUMTEMPS); in NineAdapter9_GetDeviceCaps()
976 assert(pCaps->PS20Caps.NumInstructionSlots >= D3DPS20_MIN_NUMINSTRUCTIONSLOTS); in NineAdapter9_GetDeviceCaps()
981 pCaps->VertexTextureFilterCaps = pCaps->TextureFilterCaps & in NineAdapter9_GetDeviceCaps()
985 pCaps->VertexTextureFilterCaps = 0; in NineAdapter9_GetDeviceCaps()
987 pCaps->MaxVertexShader30InstructionSlots = in NineAdapter9_GetDeviceCaps()
990 pCaps->MaxPixelShader30InstructionSlots = in NineAdapter9_GetDeviceCaps()
993 if (pCaps->MaxVertexShader30InstructionSlots > D3DMAX30SHADERINSTRUCTIONS) in NineAdapter9_GetDeviceCaps()
994 pCaps->MaxVertexShader30InstructionSlots = D3DMAX30SHADERINSTRUCTIONS; in NineAdapter9_GetDeviceCaps()
995 if (pCaps->MaxPixelShader30InstructionSlots > D3DMAX30SHADERINSTRUCTIONS) in NineAdapter9_GetDeviceCaps()
996 pCaps->MaxPixelShader30InstructionSlots = D3DMAX30SHADERINSTRUCTIONS; in NineAdapter9_GetDeviceCaps()
997 assert(pCaps->MaxVertexShader30InstructionSlots >= D3DMIN30SHADERINSTRUCTIONS); in NineAdapter9_GetDeviceCaps()
998 assert(pCaps->MaxPixelShader30InstructionSlots >= D3DMIN30SHADERINSTRUCTIONS); in NineAdapter9_GetDeviceCaps()
1001pCaps->MaxVShaderInstructionsExecuted = MAX2(65535, pCaps->MaxVertexShader30InstructionSlots * 32); in NineAdapter9_GetDeviceCaps()
1002pCaps->MaxPShaderInstructionsExecuted = MAX2(65535, pCaps->MaxPixelShader30InstructionSlots * 32); in NineAdapter9_GetDeviceCaps()
1005 nine_dump_D3DCAPS9(DBG_CHANNEL, pCaps); in NineAdapter9_GetDeviceCaps()