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

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

?? hal.h

?? 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一区二区三区免费野_久草精品视频
一区二区欧美精品| 国产亚洲污的网站| 91黄色小视频| 色就色 综合激情| 欧美在线小视频| 欧美午夜一区二区三区免费大片| 欧美中文字幕亚洲一区二区va在线 | 欧美性色aⅴ视频一区日韩精品| 91蜜桃免费观看视频| 在线视频亚洲一区| 欧美精品一级二级三级| 日韩欧美电影在线| 久久久www成人免费毛片麻豆| 国产欧美日韩精品在线| 中文字幕成人网| 一区二区三区日韩欧美精品| 亚洲一区二区av在线| 青青草国产精品亚洲专区无| 国模套图日韩精品一区二区| 成人免费毛片app| 欧美视频三区在线播放| 精品久久五月天| 亚洲人成7777| 久久97超碰国产精品超碰| 国产成人日日夜夜| 91色九色蝌蚪| 日韩西西人体444www| 久久久久亚洲综合| 亚洲国产婷婷综合在线精品| 免费欧美在线视频| av成人免费在线| 欧美一区二区三区四区高清| 国产精品色婷婷久久58| 亚洲高清三级视频| 成人综合在线视频| 91精品国产手机| 亚洲日本电影在线| 黄色日韩三级电影| 欧美特级限制片免费在线观看| 欧美一级日韩一级| 成人欧美一区二区三区1314| 日韩精品成人一区二区在线| 99re视频精品| 久久精品视频一区二区三区| 亚洲成人av免费| 99国产一区二区三精品乱码| 欧美xingq一区二区| 亚洲高清视频中文字幕| 成人aaaa免费全部观看| 久久综合色8888| 奇米四色…亚洲| 欧美午夜寂寞影院| 玉足女爽爽91| eeuss鲁片一区二区三区在线观看| 日韩亚洲欧美在线| 日韩高清在线电影| 欧美丝袜丝交足nylons| 亚洲三级在线看| 成人自拍视频在线| 久久亚洲精精品中文字幕早川悠里 | 色天天综合久久久久综合片| 久久色在线视频| 精品一区二区三区香蕉蜜桃| 777欧美精品| 亚洲午夜国产一区99re久久| 91老师国产黑色丝袜在线| 国产色婷婷亚洲99精品小说| 精品一区二区国语对白| 日韩欧美一卡二卡| 精品在线播放午夜| 精品国产一区二区精华| 麻豆91小视频| 久久婷婷综合激情| 国产精品伊人色| www国产亚洲精品久久麻豆| 日本不卡高清视频| 欧美丰满美乳xxx高潮www| 色播五月激情综合网| 国产精品99久久不卡二区| 亚洲综合免费观看高清完整版在线 | 日韩精品福利网| 欧美乱妇23p| 日韩专区在线视频| 欧美一区二区网站| 久久国产福利国产秒拍| 日韩欧美一区二区视频| 国产美女精品人人做人人爽 | 国产精品18久久久久久久网站| 欧美mv日韩mv国产网站| 国产资源精品在线观看| 国产亚洲一二三区| 91色九色蝌蚪| 日本亚洲欧美天堂免费| 久久久久97国产精华液好用吗| 国产激情一区二区三区桃花岛亚洲| 久久精品一区八戒影视| 91蜜桃婷婷狠狠久久综合9色| 亚洲自拍与偷拍| 日韩免费观看2025年上映的电影| 精品亚洲porn| 亚洲色图视频免费播放| 欧美电影一区二区三区| 国产精品12区| 香蕉加勒比综合久久| 欧美tickling网站挠脚心| 成人看片黄a免费看在线| 亚洲电影视频在线| 久久老女人爱爱| 色综合久久九月婷婷色综合| 日韩不卡在线观看日韩不卡视频| 国产三级三级三级精品8ⅰ区| 91女厕偷拍女厕偷拍高清| 午夜影院久久久| 欧美激情一区二区| 欧美日本一道本| 成人黄色a**站在线观看| 亚洲国产aⅴ天堂久久| 国产日韩v精品一区二区| 欧美在线不卡视频| 国产99久久久国产精品潘金网站| 亚洲午夜免费视频| 欧美激情综合五月色丁香小说| 欧美日韩中字一区| 波多野结衣精品在线| 另类专区欧美蜜桃臀第一页| 亚洲色图另类专区| 久久久国产精华| 日韩欧美精品在线| 欧美亚洲综合在线| 色综合视频在线观看| 国产成人av一区| 国产一区三区三区| 一级做a爱片久久| 国产日韩精品久久久| 欧美xfplay| 91精品国产综合久久国产大片| 91视频免费观看| 国产69精品久久777的优势| 免费成人在线视频观看| 亚洲国产综合色| 一区二区三区 在线观看视频| 中文字幕va一区二区三区| 国产人成一区二区三区影院| 精品91自产拍在线观看一区| 7777精品伊人久久久大香线蕉的 | 97精品国产97久久久久久久久久久久 | 精东粉嫩av免费一区二区三区| 亚洲国产欧美日韩另类综合| 亚洲欧美日韩国产手机在线| 国产精品九色蝌蚪自拍| 中日韩免费视频中文字幕| 欧美经典一区二区| 国产精品人妖ts系列视频 | 成人免费毛片a| 成人av午夜影院| 99久久精品情趣| 91偷拍与自偷拍精品| 色综合久久综合中文综合网| 色综合久久久久综合99| 欧美天天综合网| 欧美日韩综合色| 日韩欧美在线不卡| 国产视频一区在线播放| 国产精品不卡在线观看| 中文字幕亚洲成人| 亚洲国产cao| 狠狠色丁香婷婷综合| 国产.欧美.日韩| 色婷婷久久久久swag精品| 欧美日韩美女一区二区| 欧美大胆一级视频| 国产精品美日韩| 亚洲图片欧美综合| 狠狠色2019综合网| 91免费在线视频观看| 91.xcao| 欧美激情自拍偷拍| 亚洲高清视频中文字幕| 国产乱子轮精品视频| 色综合久久天天综合网| 日韩欧美中文字幕公布| 国产亚洲精久久久久久| 国产精品视频九色porn| 午夜电影久久久| 国产美女娇喘av呻吟久久| 91国偷自产一区二区使用方法| 欧美一区二区人人喊爽| 国产精品麻豆视频| 日本视频免费一区| 色综合婷婷久久| 精品国产精品一区二区夜夜嗨| 亚洲色图都市小说| 国产精品中文字幕日韩精品| 欧美午夜寂寞影院| 日本一区二区三区在线不卡| 亚洲va韩国va欧美va精品| 国产a区久久久| 精品国产乱码久久久久久老虎| 一区二区三区四区亚洲| 国产精品一区二区在线观看网站|