mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 20:20:24 +01:00
fix broken KIL
This commit is contained in:
parent
d5e9cca0b2
commit
66b928e95e
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 6.3
|
||||
* Version: 6.4
|
||||
*
|
||||
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
|
||||
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
|
|
@ -1461,11 +1461,13 @@ _swrast_exec_fragment_program( GLcontext *ctx, struct sw_span *span )
|
|||
&ctx->FragmentProgram.Machine,
|
||||
span, i)) {
|
||||
span->array->mask[i] = GL_FALSE; /* killed fragment */
|
||||
span->writeAll = GL_FALSE;
|
||||
}
|
||||
#else
|
||||
if (!execute_program(ctx, program, ~0,
|
||||
&ctx->FragmentProgram.Machine, span, i)) {
|
||||
span->array->mask[i] = GL_FALSE; /* killed fragment */
|
||||
span->writeAll = GL_FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue