lib/rendercopy: fix a typo in define
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Fri, 1 Aug 2014 18:19:53 +0000 (21:19 +0300)
committerMika Kuoppala <mika.kuoppala@intel.com>
Fri, 5 Sep 2014 14:58:23 +0000 (17:58 +0300)
No functional changes

Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
lib/gen6_render.h
lib/rendercopy_gen8.c
tools/null_state_gen/intel_renderstate_gen8.c

index 58d511f..dfee6e7 100644 (file)
 
 #define GEN6_3DSTATE_WM                                GEN6_3D(3, 0, 0x14)
 /* DW2 */
-# define GEN6_3DSTATE_WM_SAMPLER_COUNT_SHITF                   27
+# define GEN6_3DSTATE_WM_SAMPLER_COUNT_SHIFT                   27
 # define GEN6_3DSTATE_WM_BINDING_TABLE_ENTRY_COUNT_SHIFT       18
 /* DW4 */
 # define GEN6_3DSTATE_WM_DISPATCH_START_GRF_0_SHIFT            16
index e746ee6..9c66523 100644 (file)
@@ -790,7 +790,7 @@ gen8_emit_ps(struct intel_batchbuffer *batch, uint32_t kernel) {
        OUT_BATCH(GEN7_3DSTATE_PS | (12-2));
        OUT_BATCH(kernel);
        OUT_BATCH(0); /* kernel hi */
-       OUT_BATCH(1 << GEN6_3DSTATE_WM_SAMPLER_COUNT_SHITF |
+       OUT_BATCH(1 << GEN6_3DSTATE_WM_SAMPLER_COUNT_SHIFT |
                  2 << GEN6_3DSTATE_WM_BINDING_TABLE_ENTRY_COUNT_SHIFT);
        OUT_BATCH(0); /* scratch space stuff */
        OUT_BATCH(0); /* scratch hi */
index 437454e..807c2c8 100644 (file)
@@ -598,7 +598,7 @@ gen8_emit_ps(struct intel_batchbuffer *batch, uint32_t kernel) {
        OUT_BATCH(GEN7_3DSTATE_PS | (12-2));
        OUT_BATCH(kernel);
        OUT_BATCH(0); /* kernel hi */
-       OUT_BATCH(1 << GEN6_3DSTATE_WM_SAMPLER_COUNT_SHITF |
+       OUT_BATCH(1 << GEN6_3DSTATE_WM_SAMPLER_COUNT_SHIFT |
                  2 << GEN6_3DSTATE_WM_BINDING_TABLE_ENTRY_COUNT_SHIFT);
        OUT_BATCH(0); /* scratch space stuff */
        OUT_BATCH(0); /* scratch hi */