-
-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xrRenderPC_GL: Update render targets to R3 generation.
- Loading branch information
Showing
29 changed files
with
2,968 additions
and
759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include "stdafx.h" | ||
#include "./dx10MinMaxSMBlender.h" | ||
|
||
void CBlender_createminmax::Compile(CBlender_Compile& C) | ||
{ | ||
IBlender::Compile (C); | ||
|
||
switch (C.iElement) | ||
{ | ||
case 0: | ||
C.r_Pass ("stub_notransform_2uv", "create_minmax_sm", false, FALSE, FALSE, FALSE); | ||
C.PassSET_ZB (FALSE,FALSE,FALSE ); | ||
|
||
C.r_dx10Texture ("s_smap", r2_RT_smap_depth); | ||
|
||
C.r_dx10Sampler ("smp_nofilter"); | ||
|
||
C.r_End (); | ||
|
||
break; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#ifndef dx10MinMaxSMBlender_included | ||
#define dx10MinMaxSMBlender_included | ||
|
||
|
||
class CBlender_createminmax : public IBlender | ||
{ | ||
public: | ||
virtual LPCSTR getComment() { return "INTERNAL: DX10 minmax sm blender"; } | ||
virtual BOOL canBeDetailed() { return FALSE; } | ||
virtual BOOL canBeLMAPped() { return FALSE; } | ||
|
||
virtual void Compile (CBlender_Compile& C); | ||
}; | ||
|
||
#endif |
Oops, something went wrong.