mesa: Move ARB_vp position invariant option handling to NIR.
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23111>
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
#include "program/prog_parameter.h"
|
||||
#include "program/prog_print.h"
|
||||
#include "program/prog_to_nir.h"
|
||||
#include "program/programopt.h"
|
||||
|
||||
#include "compiler/glsl/gl_nir.h"
|
||||
#include "compiler/glsl/gl_nir_linker.h"
|
||||
@@ -585,10 +584,6 @@ static bool
|
||||
st_translate_vertex_program(struct st_context *st,
|
||||
struct gl_program *prog)
|
||||
{
|
||||
/* ARB_vp: */
|
||||
if (prog->arb.IsPositionInvariant)
|
||||
_mesa_insert_mvp_code(st->ctx, prog);
|
||||
|
||||
/* This determines which states will be updated when the assembly
|
||||
* shader is bound.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user