summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/genX_state_upload.c
diff options
context:
space:
mode:
authorAnuj Phogat <anuj.phogat@gmail.com>2021-03-03 13:58:15 -0800
committerMarge Bot <eric+marge@anholt.net>2021-03-10 22:23:51 +0000
commit96e251bde7b243e0b84292aa911ccf95be832a7a (patch)
tree567f7a44562fe18da1d95cbf9e438cda61b35576 /src/mesa/drivers/dri/i965/genX_state_upload.c
parent65d7f52098f062c372546170b4e355edbc264584 (diff)
intel: Rename "GEN_" prefix used in common code to "INTEL_"
This patch renames all macros with "GEN_" prefix defined in common code. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9413>
Diffstat (limited to 'src/mesa/drivers/dri/i965/genX_state_upload.c')
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
index 611a0270b9b..e1e619da263 100644
--- a/src/mesa/drivers/dri/i965/genX_state_upload.c
+++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
@@ -3306,20 +3306,20 @@ genX(emit_3dstate_multisample2)(struct brw_context *brw,
multi.PixelLocation = CENTER;
multi.NumberofMultisamples = log2_samples;
#if GEN_GEN == 6
- GEN_SAMPLE_POS_4X(multi.Sample);
+ INTEL_SAMPLE_POS_4X(multi.Sample);
#elif GEN_GEN == 7
switch (num_samples) {
case 1:
- GEN_SAMPLE_POS_1X(multi.Sample);
+ INTEL_SAMPLE_POS_1X(multi.Sample);
break;
case 2:
- GEN_SAMPLE_POS_2X(multi.Sample);
+ INTEL_SAMPLE_POS_2X(multi.Sample);
break;
case 4:
- GEN_SAMPLE_POS_4X(multi.Sample);
+ INTEL_SAMPLE_POS_4X(multi.Sample);
break;
case 8:
- GEN_SAMPLE_POS_8X(multi.Sample);
+ INTEL_SAMPLE_POS_8X(multi.Sample);
break;
default:
break;