Skip to content

Commit cb58db3

Browse files
committed
xrRenderPC_GL: Update render targets to R3 generation.
1 parent 8cbae00 commit cb58db3

29 files changed

+2968
-759
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#include "stdafx.h"
2+
#include "./dx10MinMaxSMBlender.h"
3+
4+
void CBlender_createminmax::Compile(CBlender_Compile& C)
5+
{
6+
IBlender::Compile (C);
7+
8+
switch (C.iElement)
9+
{
10+
case 0:
11+
C.r_Pass ("stub_notransform_2uv", "create_minmax_sm", false, FALSE, FALSE, FALSE);
12+
C.PassSET_ZB (FALSE,FALSE,FALSE );
13+
14+
C.r_dx10Texture ("s_smap", r2_RT_smap_depth);
15+
16+
C.r_dx10Sampler ("smp_nofilter");
17+
18+
C.r_End ();
19+
20+
break;
21+
}
22+
23+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#ifndef dx10MinMaxSMBlender_included
2+
#define dx10MinMaxSMBlender_included
3+
4+
5+
class CBlender_createminmax : public IBlender
6+
{
7+
public:
8+
virtual LPCSTR getComment() { return "INTERNAL: DX10 minmax sm blender"; }
9+
virtual BOOL canBeDetailed() { return FALSE; }
10+
virtual BOOL canBeLMAPped() { return FALSE; }
11+
12+
virtual void Compile (CBlender_Compile& C);
13+
};
14+
15+
#endif

0 commit comments

Comments
 (0)