aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_blorp.h
diff options
context:
space:
mode:
authorTopi Pohjolainen <[email protected]>2016-05-18 22:01:17 +0300
committerTopi Pohjolainen <[email protected]>2016-07-04 20:43:11 +0300
commit175e09574443845e746d8cb3e9738ac776ce78a1 (patch)
tree13cf1ac0482e005fa4fc4663d31b7304ad143b18 /src/mesa/drivers/dri/i965/brw_blorp.h
parent46e1132b80f01f4670dac4e393d36b0e9266b02f (diff)
i965/blorp: Remove support for push constants
Signed-off-by: Topi Pohjolainen <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp.h15
1 files changed, 0 insertions, 15 deletions
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