|
|
@ -142,26 +142,6 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
enum TMatrixCount { MaxModelMatrix= 16 };
|
|
|
|
enum TMatrixCount { MaxModelMatrix= 16 };
|
|
|
|
|
|
|
|
|
|
|
|
enum TPixelProgramProfile
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// direct3d - 0xD3D0,major,minor
|
|
|
|
|
|
|
|
ps_1_1 = 0xD3D00101,
|
|
|
|
|
|
|
|
ps_1_2 = 0xD3D00102,
|
|
|
|
|
|
|
|
ps_1_3 = 0xD3D00103,
|
|
|
|
|
|
|
|
ps_1_4 = 0xD3D00104,
|
|
|
|
|
|
|
|
ps_2_0 = 0xD3D00200,
|
|
|
|
|
|
|
|
ps_2_x = 0xD3D00201, // not sure...
|
|
|
|
|
|
|
|
ps_3_0 = 0xD3D00300,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// opengl - 0x0610,bitfield
|
|
|
|
|
|
|
|
arbfp1 = 0x06100001, // ARB_fragment_program
|
|
|
|
|
|
|
|
// fp20 = 0x061B0002, // very limited and outdated, unnecessary
|
|
|
|
|
|
|
|
// fp30 = 0x06100004, // NV_fragment_program, now arbfp1, redundant
|
|
|
|
|
|
|
|
fp40 = 0x06100008, // NV_fragment_program2, arbfp1 with "OPTION NV_fragment_program2;\n"
|
|
|
|
|
|
|
|
gp4fp = 0x06100010, // NV_gpu_program4
|
|
|
|
|
|
|
|
gp5fp = 0x06100020, // NV_gpu_program5
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
CSynchronized<TTexDrvInfoPtrMap> _SyncTexDrvInfos;
|
|
|
|
CSynchronized<TTexDrvInfoPtrMap> _SyncTexDrvInfos;
|
|
|
@ -1035,7 +1015,7 @@ public:
|
|
|
|
* Does the driver supports pixel programs ?
|
|
|
|
* Does the driver supports pixel programs ?
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
virtual bool isPixelProgramSupported() const =0;
|
|
|
|
virtual bool isPixelProgramSupported() const =0;
|
|
|
|
virtual bool isPixelProgramSupported(TPixelProgramProfile profile) const =0;
|
|
|
|
virtual bool isPixelProgramSupported(CPixelProgram::TProfile profile) const =0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|