/**
* EXT_texture_swizzle and DEPTH_TEXTURE_MODE swizzles.
*/
- uint16_t swizzles[BRW_MAX_TEX_UNIT];
+ uint16_t swizzles[MAX_SAMPLERS];
uint16_t gl_clamp_mask[3];
uint16_t yuvtex_swap_mask; /**< UV swaped */
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void brw_populate_sampler_prog_key_data(struct gl_context *ctx,
- struct brw_sampler_prog_key_data *key, int i);
+ const struct gl_program *prog,
+ unsigned sampler_count,
+ struct brw_sampler_prog_key_data *key);
+bool brw_debug_recompile_sampler_key(struct brw_context *brw,
+ const struct brw_sampler_prog_key_data *old_key,
+ const struct brw_sampler_prog_key_data *key);
+void brw_add_texrect_params(struct gl_program *prog);
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
#endif