[Mesa-dev] [PATCH v2 03/10] st/mesa: add PROGRAM_BUFFER, stop using gl_register_file
Ilia Mirkin
imirkin at alum.mit.edu
Tue Jan 19 06:37:08 PST 2016
On Tue, Jan 19, 2016 at 9:34 AM, Brian Paul <brianp at vmware.com> wrote:
> I don't have any issue with simply adding PROGRAM_BUFFER to the enum type.
> prog_src_register::File is a 4-bit field and we currently have 13 enum
> values so we're safe there (not sure if that even matters).
That's cutting it close... 13 = immed, 14 = buffer, 15 = image, and
we're out of items... if you're OK with that, I'll revert this change
and throw PROGRAM_IMMEDIATE and PROGRAM_BUFFER into the
gl_register_file list.
-ilia
More information about the mesa-dev
mailing list