Add codegen files for walls and columns
This commit is contained in:
parent
e5f3c119cd
commit
7be2511269
10 changed files with 279 additions and 180 deletions
26
src/r_compiler/fixedfunction/drawcolumncodegen.h
Normal file
26
src/r_compiler/fixedfunction/drawcolumncodegen.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "drawercodegen.h"
|
||||
|
||||
enum class DrawColumnVariant
|
||||
{
|
||||
Opaque,
|
||||
Fuzz,
|
||||
Add,
|
||||
Translated,
|
||||
TlatedAdd,
|
||||
Shaded,
|
||||
AddClamp,
|
||||
AddClampTranslated,
|
||||
SubClamp,
|
||||
SubClampTranslated,
|
||||
RevSubClamp,
|
||||
RevSubClampTranslated
|
||||
};
|
||||
|
||||
class DrawColumnCodegen : public DrawerCodegen
|
||||
{
|
||||
public:
|
||||
void Generate(DrawColumnVariant variant, SSAValue args);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue