mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
remove some cruft
This commit is contained in:
parent
fbf0f400b7
commit
a1c2e87c4b
1 changed files with 1 additions and 4 deletions
|
|
@ -47,8 +47,6 @@
|
|||
#include "slang_print.h"
|
||||
|
||||
|
||||
static GLboolean UseHighLevelInstructions = GL_TRUE;
|
||||
|
||||
static slang_ir_node *
|
||||
_slang_gen_operation(slang_assemble_ctx * A, slang_operation *oper);
|
||||
|
||||
|
|
@ -2441,8 +2439,7 @@ _slang_gen_operation(slang_assemble_ctx * A, slang_operation *oper)
|
|||
case slang_oper_identifier:
|
||||
return _slang_gen_variable(A, oper);
|
||||
case slang_oper_if:
|
||||
if (A->program->Target == GL_FRAGMENT_PROGRAM_ARB
|
||||
&& UseHighLevelInstructions) {
|
||||
if (A->program->Target == GL_FRAGMENT_PROGRAM_ARB) {
|
||||
return _slang_gen_hl_if(A, oper);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue