mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
mesa: Bump instruction execution limit to 65536
Shader Model 3.0[1] requires that shaders be able to execute at least 65536 instructions. Bump Mesa maxExec to that limit. This allows several vertex shaders in the OpenGL ES 2.0 conformance test suite to run to completion. 1: http://en.wikipedia.org/wiki/High_Level_Shader_Language Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
54c48a95e6
commit
7125f1e87d
1 changed files with 1 additions and 1 deletions
|
|
@ -639,7 +639,7 @@ _mesa_execute_program(struct gl_context * ctx,
|
|||
struct gl_program_machine *machine)
|
||||
{
|
||||
const GLuint numInst = program->NumInstructions;
|
||||
const GLuint maxExec = 10000;
|
||||
const GLuint maxExec = 65536;
|
||||
GLuint pc, numExec = 0;
|
||||
|
||||
machine->CurProgram = program;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue