From 7e484d94ba9c0c3ae7eda851e1d0ad60db8c2d69 Mon Sep 17 00:00:00 2001 From: James Benton Date: Thu, 11 May 2017 19:59:50 +0100 Subject: [PATCH] Remove autogenerated registers from sample shader --- samples/gx2/content/pos_col_shader.psh | 2 -- samples/gx2/content/pos_col_shader.vsh | 10 +--------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/samples/gx2/content/pos_col_shader.psh b/samples/gx2/content/pos_col_shader.psh index d23c6c7..75c6832 100644 --- a/samples/gx2/content/pos_col_shader.psh +++ b/samples/gx2/content/pos_col_shader.psh @@ -1,6 +1,4 @@ ; $MODE = "UniformRegister" -; $SQ_PGM_RESOURCES_PS.NUM_GPRS = 1 -; $SPI_PS_IN_CONTROL_0.NUM_INTERP = 1 ; $NUM_SPI_PS_INPUT_CNTL = 1 ; $SPI_PS_INPUT_CNTL[0].SEMANTIC = 0 ; $SPI_PS_INPUT_CNTL[0].DEFAULT_VAL = 1 diff --git a/samples/gx2/content/pos_col_shader.vsh b/samples/gx2/content/pos_col_shader.vsh index cfe3610..8ca0dea 100644 --- a/samples/gx2/content/pos_col_shader.vsh +++ b/samples/gx2/content/pos_col_shader.vsh @@ -5,16 +5,8 @@ ; $ATTRIB_VARS[1].name = "aPosition" ; $ATTRIB_VARS[1].type = "Float4" ; $ATTRIB_VARS[1].location = 1 -; $SQ_PGM_RESOURCES_VS.NUM_GPRS = 3 -; $SQ_PGM_RESOURCES_VS.STACK_SIZE = 1 -; $NUM_SPI_VS_OUT_ID = 1 +; $NUM_SPI_VS_OUT_ID = 1 ; $SPI_VS_OUT_ID[0].SEMANTIC_0 = 0 -; $SQ_VTX_SEMANTIC_CLEAR.CLEAR = 0xFFFFFFFC -; $NUM_SQ_VTX_SEMANTIC = 2 -; $SQ_VTX_SEMANTIC[0].SEMANTIC_ID = 0 -; $SQ_VTX_SEMANTIC[1].SEMANTIC_ID = 1 -; $VGT_VERTEX_REUSE_BLOCK_CNTL.VTX_REUSE_DEPTH = 14 -; $VGT_HOS_REUSE_DEPTH.REUSE_DEPTH = 16 00 CALL_FS NO_BARRIER 01 EXP_DONE: POS0, R2.xyzw