亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? hal.h

?? nVidia開發的圖形語言 Cg
?? H
字號:
/****************************************************************************\
Copyright (c) 2002, NVIDIA Corporation.

NVIDIA Corporation("NVIDIA") supplies this software to you in
consideration of your agreement to the following terms, and your use,
installation, modification or redistribution of this NVIDIA software
constitutes acceptance of these terms.  If you do not agree with these
terms, please do not use, install, modify or redistribute this NVIDIA
software.

In consideration of your agreement to abide by the following terms, and
subject to these terms, NVIDIA grants you a personal, non-exclusive
license, under NVIDIA's copyrights in this original NVIDIA software (the
"NVIDIA Software"), to use, reproduce, modify and redistribute the
NVIDIA Software, with or without modifications, in source and/or binary
forms; provided that if you redistribute the NVIDIA Software, you must
retain the copyright notice of NVIDIA, this notice and the following
text and disclaimers in all such redistributions of the NVIDIA Software.
Neither the name, trademarks, service marks nor logos of NVIDIA
Corporation may be used to endorse or promote products derived from the
NVIDIA Software without specific prior written permission from NVIDIA.
Except as expressly stated in this notice, no other rights or licenses
express or implied, are granted by NVIDIA herein, including but not
limited to any patent rights that may be infringed by your derivative
works or by other works in which the NVIDIA Software may be
incorporated. No hardware is licensed hereunder. 

THE NVIDIA SOFTWARE IS BEING PROVIDED ON AN "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING WITHOUT LIMITATION, WARRANTIES OR CONDITIONS OF TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
ITS USE AND OPERATION EITHER ALONE OR IN COMBINATION WITH OTHER
PRODUCTS.

IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT,
INCIDENTAL, EXEMPLARY, CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, LOST PROFITS; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) OR ARISING IN ANY WAY
OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE
NVIDIA SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT,
TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF
NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\****************************************************************************/
// hal.h
//

#if !defined(__HAL_H)
#define __HAL_H 1

// Typedefs for things defined here in "hal.h":

typedef struct slHAL_Rec slHAL;
typedef struct slProfile_Rec slProfile;

// Profile and connector IDs for non-programs and non-connectors:

#define PID_NONE_ID    0
#define CID_NONE_ID    0
#define CID_INVALID_ID 1 // Marks connector as invalid to prevent multiple errors

// Connector capabilities bits returned by GetConnectorUses:

#define CONNECTOR_IS_USELESS  0x0000
#define CONNECTOR_IS_INPUT    0x0001
#define CONNECTOR_IS_OUTPUT   0x0002

#define REG_NONE            0x0000
#define REG_ALLOC           0x0001
#define REG_RESERVED        0x0002
#define REG_HIDDEN          0x0004
#define REG_WRITE_REQUIRED  0x0008
#define REG_INPUT           0x0010
#define REG_OUTPUT          0x0020

#define CAPS_INLINE_ALL_FUNCTIONS       1
#define CAPS_GLOBAL_DEBUG_VEC4          2
#define CAPS_RESTRICT_RETURNS           3
#define CAPS_DECONSTRUCT_MATRICES       4
#define CAPS_LATE_BINDINGS              5
#define CAPS_INDEXED_ARRAYS             6
#define CAPS_DONT_FLATTEN_IF_STATEMENTS 7

struct slProfile_Rec {
    slProfile *next;
    int (*InitHAL)(slHAL *);
    int name;
    int id;
};

// Hal version of connector register description:

typedef struct ConnectorRegisters_Rec {
    const char *sname;
    int name;    // atom
    int base;
    int regno;
    int size;
    int properties;
} ConnectorRegisters;

typedef struct ConnectorDescriptor_Rec {
    const char *sname;
    int name;   // atom
    int cid;
    int properties;
    int numregs;
    ConnectorRegisters *registers;
} ConnectorDescriptor;

// Hal version of "semantics"  descriptions:

enum SemanticProperties {
    SEM_IN = 1, SEM_OUT = 2, SEM_UNIFORM = 4, SEM_VARYING = 8, SEM_HIDDEN = 16,
    SEM_EXCLUSIVE = 32, SEM_REQUIRED = 64
};

typedef struct SemanticsDescriptor_Rec {
    const char *sname;
    int base;
    int size;
    int regno;
    int numregs;
    int reggroup;
    int properties;
} SemanticsDescriptor;


struct slHAL_Rec {

    // Function members:

    int (*InitHAL)(slHAL *);
    int (*FreeHAL)(slHAL *);
    int (*RegisterNames)(slHAL *);
    int (*GetCapsBit)(int bitNumber);
    int (*GetConnectorID)(int);
    int (*GetConnectorAtom)(int);
    int (*GetConnectorUses)(int, int);
    int (*GetConnectorRegister)(int cid, int ByIndex, int ratom, Binding *fBind);
    int (*GetFloatSuffixBase)(SourceLoc *loc, int suffix);
    int (*GetSizeof)(Type *fType);
    int (*GetAlignment)(Type *fType);
    int (*CheckDeclarators)(SourceLoc *loc, const dtype *fDtype);
    int (*CheckDefinition)(SourceLoc *loc, int name, const Type *fType);
    int (*CheckStatement)(SourceLoc *loc, stmt *fstmt);
    int (*CheckInternalFunction)(Symbol *fSymb, int *group);
    int (*IsNumericBase)(int fBase);
    int (*IsIntegralBase)(int fBase);
    int (*IsTexobjBase)(int fBase);
    int (*IsValidRuntimeBase)(int fBase);
    int (*IsValidScalarCast)(int toBase, int fromBase, int Explicit);
    int (*IsValidOperator)(SourceLoc *loc, int name, int op, int subop);
    int (*GetBinOpBase)(int lop, int lbase, int rbase, int llen, int rlen);
    int (*ConvertConstant)(const scalar_constant *fval, int fbase, int tbase, expr **fexpr);
    int (*BindUniformUnbound)(SourceLoc *loc, Symbol *fSymb, Binding *lBind);
    int (*BindUniformPragma)(SourceLoc *loc, Symbol *fSymb, Binding *lBind,
                        const Binding *fBind);
    int (*BindVaryingSemantic)(SourceLoc *loc, Symbol *fSymb, int semantic,
                        Binding *fBind, int IsOutVal);
    int (*BindVaryingPragma)(SourceLoc *loc, Symbol *fSymb, Binding *lBind,
                        const Binding *fBind, int IsOutVal);
    int (*BindVaryingUnbound)(SourceLoc *loc, Symbol *fSymb, int name, int semantic,
                        Binding *fBind, int IsOutVal);
    int (*PrintCodeHeader)(FILE *out);
    int (*GenerateCode)(SourceLoc *loc, Scope *fScope, Symbol *program);

    // Profile specific data members:

    const char *vendor;
    const char *version;

    int profileName;
    int pid;
    int entryName;

    SemanticsDescriptor *semantics;
    int numSemantics;

    int incid;
    ConnectorRegisters *inputCRegs;
    int numInputCRegs;

    int nextUnboundVinReg;
    int lastUnboundVinReg;

    int outcid;
    ConnectorRegisters *outputCRegs;
    int numOutputCRegs;

    int nextUnboundVoutReg;
    int lastUnboundVoutReg;

    // Program specific data:

    Scope *globalScope;
    Symbol *varyingIn;
    Symbol *varyingOut;
    SymbolList *uniformParam;
    SymbolList *uniformGlobal;
    UniformSemantic *uniforms;

    BindingList *constantBindings;
    BindingList *defaultBindings;

    // Misc data:

    const char *comment;
    void *localData;            // Pointer to profile specific data
};

slProfile *RegisterProfile(int (*InitHAL)(slHAL *), const char *name, int id);
slProfile *EnumerateProfiles(int index);

int InitHAL(const char *profileName, const char *entryName);
ConnectorDescriptor *LookupConnectorHAL(ConnectorDescriptor *connectors, int cid, int num);
void SetSymbolConnectorBindingHAL(Binding *fBind, ConnectorRegisters *fConn);

void AddConstantBinding(Binding *fBind);
void AddDefaultBinding(Binding *fBind);

#endif // !defined(__HAL_H)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av片在线观看| 男男gaygay亚洲| 日本一区二区三区免费乱视频| 日韩美女一区二区三区四区| 91精品国产综合久久久久久久| 欧美年轻男男videosbes| 91精品国产全国免费观看| 91精品久久久久久蜜臀| 日韩女优视频免费观看| 精品毛片乱码1区2区3区| 日韩欧美视频一区| 国产欧美日韩久久| 国产精品久久久久aaaa| 亚洲乱码国产乱码精品精可以看| 亚洲靠逼com| 首页国产丝袜综合| 国产主播一区二区三区| 成人av小说网| 欧美男女性生活在线直播观看| 欧美一区二区三区四区视频| 精品少妇一区二区三区日产乱码 | 日韩电影一区二区三区| 日韩av中文字幕一区二区| 狠狠色丁香婷综合久久| 丰满亚洲少妇av| 欧美日韩在线不卡| 26uuu久久综合| 亚洲欧美日韩精品久久久久| 日韩和欧美一区二区| 国产麻豆精品theporn| 91免费观看视频在线| 在线成人免费观看| 国产三级精品在线| 午夜视频一区二区| 成人性视频免费网站| 欧美日韩一级视频| 国产精品麻豆欧美日韩ww| 亚洲精品日韩综合观看成人91| 午夜久久福利影院| 91丝袜美腿高跟国产极品老师| 欧美日韩不卡在线| 自拍偷拍欧美精品| 国产在线一区二区综合免费视频| 在线免费观看日本欧美| 国产欧美在线观看一区| 免费人成精品欧美精品| av亚洲精华国产精华精| 精品va天堂亚洲国产| 亚洲国产日韩a在线播放性色| 国产成人免费在线视频| 欧美群妇大交群的观看方式| 最新日韩在线视频| 韩国女主播成人在线| 欧美日韩国产综合一区二区三区| 国产精品欧美一区二区三区| 久久精品国产免费| 欧美一区午夜精品| 亚洲成av人片在线观看| 色婷婷综合久久久久中文一区二区| www国产精品av| 美女免费视频一区| 3d成人动漫网站| 亚洲成人av一区| 91成人网在线| 亚洲精品精品亚洲| 91免费小视频| 最好看的中文字幕久久| 99精品久久免费看蜜臀剧情介绍| 中文字幕不卡三区| 国产99久久久国产精品免费看 | 国产麻豆精品一区二区| 精品免费视频一区二区| 久国产精品韩国三级视频| 日韩视频免费观看高清在线视频| 亚洲18女电影在线观看| 777午夜精品免费视频| 亚洲专区一二三| 欧美三级日韩在线| 日韩一区精品视频| 制服丝袜中文字幕亚洲| 日本成人在线网站| 日韩一区二区三区视频在线| 麻豆国产欧美日韩综合精品二区| 91精品欧美福利在线观看| 美女网站一区二区| 久久久久久毛片| 成人美女在线观看| 亚洲综合在线观看视频| 欧美日韩1234| 精品午夜久久福利影院| 国产欧美日韩综合| 色综合激情五月| 一区二区三区中文在线观看| 欧美欧美欧美欧美首页| 国产综合久久久久影院| 欧美激情在线一区二区| 一本大道综合伊人精品热热| 午夜精品久久久久久不卡8050| 欧美精品色一区二区三区| 激情欧美一区二区三区在线观看| 欧美激情一区二区三区蜜桃视频| 欧美一区二区三区日韩视频| 黑人巨大精品欧美一区| 国产精品国产三级国产a| 欧美视频中文字幕| 国产在线一区二区综合免费视频| 国产精品久久久久久久久快鸭| 欧美影片第一页| 国产精品一二三四区| 亚洲精品综合在线| 久久奇米777| 欧美综合欧美视频| 国产98色在线|日韩| 日韩二区三区四区| 国产精品久久久久四虎| 日韩欧美中文字幕精品| 97精品国产露脸对白| 精品一区二区日韩| 亚洲午夜精品17c| 欧美韩国一区二区| 欧美电影免费观看高清完整版 | 日本精品一区二区三区四区的功能| 六月丁香综合在线视频| 亚洲女爱视频在线| 欧美精品一区二区在线播放| 欧美性猛交xxxx乱大交退制版 | 欧美—级在线免费片| 欧美一级一级性生活免费录像| 成人福利视频在线| 国内精品嫩模私拍在线| 午夜欧美在线一二页| 国产精品久久久久永久免费观看 | 91色porny在线视频| 国产毛片精品国产一区二区三区| 五月婷婷综合网| 亚洲一级电影视频| 中文字幕在线观看一区| 久久久久99精品一区| 日韩亚洲欧美在线观看| 欧美日韩免费不卡视频一区二区三区| 成人免费视频免费观看| 国产乱国产乱300精品| 蜜臀av国产精品久久久久| 日日摸夜夜添夜夜添精品视频 | 极品美女销魂一区二区三区| 天天综合色天天综合色h| 亚洲乱码中文字幕综合| 国产精品国产三级国产有无不卡 | 91免费在线视频观看| 97国产一区二区| 91老师国产黑色丝袜在线| 91欧美一区二区| 欧美视频中文一区二区三区在线观看| 色哟哟国产精品免费观看| 色婷婷久久99综合精品jk白丝 | 久久一夜天堂av一区二区三区| 欧美精品日韩一区| 欧美一级久久久久久久大片| 欧美日韩国产一区| 91精品麻豆日日躁夜夜躁| 日韩一区二区精品在线观看| 日韩欧美国产综合一区| 久久婷婷国产综合精品青草 | 91丝袜美腿高跟国产极品老师 | 欧美精彩视频一区二区三区| 亚洲国产精品ⅴa在线观看| 国产精品传媒入口麻豆| 一区二区三区免费观看| 午夜精品一区二区三区免费视频| 日日摸夜夜添夜夜添精品视频 | 99v久久综合狠狠综合久久| 91国偷自产一区二区使用方法| 欧美视频在线播放| 精品国产91乱码一区二区三区| 国产色产综合色产在线视频 | 欧美日韩午夜在线| 欧美一级免费大片| 中文子幕无线码一区tr| 亚洲综合一区二区精品导航| 麻豆视频一区二区| 91一区二区在线| 欧美一区二区网站| 国产亚洲精品aa| 亚洲一区二区三区四区中文字幕| 久久99九九99精品| 色综合久久久久网| 91精品国产美女浴室洗澡无遮挡| 国产欧美视频在线观看| 亚洲成人精品影院| 丰满亚洲少妇av| 91精品国产入口| 亚洲日本中文字幕区| 久久99久久99| 欧美日韩视频在线一区二区 | 亚洲男人的天堂一区二区| 精品综合免费视频观看| 欧美午夜精品免费| 国产欧美一区二区三区鸳鸯浴| 亚欧色一区w666天堂| 99精品视频中文字幕|