mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-27 15:30:30 +01:00
i965g: remove half-finished change to tgsi_parse
This commit is contained in:
parent
57531baa92
commit
f72de22439
2 changed files with 1 additions and 4 deletions
|
|
@ -61,9 +61,6 @@ struct tgsi_shader_info
|
|||
boolean uses_kill; /**< KIL or KILP instruction used? */
|
||||
boolean uses_fogcoord; /**< fragment shader uses fog coord? */
|
||||
boolean uses_frontfacing; /**< fragment shader uses front/back-face flag? */
|
||||
|
||||
uint texture_max;
|
||||
uint texture_mask;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ enum pipe_error brw_validate_state( struct brw_context *brw )
|
|||
const struct brw_fragment_shader *fp = brw->curr.fragment_shader;
|
||||
if (fp) {
|
||||
assert(fp->info.file_max[TGSI_FILE_SAMPLER] < (int)brw->curr.num_samplers);
|
||||
assert(fp->info.texture_max <= brw->curr.num_textures);
|
||||
/*assert(fp->info.texture_max <= brw->curr.num_textures);*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue