From 175e09574443845e746d8cb3e9738ac776ce78a1 Mon Sep 17 00:00:00 2001 From: Topi Pohjolainen Date: Wed, 18 May 2016 22:01:17 +0300 Subject: i965/blorp: Remove support for push constants Signed-off-by: Topi Pohjolainen Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_blorp.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_blorp.h') diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index ccfebc5395e..0d65514db50 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -223,13 +223,6 @@ struct brw_blorp_wm_inputs uint32_t pad[3]; }; -#define BRW_BLORP_NUM_PUSH_CONSTANT_DWORDS \ - (sizeof(struct brw_blorp_wm_inputs) / 4) - -/* Every 32 bytes of push constant data constitutes one GEN register. */ -static const unsigned int BRW_BLORP_NUM_PUSH_CONST_REGS = - sizeof(struct brw_blorp_wm_inputs) / 32; - struct brw_blorp_prog_data { bool dispatch_8; @@ -253,14 +246,6 @@ struct brw_blorp_prog_data uint32_t flat_inputs; unsigned num_varying_inputs; GLbitfield64 inputs_read; - - /* The compiler will re-arrange push constants and store the upload order - * here. Given an index 'i' in the final upload buffer, param[i] gives the - * index in the uniform store. In other words, the value to be uploaded can - * be found by brw_blorp_params::wm_push_consts[param[i]]. - */ - uint8_t nr_params; - uint8_t param[BRW_BLORP_NUM_PUSH_CONSTANT_DWORDS]; }; inline unsigned -- cgit v1.2.3