mesa: Make gl_program::InputsRead 64 bits.
Make gl_program::InputsRead a 64 bits bitfield. Adapt the intel and radeon driver to handle a 64 bits InputsRead value. Signed-off-by: Mathias Froehlich <Mathias.Froehlich@web.de> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -1148,7 +1148,7 @@ fixup_depth_write(struct i915_fragment_program *p)
|
||||
static void
|
||||
check_wpos(struct i915_fragment_program *p)
|
||||
{
|
||||
GLuint inputs = p->FragProg.Base.InputsRead;
|
||||
GLbitfield64 inputs = p->FragProg.Base.InputsRead;
|
||||
GLint i;
|
||||
|
||||
p->wpos_tex = -1;
|
||||
@@ -1337,7 +1337,7 @@ i915ValidateFragmentProgram(struct i915_context *i915)
|
||||
struct i915_fragment_program *p =
|
||||
(struct i915_fragment_program *) ctx->FragmentProgram._Current;
|
||||
|
||||
const GLuint inputsRead = p->FragProg.Base.InputsRead;
|
||||
const GLbitfield64 inputsRead = p->FragProg.Base.InputsRead;
|
||||
GLuint s4 = i915->state.Ctx[I915_CTXREG_LIS4] & ~S4_VFMT_MASK;
|
||||
GLuint s2 = S2_TEXCOORD_NONE;
|
||||
int i, offset = 0;
|
||||
|
Reference in New Issue
Block a user