mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
Missing setups that cause all kinds of problems with hw tnl.
This commit is contained in:
parent
6258b76c49
commit
4a55d4ffa7
2 changed files with 6 additions and 0 deletions
|
|
@ -1216,6 +1216,7 @@ I am fairly certain that they are correct unless stated otherwise in comments.
|
|||
#define R300_VPI_OUT_OP_EX2 (75 << 0)
|
||||
#define R300_VPI_OUT_OP_LG2 (76 << 0)
|
||||
#define R300_VPI_OUT_OP_MAD_2 (128 << 0)
|
||||
#define R300_VPI_OUT_OP_UNK129 (129 << 0) /* all temps, vector(scalar, vector, vector) */
|
||||
|
||||
#define R300_VPI_OUT_REG_CLASS_TEMPORARY (0 << 8)
|
||||
#define R300_VPI_OUT_REG_CLASS_RESULT (2 << 8)
|
||||
|
|
|
|||
|
|
@ -757,6 +757,11 @@ static GLboolean r300_run_tcl_render(GLcontext *ctx,
|
|||
if(ctx->VertexProgram._Enabled == GL_FALSE){
|
||||
_tnl_UpdateFixedFunctionProgram(ctx);
|
||||
r300ProgramStringNotify(ctx, GL_VERTEX_PROGRAM_ARB, &ctx->_TnlProgram);
|
||||
r300_setup_textures(ctx);
|
||||
r300_setup_rs_unit(ctx);
|
||||
|
||||
r300SetupVertexShader(rmesa);
|
||||
r300SetupPixelShader(rmesa);
|
||||
}
|
||||
|
||||
return r300_run_vb_render(ctx, stage);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue