Basic fragment programs run now.
Handling of constants might change. For now, the st_fragment_program struct contains a pipe_constant_buffer (not a pointer).
This commit is contained in:
@@ -53,6 +53,7 @@ struct st_fragment_program
|
||||
struct tgsi_token tokens[ST_FP_MAX_TOKENS];
|
||||
GLboolean dirty;
|
||||
|
||||
struct pipe_constant_buffer constants;
|
||||
|
||||
#if 0
|
||||
GLfloat (*cbuffer)[4];
|
||||
|
Reference in New Issue
Block a user