Kenneth Graunke <[email protected]> writes: > "discard" instructions generate HALT instructions which jump to a final > HALT near the end of the shader. Previously, fs_generator created this > final jump target when it saw the first FS_OPCODE_FB_WRITE, causing it > to jump right before the FB write epilogue. This is normally good. > > However, INTEL_DEBUG=shader_time also has an epilogue section which > records the final timestamp. The frontend emits IR for this just before > FS_OPCODE_FB_WRITE. Unfortunately, this led to the following ordering:
Wow, that changes timings... Reviewed-by: Eric Anholt <[email protected]>
pgp_6yr0_tnow.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
