r600: Silence uninitialized variable warnings.
authorVinson Lee <vlee@vmware.com>
Mon, 15 Feb 2010 04:49:09 +0000 (20:49 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 15 Feb 2010 04:49:09 +0000 (20:49 -0800)
src/mesa/drivers/dri/r600/r700_assembler.c

index f67f882910ba486e5a217f48578a26cf6e13f95c..d0059fad2eac53348b1eebbc23e73c637efa5d56 100644 (file)
@@ -830,6 +830,8 @@ GLboolean assemble_vfetch_instruction(r700_AssemblerBase* pAsm,
        if(GL_TRUE == pFetchMethod->bEnableMini) //More conditions here
        {
                //TODO : mini fetch
+               mega_fetch_count = 0;
+               is_mega_fetch_flag = 0;
        }
        else
        {
@@ -922,6 +924,8 @@ GLboolean assemble_vfetch_instruction2(r700_AssemblerBase* pAsm,
        if(GL_TRUE == pFetchMethod->bEnableMini) //More conditions here
        {
                //TODO : mini fetch
+               mega_fetch_count = 0;
+               is_mega_fetch_flag = 0;
        }
        else
        {