From: Kenneth Graunke Date: Sat, 10 Nov 2018 00:50:19 +0000 (-0800) Subject: iris: drop param stuffs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1f84a1ae7f7e79b35660ac5b2ebb71cd52158b3;p=mesa.git iris: drop param stuffs --- diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index 44040bf923d..252e5b49809 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -246,15 +246,6 @@ struct iris_compiled_shader { uint8_t derived_data[0]; }; -enum iris_param_domain { - IRIS_PARAM_DOMAIN_BUILTIN, - IRIS_PARAM_DOMAIN_UNIFORM, -}; - -#define IRIS_PARAM(domain, val) (IRIS_PARAM_DOMAIN_##domain << 24 | (val)) -#define IRIS_PARAM_DOMAIN(param) ((uint32_t)(param) >> 24) -#define IRIS_PARAM_VALUE(param) ((uint32_t)(param) & 0x00ffffff) - /** * Constant buffer (UBO) information. See iris_set_const_buffer(). */