35 uint32_t sq_pgm_resources_fs;
125 uint32_t sq_pgm_resources_vs;
126 uint32_t vgt_primitiveid_en;
127 uint32_t spi_vs_out_config;
128 uint32_t num_spi_vs_out_id;
129 uint32_t spi_vs_out_id[10];
130 uint32_t pa_cl_vs_out_cntl;
131 uint32_t sq_vtx_semantic_clear;
132 uint32_t num_sq_vtx_semantic;
133 uint32_t sq_vtx_semantic[32];
134 uint32_t vgt_strmout_buffer_en;
135 uint32_t vgt_vertex_reuse_block_cntl;
136 uint32_t vgt_hos_reuse_depth;
178 WUT_CHECK_OFFSET(
GX2VertexShader, 0xC8, regs.vgt_vertex_reuse_block_cntl);
205 uint32_t sq_pgm_resources_ps;
206 uint32_t sq_pgm_exports_ps;
207 uint32_t spi_ps_in_control_0;
208 uint32_t spi_ps_in_control_1;
209 uint32_t num_spi_ps_input_cntl;
210 uint32_t spi_ps_input_cntls[32];
211 uint32_t cb_shader_mask;
212 uint32_t cb_shader_control;
213 uint32_t db_shader_control;
214 uint32_t spi_input_z;
242 WUT_CHECK_OFFSET(
GX2PixelShader, 0x10, regs.num_spi_ps_input_cntl);
268 uint32_t sq_pgm_resources_gs;
269 uint32_t vgt_gs_out_prim_type;
270 uint32_t vgt_gs_mode;
271 uint32_t pa_cl_vs_out_cntl;
272 uint32_t sq_pgm_resources_vs;
273 uint32_t sq_gs_vert_itemsize;
274 uint32_t spi_vs_out_config;
275 uint32_t num_spi_vs_out_id;
276 uint32_t spi_vs_out_id[10];
277 uint32_t vgt_strmout_buffer_en;
373 uint32_t attribCount,
429 uint32_t numVsGpr, uint32_t numVsStackEntries,
430 uint32_t numGsGpr, uint32_t numGsStackEntries,
431 uint32_t numPsGpr, uint32_t numPsStackEntries);
void GX2SetVertexShader(GX2VertexShader *shader)
uint32_t GX2CalcGeometryShaderOutputRingBufferSize(uint32_t ringItemSize)
GX2UniformInitialValue * initialValues
uint32_t GX2CalcGeometryShaderInputRingBufferSize(uint32_t ringItemSize)
void GX2SetVertexUniformReg(uint32_t offset, uint32_t count, uint32_t *data)
void GX2InitFetchShaderEx(GX2FetchShader *fetchShader, uint8_t *buffer, uint32_t attribCount, GX2AttribStream *attribs, GX2FetchShaderType type, GX2TessellationMode tessMode)
uint32_t streamOutStride[4]
uint32_t GX2CalcFetchShaderSizeEx(uint32_t attribs, GX2FetchShaderType fetchShaderType, GX2TessellationMode tesellationMode)
GX2UniformBlock * uniformBlocks
void GX2SetGeometrySampler(GX2Sampler *sampler, uint32_t id)
void GX2SetPixelShader(GX2PixelShader *shader)
uint32_t GX2GetVertexShaderStackEntries(GX2VertexShader *shader)
void GX2SetPixelUniformBlock(uint32_t location, uint32_t size, const void *data)
GX2SamplerVar * samplerVars
struct GX2PixelShader::@7 regs
void GX2SetStreamOutEnable(BOOL enable)
void GX2SetGeometryShaderOutputRingBuffer(void *buffer, uint32_t size)
void GX2SetPixelSampler(GX2Sampler *sampler, uint32_t id)
GX2EndianSwapMode endianSwap
void GX2SetFetchShader(GX2FetchShader *shader)
void GX2SetVertexSampler(GX2Sampler *sampler, uint32_t id)
uint32_t initialValueCount
void GX2SetShaderModeEx(GX2ShaderMode mode, uint32_t numVsGpr, uint32_t numVsStackEntries, uint32_t numGsGpr, uint32_t numGsStackEntries, uint32_t numPsGpr, uint32_t numPsStackEntries)
void GX2SetGeometryShader(GX2GeometryShader *shader)
void GX2SetPixelUniformReg(uint32_t offset, uint32_t count, uint32_t *data)
struct GX2VertexShader::@6 regs
GX2AttribVar * attribVars
uint32_t vertexProgramSize
void GX2SetGeometryShaderInputRingBuffer(void *buffer, uint32_t size)
GX2UniformVar * uniformVars
uint32_t GX2GetVertexShaderGPRs(GX2VertexShader *shader)
uint32_t GX2GetPixelShaderGPRs(GX2PixelShader *shader)
struct GX2FetchShader::@5 regs
uint32_t GX2GetGeometryShaderStackEntries(GX2GeometryShader *shader)
uint32_t GX2GetPixelShaderStackEntries(GX2PixelShader *shader)
uint32_t uniformBlockCount
void GX2SetGeometryUniformBlock(uint32_t location, uint32_t size, const void *data)
uint32_t GX2GetGeometryShaderGPRs(GX2GeometryShader *shader)
void GX2SetVertexUniformBlock(uint32_t location, uint32_t size, const void *data)
struct GX2GeometryShader::@8 regs