mesa: add PROGRAM_IMMEDIATE, PROGRAM_BUFFER
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 18 Jan 2016 04:57:48 +0000 (23:57 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 30 Jan 2016 02:05:35 +0000 (21:05 -0500)
commit0fddb677e6e8261fc7a12652224698838ac10b22
tree318c2e4f75a12c82f54ae845b02c4ea3d2c899cc
parent35f8488668fe055ffc8d0f9f897fa73e28e5e00d
mesa: add PROGRAM_IMMEDIATE, PROGRAM_BUFFER

This makes PROGRAM_IMMEDIATE a first-class gl_register_file type, and
adds PROGRAM_BUFFER to the list. These are used purely inside
glsl_to_tgsi conversion.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp