#include <wiiu/types.h>
#include <wiiu/gx2r/buffer.h>
#include "enum.h"
#include "sampler.h"
Go to the source code of this file.
|
enum | spi_baryc_cntl { spi_baryc_cntl_centroids_only = 0,
spi_baryc_cntl_centers_only = 1,
spi_baryc_cntl_centroids_and_centers = 2
} |
|
enum | db_z_order { db_z_order_late_z = 0,
db_z_order_early_z_then_late_z = 1,
db_z_order_re_z = 2,
db_z_order_early_z_then_re_z = 3
} |
|
enum | vgt_gs_out_primitive_type { VGT_GS_OUT_PRIMITIVE_TYPE_POINTLIST = 0,
VGT_GS_OUT_PRIMITIVE_TYPE_LINESTRIP = 1,
VGT_GS_OUT_PRIMITIVE_TYPE_TRISTRIP = 2,
VGT_GS_OUT_PRIMITIVE_TYPE_MAX_ENUM = 0xFFFFFFFF
} |
|
enum | vgt_gs_enable_mode { VGT_GS_ENABLE_MODE_OFF = 0,
VGT_GS_ENABLE_MODE_SCENARIO_A = 1,
VGT_GS_ENABLE_MODE_SCENARIO_B = 2,
VGT_GS_ENABLE_MODE_SCENARIO_G = 3
} |
|
enum | vgt_gs_cut_mode { VGT_GS_CUT_MODE_1024 = 0,
VGT_GS_CUT_MODE_512 = 1,
VGT_GS_CUT_MODE_256 = 2,
VGT_GS_CUT_MODE_128 = 3
} |
|
|
uint32_t | GX2CalcGeometryShaderInputRingBufferSize (uint32_t ringItemSize) |
|
uint32_t | GX2CalcGeometryShaderOutputRingBufferSize (uint32_t ringItemSize) |
|
uint32_t | GX2CalcFetchShaderSizeEx (uint32_t attribs, GX2FetchShaderType fetchShaderType, GX2TessellationMode tesellationMode) |
|
void | GX2InitFetchShaderEx (GX2FetchShader *fetchShader, uint8_t *buffer, uint32_t attribCount, GX2AttribStream *attribs, GX2FetchShaderType type, GX2TessellationMode tessMode) |
|
void | GX2SetFetchShader (GX2FetchShader *shader) |
|
void | GX2SetVertexShader (GX2VertexShader *shader) |
|
void | GX2SetPixelShader (GX2PixelShader *shader) |
|
void | GX2SetGeometryShader (GX2GeometryShader *shader) |
|
void | GX2SetVertexSampler (GX2Sampler *sampler, uint32_t id) |
|
void | GX2SetPixelSampler (GX2Sampler *sampler, uint32_t id) |
|
void | GX2SetGeometrySampler (GX2Sampler *sampler, uint32_t id) |
|
void | GX2SetVertexUniformReg (uint32_t offset, uint32_t count, uint32_t *data) |
|
void | GX2SetPixelUniformReg (uint32_t offset, uint32_t count, uint32_t *data) |
|
void | GX2SetVertexUniformBlock (uint32_t location, uint32_t size, const void *data) |
|
void | GX2SetPixelUniformBlock (uint32_t location, uint32_t size, const void *data) |
|
void | GX2SetGeometryUniformBlock (uint32_t location, uint32_t size, const void *data) |
|
void | GX2SetShaderModeEx (GX2ShaderMode mode, uint32_t numVsGpr, uint32_t numVsStackEntries, uint32_t numGsGpr, uint32_t numGsStackEntries, uint32_t numPsGpr, uint32_t numPsStackEntries) |
|
static void | GX2SetShaderMode (GX2ShaderMode mode) |
|
void | GX2SetStreamOutEnable (BOOL enable) |
|
void | GX2SetGeometryShaderInputRingBuffer (void *buffer, uint32_t size) |
|
void | GX2SetGeometryShaderOutputRingBuffer (void *buffer, uint32_t size) |
|
uint32_t | GX2GetPixelShaderGPRs (GX2PixelShader *shader) |
|
uint32_t | GX2GetPixelShaderStackEntries (GX2PixelShader *shader) |
|
uint32_t | GX2GetVertexShaderGPRs (GX2VertexShader *shader) |
|
uint32_t | GX2GetVertexShaderStackEntries (GX2VertexShader *shader) |
|
uint32_t | GX2GetGeometryShaderGPRs (GX2GeometryShader *shader) |
|
uint32_t | GX2GetGeometryShaderStackEntries (GX2GeometryShader *shader) |
|
◆ GX2AttribStream
◆ GX2AttribVar
◆ GX2FetchShader
◆ GX2GeometryShader
◆ GX2LoopVar
◆ GX2PixelShader
◆ GX2SamplerVar
◆ GX2UniformBlock
◆ GX2UniformInitialValue
◆ GX2UniformVar
◆ GX2VertexShader
◆ db_z_order
Enumerator |
---|
db_z_order_late_z | |
db_z_order_early_z_then_late_z | |
db_z_order_re_z | |
db_z_order_early_z_then_re_z | |
◆ spi_baryc_cntl
Enumerator |
---|
spi_baryc_cntl_centroids_only | |
spi_baryc_cntl_centers_only | |
spi_baryc_cntl_centroids_and_centers | |
◆ vgt_gs_cut_mode
Enumerator |
---|
VGT_GS_CUT_MODE_1024 | |
VGT_GS_CUT_MODE_512 | |
VGT_GS_CUT_MODE_256 | |
VGT_GS_CUT_MODE_128 | |
◆ vgt_gs_enable_mode
Enumerator |
---|
VGT_GS_ENABLE_MODE_OFF | |
VGT_GS_ENABLE_MODE_SCENARIO_A | |
VGT_GS_ENABLE_MODE_SCENARIO_B | |
VGT_GS_ENABLE_MODE_SCENARIO_G | |
◆ vgt_gs_out_primitive_type
Enumerator |
---|
VGT_GS_OUT_PRIMITIVE_TYPE_POINTLIST | |
VGT_GS_OUT_PRIMITIVE_TYPE_LINESTRIP | |
VGT_GS_OUT_PRIMITIVE_TYPE_TRISTRIP | |
VGT_GS_OUT_PRIMITIVE_TYPE_MAX_ENUM | |
◆ GX2CalcFetchShaderSizeEx()
◆ GX2CalcGeometryShaderInputRingBufferSize()
◆ GX2CalcGeometryShaderOutputRingBufferSize()
◆ GX2GetGeometryShaderGPRs()
◆ GX2GetGeometryShaderStackEntries()
◆ GX2GetPixelShaderGPRs()
◆ GX2GetPixelShaderStackEntries()
◆ GX2GetVertexShaderGPRs()
◆ GX2GetVertexShaderStackEntries()
◆ GX2InitFetchShaderEx()
◆ GX2SetFetchShader()
◆ GX2SetGeometrySampler()
◆ GX2SetGeometryShader()
◆ GX2SetGeometryShaderInputRingBuffer()
◆ GX2SetGeometryShaderOutputRingBuffer()
◆ GX2SetGeometryUniformBlock()
◆ GX2SetPixelSampler()
◆ GX2SetPixelShader()
◆ GX2SetPixelUniformBlock()
◆ GX2SetPixelUniformReg()
◆ GX2SetShaderMode()
◆ GX2SetShaderModeEx()
◆ GX2SetStreamOutEnable()
void GX2SetStreamOutEnable |
( |
BOOL |
enable | ) |
|
◆ GX2SetVertexSampler()
◆ GX2SetVertexShader()
◆ GX2SetVertexUniformBlock()
◆ GX2SetVertexUniformReg()