#include "main/samplerobj.h"
#include "program/prog_parameter.h"
-#include "../glsl/ralloc.h"
+#include "glsl/ralloc.h"
/** Return number of src args for given instruction */
GLuint brw_wm_nr_args( GLuint opcode )
if (c->last_scratch) {
c->prog_data.total_scratch = brw_get_scratch_size(c->last_scratch);
- brw_get_scratch_bo(intel, &brw->vs.scratch_bo,
+ brw_get_scratch_bo(intel, &brw->wm.scratch_bo,
c->prog_data.total_scratch * brw->wm_max_threads);
}