Skip to content

Commit

Permalink
xrRenderPC_GL: Update render targets to R3 generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 24, 2015
1 parent 8cbae00 commit cb58db3
Show file tree
Hide file tree
Showing 29 changed files with 2,968 additions and 759 deletions.
23 changes: 23 additions & 0 deletions src/Layers/xrRenderPC_GL/glMinMaxSMBlender.cpp
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;
}

}
15 changes: 15 additions & 0 deletions src/Layers/xrRenderPC_GL/glMinMaxSMBlender.h
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
Loading

0 comments on commit cb58db3

Please sign in to comment.