diff options
author | Rob Clark <[email protected]> | 2019-04-19 11:10:49 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-25 14:13:31 -0700 |
commit | 4e3ce224a7e19442cabd82415005c16e2f27cdc5 (patch) | |
tree | ad75bfa482d3336cbb2a7857cb21b2fadf3038b6 /src/freedreno/vulkan/tu_pipeline.c | |
parent | 6d6ec2d4d2c75c7b0b0de759437bff75441fa302 (diff) |
freedreno: update generated headers
Pull in updates for sample shading.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan/tu_pipeline.c')
-rw-r--r-- | src/freedreno/vulkan/tu_pipeline.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c index d5daa12ddea..9964020a81f 100644 --- a/src/freedreno/vulkan/tu_pipeline.c +++ b/src/freedreno/vulkan/tu_pipeline.c @@ -697,14 +697,16 @@ tu6_emit_fs_system_values(struct tu_cs *cs, tu_cs_emit(cs, A6XX_HLSQ_CONTROL_2_REG_FACEREGID(frontfacing_regid) | A6XX_HLSQ_CONTROL_2_REG_SAMPLEID(sampleid_regid) | A6XX_HLSQ_CONTROL_2_REG_SAMPLEMASK(samplemaskin_regid) | - 0xfc000000); + A6XX_HLSQ_CONTROL_2_REG_SIZE(regid(63, 0))); tu_cs_emit(cs, - A6XX_HLSQ_CONTROL_3_REG_FRAGCOORDXYREGID(varyingcoord_regid) | - 0xfcfcfc00); + A6XX_HLSQ_CONTROL_3_REG_BARY_IJ_PIXEL(varyingcoord_regid) | + A6XX_HLSQ_CONTROL_3_REG_BARY_IJ_CENTROID(regid(63, 0)) | + 0xfc00fc00); tu_cs_emit(cs, A6XX_HLSQ_CONTROL_4_REG_XYCOORDREGID(fragcoord_xy_regid) | A6XX_HLSQ_CONTROL_4_REG_ZWCOORDREGID(fragcoord_zw_regid) | - 0x0000fcfc); + A6XX_HLSQ_CONTROL_4_REG_BARY_IJ_PIXEL_PERSAMP(regid(63, 0)) | + 0x0000fc00); tu_cs_emit(cs, 0xfc); } @@ -724,7 +726,7 @@ tu6_emit_fs_inputs(struct tu_cs *cs, const struct ir3_shader_variant *fs) if (fs->total_in > 0) gras_cntl |= A6XX_GRAS_CNTL_VARYING; if (fs->frag_coord) { - gras_cntl |= A6XX_GRAS_CNTL_UNK3 | A6XX_GRAS_CNTL_XCOORD | + gras_cntl |= A6XX_GRAS_CNTL_SIZE | A6XX_GRAS_CNTL_XCOORD | A6XX_GRAS_CNTL_YCOORD | A6XX_GRAS_CNTL_ZCOORD | A6XX_GRAS_CNTL_WCOORD; } @@ -739,7 +741,7 @@ tu6_emit_fs_inputs(struct tu_cs *cs, const struct ir3_shader_variant *fs) } if (fs->frag_coord) { rb_render_control |= - A6XX_RB_RENDER_CONTROL0_UNK3 | A6XX_RB_RENDER_CONTROL0_XCOORD | + A6XX_RB_RENDER_CONTROL0_SIZE | A6XX_RB_RENDER_CONTROL0_XCOORD | A6XX_RB_RENDER_CONTROL0_YCOORD | A6XX_RB_RENDER_CONTROL0_ZCOORD | A6XX_RB_RENDER_CONTROL0_WCOORD; } |